:root{
  --bg:#050308;
  --velvet1:#2b0611;     /* dark velvet */
  --velvet2:#4a0b1c;     /* velvet red */
  --velvet3:#7a0f2b;     /* highlight red */
  --gold:#f6d36a;
  --gold2:#b8872b;
  --text:#fff7e6;
  --muted:#e8d7b0;
  --line: rgba(246,211,106,.22);
  --line2: rgba(255,255,255,.10);

  --radius: 18px;
  --shadow: 0 22px 70px rgba(0,0,0,.65);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);

  /* velvet stage lighting */
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(246,211,106,.18), transparent 60%),
    radial-gradient(900px 600px at 15% 10%, rgba(122,15,43,.28), transparent 60%),
    radial-gradient(900px 600px at 85% 15%, rgba(122,15,43,.22), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #07040b 35%, #06030a 100%);
}

/* velvet curtain stripes */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  opacity:.55;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.00) 0%,
      rgba(255,255,255,.03) 6%,
      rgba(255,255,255,.00) 12%,
      rgba(0,0,0,.00) 18%,
      rgba(255,255,255,.02) 24%,
      rgba(255,255,255,.00) 30%,
      rgba(255,255,255,.03) 36%,
      rgba(255,255,255,.00) 42%,
      rgba(0,0,0,.00) 48%,
      rgba(255,255,255,.02) 54%,
      rgba(255,255,255,.00) 60%,
      rgba(255,255,255,.03) 66%,
      rgba(255,255,255,.00) 72%,
      rgba(0,0,0,.00) 78%,
      rgba(255,255,255,.02) 84%,
      rgba(255,255,255,.00) 90%,
      rgba(255,255,255,.03) 96%,
      rgba(255,255,255,.00) 100%
    ),
    radial-gradient(1400px 900px at 50% 10%, rgba(74,11,28,.55), transparent 70%);
  mix-blend-mode: overlay;
}

/* subtle film grain */
body::after{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  opacity:.18;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:26px 18px 46px;
}

/* NAV (golden plaque) */
.nav{
  position:sticky;
  top:14px;
  z-index:10;

  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;

  padding:14px 16px;
  border-radius: 999px;

  background:
    linear-gradient(180deg, rgba(43,6,17,.88), rgba(11,6,12,.72));
  border:1px solid rgba(246,211,106,.20);
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.brand{
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--text);
  text-shadow: 0 12px 30px rgba(0,0,0,.7);
}

.brand::before{
  content:"🎭";
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.7));
}

.nav a{
  color:var(--text);
  text-decoration:none;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;

  background: rgba(255,255,255,.04);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
}
.nav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(246,211,106,.18);
  filter: brightness(1.05);
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:22px;
  padding:0 8px;
  border-radius:999px;
  font-size:12px;
  margin-left:6px;
  color: rgba(255,250,235,.95);

  border:1px solid rgba(246,211,106,.30);
  background:
    linear-gradient(180deg, rgba(246,211,106,.18), rgba(184,135,43,.10));
}

/* Headings */
h1{
  margin:18px 0 6px;
  font-size:34px;
  line-height:1.1;
  letter-spacing:.2px;
  text-shadow: 0 16px 55px rgba(0,0,0,.75);
}
.sub{
  margin:0;
  color: rgba(232,215,176,.82);
  max-width: 70ch;
}

/* Buttons */
.btn{
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:10px 14px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--text);
  text-decoration:none;

  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(246,211,106,.16);
}
.btn.primary{
  border-color: rgba(246,211,106,.38);
  background:
    linear-gradient(180deg, rgba(246,211,106,.22), rgba(122,15,43,.16));
}
.btn.primary:hover{
  filter: brightness(1.06);
}

/* Grid & Cards (cinema posters) */
.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
}

.card{
  border-radius: var(--radius);
  overflow:hidden;
  position:relative;

  border:1px solid rgba(246,211,106,.16);
  background:
    linear-gradient(180deg, rgba(43,6,17,.42), rgba(10,6,12,.55));
  box-shadow: var(--shadow);

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* golden frame glow */
.card::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 0 1px rgba(246,211,106,.18),
    inset 0 0 0 2px rgba(0,0,0,.25);
  opacity:.9;
}

.card:hover{
  transform: translateY(-3px);
  border-color: rgba(246,211,106,.28);
  box-shadow: 0 26px 85px rgba(0,0,0,.75);
  filter: saturate(1.02);
}

.poster{
  width:100%;
  aspect-ratio: 2 / 3;
  object-fit:cover;
  background: rgba(255,255,255,.05);

  /* cinematic poster pop */
  filter: contrast(1.06) saturate(1.08);
}

/* “ticket edge” separator */
.card-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  position:relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.10));
}
.card-body::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(246,211,106,.55), transparent);
}

.title{
  margin:0;
  font-size:18px;
  font-weight:900;
  letter-spacing:.25px;
}

.meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* streaming logo */
.meta img{
  height:20px;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.75));
}

.rating{
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(246,211,106,.28);
  background: rgba(246,211,106,.10);
  color: rgba(255,250,235,.98);
}

.seen{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
}
.seen.ok{
  border-color: rgba(246,211,106,.30);
  background: rgba(246,211,106,.08);
  color: var(--gold);
}
.seen.no{
  border-color: rgba(122,15,43,.35);
  background: rgba(122,15,43,.16);
  color: rgba(255,247,230,.92);
}

.desc{
  margin:0;
  color: rgba(232,215,176,.80);
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}
.actions form{ margin:0; display:inline-block; }
.actions .btn{ min-width:78px; }

/* Admin form */
.form{
  margin-top:16px;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(246,211,106,.16);
  background:
    linear-gradient(180deg, rgba(43,6,17,.40), rgba(10,6,12,.58));
  box-shadow: var(--shadow);
  display:grid;
  gap:12px;
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:700px){
  .row{ grid-template-columns:1fr; }
  h1{ font-size:30px; }
  .nav{ border-radius: 22px; }
}

label{
  display:block;
  font-size:13px;
  color: rgba(232,215,176,.85);
  margin-bottom:6px;
}

input, textarea, select{
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, background .15s ease, filter .15s ease;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(246,211,106,.34);
  background: rgba(255,255,255,.07);
  filter: brightness(1.02);
}

textarea{
  min-height:120px;
  resize:vertical;
}

.notice{
  margin-top:12px;
  color: rgba(232,215,176,.82);
}
code{
  padding:2px 6px;
  border-radius:10px;
  border:1px solid rgba(246,211,106,.18);
  background: rgba(255,255,255,.05);
  color: rgba(255,250,235,.95);
}
