:root {
  --app-bg: #070a12;
  --app-surface: #101725;
  --app-surface-soft: #141d30;
  --app-border: rgba(197, 210, 255, 0.14);
  --app-border-strong: rgba(197, 210, 255, 0.24);
  --app-text: #eef3ff;
  --app-text-soft: rgba(238, 243, 255, 0.78);
  --app-text-muted: rgba(238, 243, 255, 0.56);
  --app-primary: #5868ff;
  --app-primary-hover: #6d7aff;
  --app-primary-ink: #dfe4ff;
  --app-footer: #090d17;
  --app-shadow: 0 1.1rem 2.9rem rgba(0, 0, 0, 0.42);
  --app-shadow-soft: 0 0.65rem 1.55rem rgba(0, 0, 0, 0.3);
  --app-focus-ring: 0 0 0 0.24rem rgba(88, 104, 255, 0.28);
  --app-radius: 0.95rem;
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(1200px 560px at 85% -5%, rgba(75, 89, 214, 0.28), transparent 55%),
    radial-gradient(900px 420px at 10% -10%, rgba(40, 82, 168, 0.18), transparent 58%),
    linear-gradient(180deg, #0e1421 0%, #090d17 48%, #070b13 100%);
  color: var(--app-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a {
  color: #a7bbff;
  text-underline-offset: 0.14em;
}

a:hover {
  color: #cad6ff;
}

main {
  flex: 1 0 auto;
}


/* =========================
   AUTH PAGES
========================= */

.auth-flash-stack {
  max-width: 600px;
  margin-inline: auto;
}

/* =========================
   NAVBAR
========================= */

.app-navbar {
  background: rgba(7, 11, 21, 0.72) !important;
  border-bottom: 1px solid rgba(197, 210, 255, 0.16);
  box-shadow: 0 0.45rem 1.35rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.navbar-brand {
  color: var(--app-text) !important;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.navbar-brand i {
  font-size: 1.15rem;
  color: var(--app-primary-ink);
}

.nav-link {
  color: var(--app-text-soft) !important;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.45rem 0.75rem !important;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--app-text) !important;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-toggler {
  border-color: rgba(197, 210, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: var(--app-focus-ring);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(16, 23, 37, 0.78), rgba(9, 13, 23, 0.96));
  color: var(--app-text-muted);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(197, 210, 255, 0.14);
}

.footer-brand {
  font-weight: 700;
  color: var(--app-text);
  letter-spacing: -0.01em;
}

.footer-brand i {
  color: #99a9ff;
}

.footer-heading {
  color: var(--app-text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.45rem;
  color: var(--app-text-muted);
}

.footer-copy {
  color: var(--app-text-muted);
}

/* =========================
   BOOTSTRAP OVERRIDES
========================= */

.card {
  background: linear-gradient(180deg, rgba(19, 28, 44, 0.94), rgba(14, 21, 34, 0.96));
  border: 1px solid var(--app-border);
  color: var(--app-text);
  box-shadow: var(--app-shadow-soft);
  border-radius: var(--app-radius);
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 210, 255, 0.24);
  box-shadow: var(--app-shadow);
}

.card-header {
  border-bottom: 1px solid var(--app-border);
}

.text-muted {
  color: var(--app-text-muted) !important;
}

.bg-light {
  background-color: rgba(255, 255, 255, 0.035) !important;
}

.bg-dark,
.table-dark {
  background-color: #0b111d !important;
}

.bg-secondary {
  background-color: #25314a !important;
}

.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--app-border-strong);
  color: var(--app-text);
}

.form-control::placeholder {
  color: rgba(238, 243, 255, 0.44);
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--app-text);
  border-color: rgba(88, 104, 255, 0.62);
  box-shadow: var(--app-focus-ring);
}

.input-group .btn-outline-secondary {
  color: var(--app-text-soft);
  border-color: var(--app-border-strong);
}

.input-group .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.065);
  color: var(--app-text);
}

.table {
  color: var(--app-text);
  --bs-table-border-color: var(--app-border);
}

.table > :not(caption) > * > * {
  background-color: transparent;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  color: var(--app-text);
  background-color: rgba(255, 255, 255, 0.026);
}

.table-responsive {
  border-radius: 0.75rem;
}

.btn {
  border-radius: 0.7rem;
  font-weight: 600;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

.btn:focus-visible {
  box-shadow: var(--app-focus-ring);
}

.btn-primary {
  background: linear-gradient(140deg, var(--app-primary) 0%, #6f6fff 100%);
  border-color: rgba(167, 184, 255, 0.55);
  color: #f6f8ff;
  box-shadow: 0 0.55rem 1.1rem rgba(66, 82, 218, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(140deg, var(--app-primary-hover) 0%, #7c84ff 100%);
  border-color: rgba(192, 203, 255, 0.72);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: #c7d3ff;
  border-color: rgba(128, 150, 255, 0.75);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(88, 104, 255, 0.19);
  border-color: rgba(152, 169, 255, 0.82);
  color: #f7f9ff;
}

.btn-dark {
  background-color: #0e1524;
  border-color: #1a2740;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: #111b2e;
  border-color: #2a3a5b;
}

.alert {
  border-radius: 0.85rem;
  border-width: 1px;
}

.alert-info {
  background-color: rgba(88, 104, 255, 0.16);
  border-color: rgba(132, 148, 255, 0.48);
  color: #dbe3ff;
}

.toast-stack {
  z-index: 9999;
}

/* =========================
   HERO / GENERAL SPACING
========================= */

.display-2,
.display-5 {
  letter-spacing: -0.04em;
}

.display-2 {
  font-weight: 320;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
}

.lead {
  color: var(--app-text-soft);
}

.section-shell {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.surface-soft {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
}

/* =========================
   HOME PAGE
========================= */

.home-page {
  position: relative;
}

.home-hero {
  padding-bottom: 1.5rem;
}

.hero-copy {
  background: linear-gradient(145deg, rgba(10, 16, 32, 0.82), rgba(10, 14, 24, 0.55));
  border: 1px solid rgba(197, 210, 255, 0.16);
  border-radius: 1.15rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--app-shadow-soft);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: rgba(186, 199, 255, 0.88);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  max-width: 14ch;
}

.hero-subtitle {
  color: var(--app-text-soft);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  max-width: 46ch;
}

.hero-actions .btn {
  min-width: 11.75rem;
}

.btn-outline-light {
  border-color: rgba(197, 210, 255, 0.35);
  color: #f1f4ff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: rgba(147, 164, 255, 0.11);
  border-color: rgba(197, 210, 255, 0.6);
  color: #fff;
}

.hero-billboard {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(169, 185, 255, 0.34);
  background:
    radial-gradient(280px 190px at 84% 22%, rgba(146, 120, 255, 0.32), transparent 72%),
    linear-gradient(180deg, rgba(66, 82, 164, 0.22), rgba(8, 12, 24, 0.82)),
    linear-gradient(120deg, #0f1b36 0%, #111c3e 35%, #10122a 100%);
  box-shadow: 0 1.1rem 2.8rem rgba(9, 11, 20, 0.55);
}

.billboard-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(280px 140px at 20% 25%, rgba(103, 137, 255, 0.28), transparent 74%),
    radial-gradient(320px 180px at 72% 80%, rgba(121, 79, 255, 0.26), transparent 78%);
}

.billboard-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
}

.billboard-meta {
  align-self: flex-start;
  background: rgba(10, 13, 24, 0.55);
  border: 1px solid rgba(197, 210, 255, 0.22);
  color: rgba(236, 242, 255, 0.92);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.72rem;
}

.billboard-scene {
  max-width: 22rem;
  color: var(--app-text-soft);
}

.billboard-scene i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: rgba(88, 104, 255, 0.22);
  color: #e5ebff;
  font-size: 1.15rem;
}

.value-grid {
  margin-top: 1.2rem;
}

.value-card {
  background: linear-gradient(180deg, rgba(15, 22, 36, 0.88), rgba(12, 17, 28, 0.92));
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  padding: 1.15rem;
}

.value-card p {
  color: var(--app-text-soft);
}

.value-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: #eaf0ff;
  background: radial-gradient(circle at 30% 20%, #6f7eff 0%, #2f3d96 85%);
}

.featured-films {
  padding-top: 0.75rem;
}

.featured-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
}

.film-card {
  overflow: hidden;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(18, 27, 43, 0.94), rgba(12, 18, 30, 0.98));
}

.film-poster-wrap {
  background-color: #0a111f;
}

.film-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-title {
  font-weight: 700;
}

.film-creator {
  font-size: 0.95rem;
  color: rgba(226, 235, 255, 0.86);
}

.film-price {
  color: #8ea0ff;
  font-size: 1.25rem;
}

.empty-films-state {
  padding: 3rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--app-border);
  background: rgba(15, 21, 35, 0.65);
}



/* =========================
   CREATOR DASHBOARD
========================= */

.creator-studio-page {
  position: relative;
}

.studio-flash-stack {
  max-width: 760px;
  margin-inline: auto;
}

.creator-studio-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(171, 186, 255, 0.27);
  background:
    radial-gradient(360px 220px at 82% 22%, rgba(126, 95, 255, 0.24), transparent 72%),
    linear-gradient(142deg, rgba(12, 18, 35, 0.92), rgba(8, 13, 25, 0.96));
  box-shadow: var(--app-shadow-soft);
}

.creator-studio-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 160px at 14% 16%, rgba(74, 106, 214, 0.26), transparent 72%),
    radial-gradient(300px 180px at 84% 84%, rgba(96, 71, 194, 0.2), transparent 78%);
}

.creator-studio-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.3rem, 2.8vw, 2.2rem);
}

.creator-studio-kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  color: rgba(200, 212, 255, 0.9);
  margin-bottom: 0.75rem;
}

.creator-studio-title {
  font-size: clamp(1.95rem, 4vw, 3.1rem);
  line-height: 1.06;
}

.creator-studio-subtitle {
  color: var(--app-text-soft);
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

.creator-studio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

.studio-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(197, 210, 255, 0.32);
  background: rgba(11, 17, 31, 0.58);
  color: rgba(232, 239, 255, 0.92);
  padding: 0.36rem 0.72rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.studio-ops-card {
  overflow: hidden;
  border: 1px solid var(--app-border-strong) !important;
  background:
    radial-gradient(280px 180px at 86% 18%, rgba(88, 104, 255, 0.16), transparent 72%),
    linear-gradient(150deg, rgba(13, 20, 34, 0.95), rgba(11, 17, 30, 0.98));
  box-shadow: var(--app-shadow-soft);
}

.studio-ops-card-header {
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  color: var(--app-text);
}

.studio-ops-kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.73rem;
  color: var(--app-text-muted);
}

.studio-ops-card-body {
  padding: 1.15rem 1.25rem 1.25rem;
  background: transparent;
}

.studio-ops-status-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.studio-ops-status-item {
  padding: 0.72rem 0.78rem;
  border-radius: calc(var(--app-radius) - 0.25rem);
  border: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.02);
}

.studio-ops-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--app-text-muted);
}

.studio-ops-inline-note {
  border-left: 2px solid var(--app-border-strong);
  padding: 0.48rem 0 0.48rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.45rem;
}

.studio-upload-card {
  background:
    radial-gradient(300px 200px at 82% 14%, rgba(96, 110, 255, 0.18), transparent 74%),
    linear-gradient(152deg, rgba(12, 19, 33, 0.96), rgba(10, 16, 29, 0.98));
}

.studio-upload-form .form-label {
  color: var(--app-text-soft);
  margin-bottom: 0.38rem;
}

.studio-upload-form .form-control {
  border-color: var(--app-border);
  background: rgba(255, 255, 255, 0.028);
}

.studio-upload-form .form-control[type="file"] {
  padding-block: 0.52rem;
}

.studio-upload-file-grid {
  margin-top: 0.2rem;
}

.studio-upload-warning {
  margin-bottom: 1rem;
  padding: 0.78rem 0.88rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 204, 122, 0.42);
  background: rgba(255, 201, 107, 0.09);
  color: #ffe2b8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.studio-catalog-card {
  background:
    radial-gradient(300px 190px at 84% 10%, rgba(90, 106, 255, 0.18), transparent 72%),
    linear-gradient(150deg, rgba(13, 20, 34, 0.96), rgba(10, 16, 28, 0.98));
}

.studio-catalog-table-wrap {
  border: 1px solid var(--app-border);
  border-radius: 0.85rem;
  padding: 0.35rem;
  background: rgba(8, 12, 22, 0.45);
}

.studio-catalog-table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
  --bs-table-color: var(--app-text);
  --bs-table-border-color: rgba(197, 210, 255, 0.13);
}

.studio-catalog-table thead th {
  border-bottom-width: 1px;
  color: var(--app-text-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}

.studio-catalog-table tbody td {
  vertical-align: middle;
}

.studio-catalog-title {
  font-size: 1rem;
  color: var(--app-text);
}

.studio-catalog-description {
  color: var(--app-text-soft);
}

.studio-catalog-price {
  color: #9fb1ff;
  font-weight: 600;
  white-space: nowrap;
}

.studio-catalog-poster {
  width: 110px;
  min-height: 74px;
  border-radius: 0.65rem;
  border: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.028);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-catalog-poster img {
  width: 100%;
  max-height: 80px;
  object-fit: cover;
}

.studio-catalog-actions .btn {
  min-width: 5.35rem;
}

.studio-catalog-empty {
  border: 1px dashed var(--app-border-strong);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem 1rem;
}

.studio-catalog-empty i {
  font-size: 1.35rem;
  color: #9badff;
  margin-bottom: 0.45rem;
  display: inline-flex;
}

@media (max-width: 767.98px) {
  .creator-studio-meta {
    margin-top: 0.35rem;
  }

  .studio-chip {
    font-size: 0.75rem;
  }

  .studio-ops-card-header,
  .studio-ops-card-body {
    padding-inline: 1rem;
  }

  .studio-upload-warning {
    padding: 0.72rem 0.75rem;
  }

  .studio-catalog-table thead th {
    font-size: 0.71rem;
  }

  .studio-catalog-poster {
    width: 96px;
  }

  .studio-catalog-actions .btn {
    min-width: 5rem;
  }
}

/* =========================
   CREATOR PAGE
========================= */

.creator-page {
  position: relative;
}

.creator-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(171, 186, 255, 0.26);
  background:
    radial-gradient(360px 220px at 82% 24%, rgba(126, 95, 255, 0.26), transparent 72%),
    linear-gradient(140deg, rgba(12, 18, 35, 0.9), rgba(8, 13, 25, 0.94));
  box-shadow: var(--app-shadow-soft);
}

.creator-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(280px 140px at 14% 14%, rgba(74, 106, 214, 0.28), transparent 70%),
    radial-gradient(300px 180px at 80% 84%, rgba(96, 71, 194, 0.22), transparent 78%);
}

.creator-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 56rem;
}

.creator-kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  color: rgba(200, 212, 255, 0.9);
}

.creator-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.creator-bio {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  color: var(--app-text-soft);
  max-width: 56ch;
}

.creator-catalog-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.creator-film-card .card-body {
  padding: 1.2rem;
}

.no-poster-fallback {
  background: linear-gradient(160deg, rgba(19, 28, 45, 0.95), rgba(11, 17, 30, 0.98));
  color: var(--app-text-soft);
}

.creator-empty-state {
  padding: 3rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--app-border);
  background: rgba(15, 21, 35, 0.7);
}

/* =========================
   PRICING PAGE
========================= */

.pricing-page {
  color: var(--app-text);
}

.pricing-header {
  max-width: 980px;
}

.pricing-hero-surface {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(171, 186, 255, 0.26);
  background:
    radial-gradient(360px 220px at 88% 16%, rgba(126, 95, 255, 0.26), transparent 72%),
    linear-gradient(140deg, rgba(12, 18, 35, 0.9), rgba(8, 13, 25, 0.95));
  box-shadow: var(--app-shadow-soft);
}

.pricing-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(280px 140px at 10% 14%, rgba(74, 106, 214, 0.26), transparent 70%),
    radial-gradient(320px 170px at 82% 78%, rgba(96, 71, 194, 0.2), transparent 80%);
}

.pricing-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.pricing-kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  color: rgba(200, 212, 255, 0.9);
}

.pricing-header .lead {
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.6;
  max-width: 60ch;
}

.pricing-card {
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 22, 36, 0.9), rgba(10, 15, 26, 0.95));
}

.pricing-card .card-header {
  background: rgba(255, 255, 255, 0.015);
}

.pricing-card.highlight {
  border-color: rgba(137, 153, 255, 0.72);
  box-shadow: 0 1.2rem 2.5rem rgba(47, 65, 168, 0.28);
}

.pricing-card-header-highlight {
  background: linear-gradient(140deg, rgba(88, 104, 255, 0.24), rgba(108, 116, 255, 0.16)) !important;
}

.pricing-featured-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(177, 191, 255, 0.4);
  background: rgba(88, 104, 255, 0.16);
  color: #dde5ff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-period {
  font-size: 1.02rem;
  color: var(--app-text-soft);
  font-weight: 400;
  margin-left: 0.28rem;
}

.pricing-description {
  color: var(--app-text-soft);
  min-height: 72px;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  margin-bottom: 0.62rem;
  color: var(--app-text-soft);
}

.pricing-feature-list i {
  color: #aebdff;
  margin-top: 0.1rem;
}

.pricing-cta {
  margin-top: 0.5rem;
}

.compare-section {
  padding-top: 1.2rem;
}

.compare-shell {
  border-radius: 1.1rem;
  border: 1px solid rgba(167, 183, 255, 0.22);
  background: linear-gradient(180deg, rgba(14, 20, 33, 0.84), rgba(10, 15, 26, 0.95));
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.compare-heading-wrap {
  max-width: 48rem;
  margin-inline: auto;
}

.compare-table-wrap {
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  padding: 0.25rem;
  background: rgba(5, 9, 17, 0.36);
}

.compare-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--app-text);
  --bs-table-border-color: rgba(197, 210, 255, 0.13);
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 0.75rem;
  vertical-align: middle;
}

.compare-table thead th {
  color: var(--app-text);
  font-size: 1.02rem;
  font-weight: 600;
  border-bottom-width: 1px;
}

.compare-table tbody th {
  color: var(--app-text);
  font-weight: 600;
}

.compare-feature-col {
  width: 40%;
}

.compare-table i.bi-check-lg {
  color: #e1e8ff;
  font-size: 1.2rem;
}



/* =========================
   AUTH PAGES
========================= */

.auth-page {
  position: relative;
}

.auth-shell {
  border-radius: 1.1rem;
  background:
    radial-gradient(300px 160px at 86% 12%, rgba(118, 95, 255, 0.2), transparent 70%),
    linear-gradient(160deg, rgba(13, 20, 34, 0.92), rgba(10, 15, 26, 0.96));
  border: 1px solid rgba(174, 188, 255, 0.24);
  box-shadow: var(--app-shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.auth-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-shadow);
}

.auth-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 0.9rem;
  color: #eef3ff;
  font-size: 1.2rem;
  background: radial-gradient(circle at 30% 20%, #7586ff 0%, #3342a9 80%);
}

.auth-kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  color: rgba(200, 212, 255, 0.9);
}

.auth-subtitle,
.auth-helper-text {
  color: var(--app-text-soft);
}

.auth-links a,
.auth-helper-text a {
  color: #afc1ff;
}

.auth-links a:hover,
.auth-helper-text a:hover {
  color: #d5dfff;
}

.auth-inline-alert {
  background-color: rgba(255, 193, 7, 0.14);
  border-color: rgba(255, 214, 102, 0.42);
  color: #ffe7ad;
}

.auth-plan-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border: 1px solid rgba(173, 188, 255, 0.32);
  border-radius: 0.85rem;
  background: rgba(88, 104, 255, 0.12);
  color: var(--app-text);
  padding: 0.9rem 1rem;
}

.auth-requirements {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--app-border) !important;
  color: var(--app-text-soft);
}

.verification-actions .btn {
  min-width: 11rem;
}

@media (max-width: 767.98px) {
  .auth-shell {
    padding: 1.1rem;
  }

  .verification-actions .btn {
    width: 100%;
  }
}

/* =========================
   WATCH PAGE
========================= */

.watch-page {
  padding: clamp(2rem, 4.2vw, 3.5rem) 0 clamp(2.8rem, 5vw, 4.4rem);
}

.watch-shell {
  max-width: 1120px;
}

.watch-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(171, 186, 255, 0.28);
  background:
    radial-gradient(840px 440px at 84% -10%, rgba(115, 94, 255, 0.22), transparent 68%),
    radial-gradient(760px 420px at -12% 14%, rgba(70, 118, 255, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(15, 23, 38, 0.94) 0%, rgba(9, 14, 24, 0.98) 100%);
  box-shadow: var(--app-shadow);
  padding: clamp(1.35rem, 3.2vw, 2.6rem);
}

.watch-kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.79rem;
  color: rgba(186, 199, 255, 0.9);
  margin-bottom: 0.6rem;
}

.watch-title {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.06;
  margin-bottom: 0.8rem;
}

.watch-subtitle {
  max-width: 58ch;
  margin: 0 auto 0.9rem;
  color: var(--app-text-soft);
  font-size: clamp(0.99rem, 1.45vw, 1.15rem);
}

.watch-creator {
  margin: 0 auto 1.35rem;
  color: var(--app-text-muted);
}

.watch-creator a {
  color: #b8c8ff;
  font-weight: 500;
  text-decoration: none;
}

.watch-creator a:hover,
.watch-creator a:focus {
  color: #dae3ff;
  text-decoration: underline;
}

.watch-video-shell {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.watch-video-shell.ready {
  opacity: 1;
  transform: translateY(0);
}

.watch-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #05070d;
  border: 1px solid var(--app-border-strong);
  box-shadow: 0 1.1rem 2.8rem rgba(2, 5, 14, 0.72);
}

.watch-video-loader {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--app-text-soft);
  font-size: 1.04rem;
  background: rgba(3, 5, 10, 0.9);
  transition: opacity 0.5s ease;
}

.watch-video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.watch-video-loader-unavailable {
  color: #f8d58a;
}

#player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.watch-meta-panel {
  margin: 1.1rem auto 0;
  max-width: 46rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  background: rgba(88, 104, 255, 0.11);
  border: 1px solid rgba(143, 162, 255, 0.28);
  color: var(--app-text-soft);
  font-size: 0.93rem;
  text-align: center;
}

.watch-expiration {
  margin-top: 0.85rem;
  text-align: center;
  color: #ffd883;
  font-size: 0.89rem;
}

.watch-support {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--app-text-muted);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .watch-card {
    border-radius: 1rem;
    padding: 1.05rem;
  }

  .watch-creator {
    margin-bottom: 1rem;
  }

  .watch-meta-panel {
    padding: 0.74rem 0.85rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================
   WATCH PAGE SAFETY
========================= */

.watch-container {
  color: var(--app-text);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
  .hero-title {
    max-width: none;
  }

  .hero-billboard {
    min-height: 280px;
  }

  .pricing-card-title {
    font-size: 2.7rem;
  }

  .pricing-description {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding-top: 2rem;
  }

  .hero-copy {
    padding: 1.35rem;
  }

  .hero-billboard {
    min-height: 240px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .display-2 {
    font-size: 3.2rem;
  }

  .site-footer {
    padding: 2.5rem 0;
  }

  .compare-feature-col {
    width: auto;
  }
}

/* =========================
   SUCCESS PAGE
========================= */

.success-page {
  position: relative;
}

.success-shell {
  max-width: 760px;
  position: relative;
}

.success-shell::before {
  content: "";
  position: absolute;
  inset: -2.5rem -1.5rem;
  background: radial-gradient(60% 52% at 50% 0%, rgba(88, 104, 255, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.success-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(170deg, rgba(20, 29, 48, 0.95), rgba(14, 21, 34, 0.98));
  border: 1px solid var(--app-border-strong);
  border-radius: calc(var(--app-radius) + 0.25rem);
  box-shadow: var(--app-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  text-align: center;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 22%, rgba(157, 174, 255, 0.54), rgba(88, 104, 255, 0.2));
  border: 1px solid rgba(197, 210, 255, 0.45);
  color: var(--app-text);
  box-shadow: 0 0 0 0.35rem rgba(88, 104, 255, 0.14), var(--app-shadow-soft);
}

.success-icon i {
  font-size: 1.45rem;
}

.success-kicker {
  color: var(--app-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.78rem;
}

.success-title {
  color: var(--app-text);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
}

.success-message {
  color: var(--app-text-soft);
  font-size: 1.06rem;
}

.success-access-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  padding: 1rem;
  text-align: left;
}

.success-access-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--app-text-soft);
  font-size: 0.97rem;
}

.success-access-row + .success-access-row {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--app-border);
}

.success-access-row i {
  color: #9fb0ff;
  margin-top: 0.08rem;
}

.success-creator {
  color: var(--app-text-muted);
}

.success-creator-link {
  color: var(--app-text);
  font-weight: 600;
  text-decoration: none;
}

.success-creator-link:hover,
.success-creator-link:focus {
  color: #c7d4ff;
  text-decoration: underline;
}

.success-actions {
  display: grid;
  gap: 0.8rem;
}

.success-watch-btn {
  width: 100%;
  padding-block: 0.85rem;
  box-shadow: 0 0.75rem 1.6rem rgba(72, 88, 232, 0.34);
}

.success-hint {
  color: var(--app-text-muted);
}

@media (max-width: 575.98px) {
  .success-shell::before {
    inset: -1.5rem -0.4rem;
  }

  .success-card {
    padding: 1.2rem;
  }

  .success-access-panel {
    padding: 0.85rem;
  }
}

/* =========================
   PLATFORM ADMIN
========================= */

.platform-admin-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  border: 1px solid var(--app-border-strong);
  border-radius: 0.85rem;
  background: rgba(8, 13, 25, 0.72);
  padding: 0.35rem;
}

.platform-admin-section-nav a {
  color: var(--app-text-soft);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.platform-admin-section-nav a:hover,
.platform-admin-section-nav a:focus {
  color: var(--app-text);
  background: rgba(88, 104, 255, 0.18);
}

.platform-admin-hero-stats .studio-chip {
  border-radius: 0.8rem;
  padding: 0.68rem 0.95rem;
}

.platform-admin-attention-chip {
  border-color: rgba(255, 214, 102, 0.45);
  background: rgba(255, 193, 7, 0.09);
}

.platform-admin-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.platform-admin-overview-grid .studio-ops-label {
  min-height: 2.2em;
}

.platform-admin-table {
  font-size: 0.84rem;
}

.platform-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 12rem;
}

.platform-admin-actions .btn,
.platform-admin-table .btn {
  --bs-btn-padding-y: 0.18rem;
  --bs-btn-padding-x: 0.48rem;
  --bs-btn-font-size: 0.72rem;
}

.platform-admin-poster {
  width: 86px;
  min-height: 54px;
}

.platform-admin-poster img {
  max-height: 58px;
}

.platform-admin-planned-panel {
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: rgba(88, 104, 255, 0.09);
  padding: 1rem;
}

.platform-admin-pagination {
  border-top: 1px solid var(--app-border);
  padding-top: 0.9rem;
}

.platform-admin-pagination-summary,
.platform-admin-pagination-controls {
  color: var(--app-text-muted);
}

.platform-admin-login-shell {
  max-width: 520px;
  margin-inline: auto;
}
