:root {
  --bg: #030306;
  --surface: rgba(16, 14, 28, 0.78);
  --border: rgba(168, 85, 247, 0.28);
  --primary: #a855f7;
  --cyan: #22d3ee;
  --lime: #22c55e;
  --text: #f8fafc;
  --muted: #94a3b8;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 300ms;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(168,85,247,.22), transparent 55%),
    radial-gradient(800px 480px at 88% 8%, rgba(34,211,238,.12), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(236,72,153,.08), transparent 45%),
    #030306;
  padding-bottom: 76px;
  overflow-x: hidden;
}
h1,h2,h3,h4 {
  font-family: Syne, Outfit, sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.container { width: min(1320px, calc(100% - 24px)); margin-inline: auto; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(3,3,6,.8);
  backdrop-filter: blur(18px);
}
.nav-row {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: Syne, sans-serif; font-weight: 800;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #a855f7, #22d3ee);
  box-shadow: 0 0 22px rgba(168,85,247,.45);
  font-size: 12px;
}
.nav-desktop { display: none; gap: 4px; }
.nav-desktop a {
  padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600;
}
.nav-desktop a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-mobile {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(3,3,6,.94); backdrop-filter: blur(16px);
}
.nav-mobile a { text-align: center; padding: 14px 6px; font-size: 11px; color: var(--muted); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  box-shadow: 0 0 28px rgba(168,85,247,.45);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: #e2e8f0;
  border: 1px solid rgba(168,85,247,.35);
}
.btn-sm { padding: 8px 12px; font-size: 12px; }

.input, .select, .textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff; border-radius: 12px; padding: 11px 12px;
}
.input:focus, .select:focus {
  outline: none;
  border-color: rgba(168,85,247,.7);
  box-shadow: 0 0 0 3px rgba(168,85,247,.18);
}

.page-enter { animation: page-in .35s var(--ease); }
@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.site-footer { border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 24px 0; flex-wrap: wrap;
}

/* ========== DASHBOARD ========== */
.dash { padding: 22px 0 40px; }

.hero-row {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
}
.eyebrow-line {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 700;
}
.coming-title {
  font-size: clamp(44px, 7vw, 72px);
  font-style: italic;
  text-transform: uppercase;
  line-height: .92;
  background: linear-gradient(100deg, #fff 5%, #ddd6fe 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(168,85,247,.25));
}
.coming-sub {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 320px;
}

.feature-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid rgba(168,85,247,.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 40px rgba(168,85,247,.18),
    0 20px 50px rgba(0,0,0,.45);
  background: #0a0a14;
}
.feature-hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3,3,6,.88) 100%);
  pointer-events: none;
}
.feature-age-abs {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
}
.age-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: rgba(15,15,20,.65);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
}
.feature-bar {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 8, 16, 0.72);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.play-orb {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  box-shadow: 0 0 20px rgba(168,85,247,.55);
  font-size: 13px;
}
.feature-bar-text strong {
  display: block;
  font-size: 16px;
  font-family: Syne, sans-serif;
}
.feature-bar-text span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #94a3b8;
}
.feature-days {
  text-align: right;
  color: var(--accent, #22c55e);
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent, #22c55e) 50%, transparent);
}
.feature-days b {
  display: block;
  font-size: 34px;
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.04em;
}
.feature-days small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #cbd5e1;
}
.feature-days .status { font-size: 18px; }
.empty-hero {
  display: grid; place-items: center; color: var(--muted); padding: 24px;
}

.countdown-panel {
  border-radius: 22px;
  padding: 18px;
  background: rgba(14, 10, 28, 0.85);
  border: 1px solid rgba(168,85,247,.55);
  box-shadow:
    0 0 30px rgba(168,85,247,.25),
    inset 0 0 30px rgba(168,85,247,.06);
}
.countdown-panel h3 {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d8b4fe;
}
.digital-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: Syne, Outfit, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff, #e879f9 70%, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(232,121,249,.35));
}
.digital-timer i {
  color: #c084fc;
  font-style: normal;
  opacity: .8;
  -webkit-text-fill-color: #c084fc;
}
.timer-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.notify-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(168,85,247,.35);
  background: rgba(168,85,247,.08);
  margin-bottom: 12px;
}
.neon-bell {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #f0abfc, #7c3aed);
  box-shadow: 0 0 22px rgba(168,85,247,.55);
  font-size: 18px;
}
.notify-box strong { display: block; font-size: 13px; }
.notify-box p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.notify-btn { width: 100%; }

.dash-bottom {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.side-panel {
  border-radius: 20px;
  padding: 16px;
  background: rgba(12, 10, 22, 0.82);
  border: 1px solid rgba(168,85,247,.25);
  backdrop-filter: blur(12px);
  height: fit-content;
}
.side-title {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c4b5fd;
  font-weight: 700;
  margin-bottom: 10px;
}
.side-list { display: grid; gap: 6px; }
.side-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: .25s var(--ease);
}
.side-item:hover,
.side-item.active {
  color: #fff;
  background: rgba(168,85,247,.16);
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 0 18px rgba(168,85,247,.18);
}
.side-item .left {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.side-item .count {
  font-size: 11px;
  color: #cbd5e1;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 2px 8px;
}
.dot-ico {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent, var(--primary));
  box-shadow: 0 0 10px var(--accent, var(--primary));
}

.cards-area { min-width: 0; overflow: hidden; }
.slant-row,
.grid-cards,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Slanted neon cards like reference */
.release-card {
  --neon: #22d3ee;
  display: block;
  perspective: 900px;
}
.card-shell {
  position: relative;
  transform: perspective(900px) rotateY(-8deg) skewY(-1.5deg);
  transition: transform .35s var(--ease), filter .35s var(--ease);
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--neon) 35%, transparent));
}
.release-card:hover .card-shell {
  transform: perspective(900px) rotateY(-4deg) skewY(-1deg) translateY(-8px) scale(1.02);
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--neon) 55%, transparent));
}
.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--neon) 70%, #fff 10%);
  background: #0a0a12;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5) inset,
    0 0 24px color-mix(in srgb, var(--neon) 30%, transparent);
}
.poster-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .45s var(--ease);
}
.release-card:hover .poster-wrap img { transform: scale(1.07); }
.poster-top {
  position: absolute; inset: 12px 12px auto 12px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
}
.card-index {
  font-size: 13px; font-weight: 800; letter-spacing: .08em;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.85);
}
.watch-btn {
  appearance: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.45);
  color: #fff;
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  cursor: pointer; font-size: 14px; padding: 0;
}
.watch-btn.is-watched,
.watch-btn.watched {
  color: #050508;
  background: var(--neon);
  border-color: transparent;
  box-shadow: 0 0 16px color-mix(in srgb, var(--neon) 60%, transparent);
}
.poster-fade {
  position: absolute; inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(to top, #05050c 12%, rgba(5,5,12,.78) 48%, transparent);
  pointer-events: none;
}
.card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.card-body h3 {
  font-size: 15px; font-weight: 800; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}
.card-meta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.platform { font-size: 11px; color: #cbd5e1; font-weight: 600; }
.age-badge {
  font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; color: #fff;
  background: color-mix(in srgb, var(--age, #ef4444) 85%, #000);
  border: 1px solid color-mix(in srgb, var(--age, #ef4444) 45%, transparent);
}
.card-date { margin: 0; font-size: 11px; color: #94a3b8; font-weight: 600; }
.card-bottom {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--neon) 45%, transparent);
}
.cinema-days {
  color: var(--neon);
  text-shadow: 0 0 18px color-mix(in srgb, var(--neon) 50%, transparent);
}
.cinema-num { font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.cinema-label {
  margin-left: 6px; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.cinema-status { font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.feature-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(10,10,18,.7);
}
.feature-strip div {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: #cbd5e1;
}
.feature-strip span { color: #a855f7; }

.section { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 26px; }
.section-browse { padding-top: 28px; }
.browse-head h1 { font-size: 36px; }
.empty {
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 16px; padding: 40px 18px; text-align: center; color: var(--muted);
}

.detail { display: grid; gap: 24px; padding: 36px 0; }
.detail-poster {
  width: min(380px,100%); margin: 0 auto; aspect-ratio: 2/3;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(168,85,247,.4);
  box-shadow: 0 0 40px rgba(168,85,247,.22);
}
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: clamp(32px,6vw,54px); margin-top: 8px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.blur-bg {
  position: absolute; inset: 0; opacity: .12; filter: blur(50px);
  background-size: cover; background-position: center; pointer-events: none;
}
.meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; border-radius: 8px;
  padding: 4px 8px; font-size: 12px; font-weight: 700; border: 1px solid transparent;
}

.admin-shell { display: grid; min-height: 100vh; }
.admin-sidebar {
  display: none; border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(8,8,14,.96); padding: 20px;
}
.admin-sidebar a {
  display: block; padding: 12px 14px; border-radius: 12px; color: var(--muted); margin-bottom: 4px;
}
.admin-sidebar a.active, .admin-sidebar a:hover {
  background: rgba(168,85,247,.15); color: #c4b5fd;
}
.admin-main { padding: 24px 16px 80px; }
.admin-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 24px 0; }
.admin-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 18px;
}
.admin-card .num { font-size: 28px; font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
th { background: rgba(255,255,255,.03); color: var(--muted); font-weight: 600; }
.thumb { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.form-grid { display: grid; gap: 16px; max-width: 720px; }
.form-2 { display: grid; gap: 16px; }
.check-row { display: flex; gap: 24px; flex-wrap: wrap; }
.upload-zone {
  border: 1px dashed rgba(255,255,255,.15); border-radius: 16px;
  background: rgba(255,255,255,.03); aspect-ratio: 2/3; max-width: 240px;
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.upload-zone img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.today-banner {
  border: 1px solid rgba(34,197,94,.35); background: rgba(34,197,94,.1);
  border-radius: 16px; padding: 20px; margin-bottom: 24px;
}
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: min(420px,100%);
  background: rgba(14,12,24,.92);
  border: 1px solid rgba(168,85,247,.4);
  border-radius: 20px; padding: 32px;
  box-shadow: 0 0 40px rgba(168,85,247,.2);
}
.toast {
  position: fixed; right: 20px; bottom: 90px; z-index: 100;
  background: #12121c; border: 1px solid rgba(168,85,247,.4);
  border-radius: 12px; padding: 14px 18px; min-width: 220px;
}
.calendar-grid {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; overflow: hidden;
}
.cal-head, .cal-day { background: #0a0a12; padding: 8px; min-height: 96px; }
.cal-head {
  background: #12121c; min-height: auto; text-align: center;
  font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 12px 8px;
}
.cal-thumbs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.cal-thumbs img { width: 24px; height: 34px; object-fit: cover; border-radius: 4px; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .hero-row { grid-template-columns: 240px 1fr; }
  .countdown-panel { grid-column: 1 / -1; }
  .dash-bottom { grid-template-columns: 220px 1fr; }
  .slant-row, .grid-cards, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-strip { grid-template-columns: repeat(4,1fr); }
  .form-2 { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 240px 1fr; }
  .admin-sidebar { display: block; }
  .admin-cards { grid-template-columns: repeat(4,1fr); }
  .detail { grid-template-columns: 320px 1fr; align-items: center; }
  .toast { bottom: 24px; }
}
@media (min-width: 1100px) {
  .hero-row { grid-template-columns: 280px minmax(0,1fr) 280px; }
  .countdown-panel { grid-column: auto; }
  .slant-row { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
  .grid-cards, .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .card-shell { transform: perspective(900px) rotateY(-10deg) skewY(-2deg); }
  .release-card:nth-child(even) .card-shell { transform: perspective(900px) rotateY(-6deg) skewY(-1deg); }
  .detail { grid-template-columns: 380px 1fr; }
}
@media (max-width: 767px) {
  .feature-bar { grid-template-columns: auto 1fr; }
  .feature-days { grid-column: 1 / -1; text-align: left; }
  .card-shell { transform: none; }
  .release-card:hover .card-shell { transform: translateY(-6px); }
}
