:root {
  color-scheme: dark;
  --bg: #08101f;
  --surface: rgba(23, 30, 80, 0.90);
  --surface-strong: rgba(12, 16, 40, 0.96);
  --text: #fdfcff;
  --muted: #d9e4ff;
  --accent: #4ff7ff;
  --accent-2: #ff71ff;
  --accent-3: #ffdf76;
  --accent-4: #63ffbc;
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 32px 120px rgba(29, 18, 102, 0.60);
  --radius: 28px;
  font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(78, 247, 255, 0.36), transparent 16%),
    radial-gradient(circle at left center, rgba(255, 113, 255, 0.30), transparent 16%),
    radial-gradient(circle at bottom right, rgba(255, 223, 118, 0.30), transparent 14%),
    linear-gradient(180deg, #08102b 0%, #09101f 40%, #090911 100%);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at top left, rgba(78, 247, 255, 0.22), transparent 14%),
    radial-gradient(circle at bottom right, rgba(255, 223, 118, 0.22), transparent 12%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 16% 18%, rgba(78, 247, 255, 0.08), transparent 18%),
    radial-gradient(circle at 87% 12%, rgba(255, 113, 255, 0.10), transparent 16%),
    radial-gradient(circle at 55% 78%, rgba(255, 223, 118, 0.12), transparent 14%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.page-shell {
  position: relative;
  overflow-x: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(6, 8, 18, 0.95);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.loader-ring {
  width: 76px;
  height: 76px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.app-bar {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin: 0 auto;
  width: min(1200px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 28px;
  background: linear-gradient(135deg, rgba(78, 231, 255, 0.24), rgba(255, 113, 255, 0.16), rgba(208, 92, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 84px rgba(78, 231, 255, 0.14);
  animation: fadeIn 0.6s ease both, headerSlide 0.9s ease both;
}

.app-bar:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(78, 231, 255, 0.30), rgba(255, 113, 255, 0.22), rgba(208, 92, 255, 0.24));
}

.glass-card {
  background: linear-gradient(180deg, rgba(28, 35, 90, 0.92), rgba(10, 14, 30, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 80px rgba(78, 247, 255, 0.18);
  backdrop-filter: blur(30px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(27, 33, 86, 0.98), rgba(12, 17, 38, 0.98));
  transform: translateY(-2px);
}

.brand-group {  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(78, 247, 255, 1), rgba(255, 223, 118, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text);
  min-width: 240px;
  outline: none;
  font-size: 0.95rem;
}

.search-box button {
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 1rem;
  cursor: pointer;
}

.icon-btn,
.control-btn,
.btn {
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(91, 178, 255, 0.12);
}

#adminHeaderBtn {
  min-width: 120px;
  padding: 0 1rem;
  border-radius: 999px;
}

.notification-panel {
  position: absolute;
  right: 28px;
  top: 96px;
  z-index: 30;
  width: min(380px, calc(100% - 48px));
  max-width: 380px;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(9, 12, 25, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.notification-list {
  display: grid;
  gap: 0.85rem;
}

.notification-item {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--accent-3);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
}

@keyframes notifPulse {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(255, 60, 60, 0.12), 0 0 0 0 rgba(255, 60, 60, 0.0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 10px 30px rgba(255, 60, 60, 0.22), 0 0 0 6px rgba(255, 60, 60, 0.06);
    transform: translateY(-2px);
  }
}

#notificationButton.live {
  background: linear-gradient(90deg, rgba(255,80,80,0.95), rgba(255,40,40,0.9));
  color: #fff;
  animation: notifPulse 1s ease-in-out infinite;
  border: 1px solid rgba(255,50,50,0.9);
}

.profile-menu {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.profile-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(78, 231, 255, 0.95), rgba(255, 193, 92, 0.95));
  box-shadow: 0 14px 32px rgba(78, 231, 255, 0.18);
  font-weight: 700;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 180px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  background: rgba(10, 15, 28, 0.96);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

main {
  padding: 28px 0 80px;
}

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: center;
  margin: 0 auto 48px;
  width: min(1200px, calc(100% - 32px));
  border-radius: 32px;
  background: radial-gradient(circle at top left, rgba(78, 247, 255, 0.34), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 223, 118, 0.34), transparent 18%),
    radial-gradient(circle at 82% 24%, rgba(255, 113, 255, 0.28), transparent 16%);
  box-shadow: 0 48px 160px rgba(78, 247, 255, 0.24);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 88% 22%, rgba(255, 113, 255, 0.16), transparent 16%),
    radial-gradient(circle at 50% 76%, rgba(255, 223, 118, 0.14), transparent 18%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 18, 0.03) 0%, rgba(15, 20, 40, 0.55) 24%, rgba(7, 7, 18, 0.92) 100%);
  mix-blend-mode: multiply;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(78, 247, 255, 0.38), rgba(255, 113, 255, 0.34), rgba(255, 223, 118, 0.34));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3rem, 3.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(78, 247, 255, 1), rgba(255, 223, 118, 1), rgba(255, 113, 255, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 28px 80px rgba(78, 247, 255, 0.22), 0 20px 48px rgba(255, 223, 118, 0.18);
}

.hero-copy {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.85;
}

.hero-content {
  position: relative;
  max-width: 640px;
  padding: 64px 64px 64px 64px;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  background: rgba(8, 14, 32, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
  border-radius: 32px;
  animation: contentRise 0.9s ease-out both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.meta-pill {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(78, 247, 255, 0.20), rgba(255, 223, 118, 0.22));
  color: #fff;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 8px 24px rgba(78, 247, 255, 0.08);
}

@keyframes liveFlash {
  0%, 100% {
    background: linear-gradient(90deg, rgba(255,80,80,0.95), rgba(255,40,40,0.9));
    box-shadow: 0 12px 30px rgba(255,40,40,0.12), 0 6px 12px rgba(255,80,80,0.06) inset;
  }
  50% {
    background: linear-gradient(90deg, rgba(255,120,120,1), rgba(255,80,80,0.95));
    box-shadow: 0 12px 40px rgba(255,40,40,0.25), 0 6px 12px rgba(255,80,80,0.15) inset;
  }
}

@keyframes glowPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 28px rgba(78, 247, 255, 0.18);
  }
  50% {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 42px rgba(78, 247, 255, 0.26);
  }
}

.meta-pill.live {
  background: linear-gradient(90deg, rgba(255,80,80,0.95), rgba(255,40,40,0.9));
  color: #fff;
  border: 1px solid rgba(255,50,50,0.9);
  box-shadow: 0 12px 30px rgba(255,40,40,0.12), 0 6px 12px rgba(255,80,80,0.06) inset;
  animation: liveFlash 1.5s ease-in-out infinite;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, min(1fr, 220px)));
  gap: 1rem;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orbs .orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -4%;
  background: rgba(78, 247, 255, 0.34);
}

.hero-orbs .orb-2 {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 20%;
  background: rgba(255, 113, 255, 0.30);
  animation-duration: 14s;
}

.hero-orbs .orb-3 {
  width: 420px;
  height: 420px;
  left: 18%;
  bottom: -12%;
  background: rgba(255, 223, 118, 0.24);
  animation-duration: 16s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.04);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerSlide {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(78, 247, 255, 0.30);
  background: rgba(255, 255, 255, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid rgba(78, 247, 255, 0.9);
  outline-offset: 4px;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(78, 247, 255, 1), rgba(255, 223, 118, 1), rgba(255, 113, 255, 1));
  box-shadow: 0 28px 96px rgba(78, 247, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.34);
  animation: glowPulse 5s ease-in-out infinite;
}

.btn-primary:hover {
  box-shadow: 0 36px 116px rgba(78, 247, 255, 0.70);
  transform: translateY(-3px);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.28));
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.42));
  border-color: rgba(255, 255, 255, 0.50);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.14);
}

.admin-link,
.admin-btn {
  background: rgba(0, 110, 255, 0.22);
  color: #b6e0ff;
  border: 1px solid rgba(0, 110, 255, 0.45);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 110, 255, 0.18);
}

.admin-link:hover,
.admin-btn:hover,
.admin-header-button:hover,
.floating-admin-link:hover {
  background: rgba(0, 110, 255, 0.42);
  color: #fff;
  transform: translateY(-2px);
}

.nav-links a.admin-link {
  color: #95d4ff;
  font-weight: 700;
}

.admin-header-button {
  border: 1px solid rgba(0, 110, 255, 0.45);
  background: rgba(0, 110, 255, 0.22);
  color: #95d4ff;
}

.floating-admin-link {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 100;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: rgba(0, 110, 255, 0.95);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 26px 80px rgba(0, 110, 255, 0.28);
}

.floating-admin-link:hover {
  transform: translateY(-2px);
}

/* Floating CTA shown when creator is live */
.floating-live-cta {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,80,80,0.98), rgba(255,40,40,0.96));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 26px 80px rgba(255, 40, 40, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-live-cta:hover {
  transform: translateY(-3px);
}

.floating-live-cta .live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06) inset;
}

/* Modal styles for live request and admin panel */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3,6,12,0.6);
  z-index: 200;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-dialog {
  width: min(720px, calc(100% - 48px));
  background: rgba(10,15,28,0.98);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.modal-dialog.large { width: min(980px, calc(100% - 48px)); }
.modal-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:0.6rem }
.modal-form .field { margin-bottom:0.8rem }
.modal-form label { display:block; color:var(--muted); margin-bottom:0.25rem }
.modal-form .input, .modal-form .textarea { width:100%; padding:0.6rem; border-radius:8px; border:1px solid rgba(255,255,255,0.04); background:rgba(255,255,255,0.02); color:var(--text) }
.modal-actions { display:flex; justify-content:flex-end; gap:0.6rem; margin-top:0.5rem }

.admin-requests-list { display:grid; gap:0.6rem; max-height:60vh; overflow:auto; padding:0.5rem }
.admin-request { padding:0.8rem; border-radius:12px; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); display:flex; justify-content:space-between; gap:0.8rem; align-items:flex-start }
.admin-request .meta { color:var(--muted); font-size:0.9rem }
.admin-request .actions { display:flex; gap:0.5rem }
.admin-request .actions .btn { padding:0.5rem 0.8rem; min-width:unset }

.admin-panel-section { margin-top: 1.5rem; }
.admin-accounts-list { display:grid; gap:0.75rem; max-height:40vh; overflow:auto; padding:0.5rem; }
.admin-login-history-list { display:grid; gap:0.75rem; max-height:40vh; overflow:auto; padding:0.5rem; }
.admin-login-entry { padding:0.9rem; border-radius:14px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); }
.admin-login-entry .meta { color:var(--muted); font-size:0.92rem; margin-top:0.35rem; }
.hidden { display: none; }

.staff-section .staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.staff-card {
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.staff-card strong {
  display: block;
  margin-bottom: 0.35rem;
}
.staff-card .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn:hover,
.control-btn:hover,
.movie-card:hover .play-btn {
  transform: translateY(-1px);
}

.admin-panel-section {
  margin-top: 1.5rem;
}
.admin-accounts-list {
  display: grid;
  gap: 0.75rem;
  max-height: 40vh;
  overflow: auto;
  padding: 0.5rem;
}
.admin-account {
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.admin-account .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.stream-section {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 44px;
  padding-top: 1rem;
  animation: fadeIn 0.8s ease both;
}

.stream-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 56px);
  height: 1px;
  background: linear-gradient(90deg, rgba(78, 247, 255, 0), rgba(255, 113, 255, 0.24), rgba(255, 223, 118, 0));
  opacity: 0.7;
  pointer-events: none;
}

.section-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 18px;
}

.section-meta h2 {
  margin: 0;
  font-size: 1.55rem;
  background: linear-gradient(135deg, rgba(78, 247, 255, 1), rgba(255, 113, 255, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-meta p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

/* Contact Section */
.contact-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 44px;
  animation: fadeIn 0.6s ease both;
}

.contact-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(9, 12, 25, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.contact-grid h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.contact-email {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.contact-email a {
  color: inherit;
  text-decoration: none;
}

.contact-actions {
  display: flex;
  align-items: center;
}

.contact-actions .btn {
  min-width: 220px;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form .input,
.contact-form .textarea {
  width: 100%;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.collab-requests-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(9, 12, 25, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.collab-requests-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.collab-request {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.collab-request h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.collab-request p {
  margin: 0.3rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-options-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.action-grid .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.2rem;
}

/* Latest Posts */
.posts-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 44px;
  animation: fadeIn 0.6s ease both;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.post-card {
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(13, 18, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.85rem;
  box-shadow: 0 18px 48px rgba(78, 247, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(78, 247, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.post-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.post-title {
  margin: 0;
  font-size: 1.05rem;
}

.post-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-cta {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.view-more {
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.carousel::-webkit-scrollbar {
  height: 10px;
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.movie-card {
  position: relative;
  display: grid;
  gap: 1rem;
  min-height: 480px;
  background: linear-gradient(180deg, rgba(9, 16, 38, 0.98), rgba(15, 18, 46, 0.98));
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.movie-card:focus-visible,
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.movie-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 48, 0.06) 0%, rgba(2, 6, 25, 0.94) 70%);
  mix-blend-mode: multiply;
}

.card-info {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
}

.card-tag {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card-info h3 {
  margin: 0;
  font-size: 1.3rem;
}

.card-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.play-btn {
  position: absolute;
  right: 20px;
  bottom: 110px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, rgba(78, 231, 255, 0.98), rgba(255, 193, 92, 0.96));
  color: white;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  opacity: 0.98;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 36px rgba(78, 231, 255, 0.25);
}

.movie-card:hover .play-btn,
.movie-card:focus-within .play-btn {
  transform: scale(1.08);
}

.continue-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.continue-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.continue-banner {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
}

.continue-banner span {
  color: var(--muted);
}

.continue-banner strong {
  font-size: 1.7rem;
}

.continue-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.continue-copy {
  color: var(--muted);
  max-width: 44rem;
  margin: 0 0 0.9rem;
}

.progress-wrap {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.player-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.player-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.player-preview {
  display: grid;
  gap: 1rem;
}

.video-player {
  width: 100%;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  object-fit: cover;
}

.player-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.player-details h3 {
  margin: 0;
  font-size: 1.25rem;
}

.player-details span {
  color: var(--muted);
}

.player-controls {
  display: grid;
  gap: 1.2rem;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.control-row.split {
  justify-content: space-between;
}

.control-btn {
  padding: 0.95rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.progress-group {
  display: grid;
  gap: 0.8rem;
}

.progress-group input[type="range"],
.volume-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.time-label {
  font-size: 0.95rem;
  color: var(--muted);
}

.volume-group {
  display: grid;
  gap: 0.5rem;
}

.volume-group span {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 2.4rem;
  border-radius: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-grid h4,
.footer-grid h3 {
  margin: 0 0 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-bar span {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  text-decoration: none;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bar {
  margin-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

  .merch-hero {
    min-height: 520px;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 40px;
    padding: 56px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(9, 12, 25, 0.92), rgba(15, 20, 40, 0.94));
    box-shadow: var(--shadow);
  }

  .merch-hero h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(3rem, 4vw, 4.4rem);
  }

  .merch-hero p {
    max-width: 40rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.8rem;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 1.4rem;
    margin-bottom: 2rem;
  }

  .product-card {
    padding: 1.4rem;
    border-radius: 28px;
    background: rgba(10, 15, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .product-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
  }

  .product-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.7;
  }

  .product-card .price-tag {
    display: inline-flex;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(91, 178, 255, 0.1);
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .merch-form {
    display: grid;
    gap: 1rem;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 60px;
    padding: 1.6rem 2rem;
    border-radius: 32px;
    background: rgba(10, 15, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .merch-form h2 {
    margin: 0 0 0.8rem;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .form-field {
    display: grid;
    gap: 0.5rem;
  }

  .form-field label {
    color: var(--muted);
    font-size: 0.95rem;
  }

  .form-field input,
  .form-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    outline: none;
  }

  .form-field textarea {
    min-height: 140px;
    resize: vertical;
  }

  .form-actions {
    display: flex;
    justify-content: flex-end;
  }

  .merch-submit {
    min-width: 180px;
    padding: 1rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-weight: 700;
  }

  @media (max-width: 960px) {
    .products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 700px) {
    .products-grid,
    .form-grid {
      grid-template-columns: 1fr;
    }
  }



@media (max-width: 1120px) {
  .app-bar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 22px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-section {
    min-height: 700px;
  }
}

@media (max-width: 860px) {
  .hero-content {
    max-width: 100%;
    padding: 44px 32px;
  }

  .app-bar {
    top: 12px;
    width: calc(100% - 24px);
  }

  .search-box input {
    min-width: 180px;
  }

  .carousel {
    grid-auto-columns: minmax(220px, 1fr);
  }

  .movie-card {
    min-height: 420px;
  }

  .player-card {
    padding: 1.4rem;
  }

  .video-player {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .app-bar {
    gap: 0.75rem;
    padding: 16px 18px;
  }

  .brand-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .toolbar {
    width: 100%;
    justify-content: space-between;
  }

  .hero-section {
    min-height: 620px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 32px 22px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .carousel {
    grid-auto-columns: minmax(200px, 1fr);
  }

  .movie-card {
    min-height: 380px;
  }

  .player-controls {
    gap: 1rem;
  }

  .video-player {
    height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
