:root {
  --bg-deep: #040916;
  --bg-studio: #08122b;
  --bg-card: #0e1c42;
  --bg-card-alt: #132556;
  --surface-glass: rgba(10, 20, 48, 0.84);
  --gold: #f5c451;
  --gold-bright: #ffe28a;
  --gold-soft: rgba(245, 196, 81, 0.14);
  --gold-border: rgba(245, 196, 81, 0.36);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.14);
  --cyan-border: rgba(56, 189, 248, 0.34);
  --text: #f8fafc;
  --text-muted: #c7d4eb;
  --text-soft: #96aacd;
  --border: rgba(148, 163, 184, 0.22);
  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-studio: 0 24px 64px rgba(2, 6, 20, 0.65);
  --shadow-card: 0 12px 32px rgba(2, 6, 20, 0.45);
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 620px at 82% -8%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(960px 520px at 14% 4%, rgba(245, 196, 81, 0.12), transparent 58%),
    linear-gradient(180deg, var(--bg-studio) 0%, var(--bg-deep) 48%, #030712 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #061024;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 9, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 14px rgba(245, 196, 81, 0.24);
}

.brand-text span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.nav-cta {
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
  border: 1px solid var(--gold-border) !important;
  background: var(--gold-soft);
  color: var(--gold-bright) !important;
}

.nav-cta:hover {
  background: rgba(245, 196, 81, 0.24);
}

/* Badges & Buttons */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
}

.badge-cyan {
  background: var(--cyan-soft);
  border-color: var(--cyan-border);
  color: #bae6fd;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn-row-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c451 0%, #eab308 100%);
  color: #061024;
  border: 1px solid #fde68a;
  box-shadow: 0 10px 26px rgba(245, 196, 81, 0.28);
}

.btn-primary:hover {
  color: #040916;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(245, 196, 81, 0.36);
}

.btn-secondary {
  background: rgba(14, 28, 66, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--cyan-border);
  background: var(--bg-card-alt);
  color: #ffffff;
}

/* Hero */
.hero {
  padding: clamp(2.8rem, 6vw, 4.75rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 1rem 0 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.lead {
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  margin: 0;
  max-width: 58ch;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 0.58rem;
  flex: none;
  box-shadow: 0 0 8px var(--cyan);
}

.stage-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  background: linear-gradient(145deg, rgba(245, 196, 81, 0.32), rgba(56, 189, 248, 0.2));
  box-shadow: var(--shadow-studio);
}

.stage-frame img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #060e22;
}

.stage-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.65rem 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stage-caption strong {
  color: var(--gold-bright);
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.section-head {
  max-width: 68ch;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  background: linear-gradient(165deg, rgba(16, 32, 74, 0.92), rgba(9, 18, 44, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
}

.card-gold {
  border-color: var(--gold-border);
  background: linear-gradient(165deg, rgba(24, 42, 86, 0.95), rgba(10, 19, 46, 0.98));
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.14rem;
  line-height: 1.3;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
  color: #bae6fd;
}

.card-tag-gold {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

/* Studio Showcase Strip */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.showcase-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.showcase-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.showcase-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Finale Spotlight */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.75rem;
  align-items: center;
  background: linear-gradient(145deg, rgba(16, 33, 76, 0.96), rgba(7, 14, 34, 0.98));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-studio);
  margin-top: 1.75rem;
}

.spotlight img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.spotlight h3 {
  font-size: 1.45rem;
  margin: 0.35rem 0 0.65rem;
}

.spotlight p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Cast Grid */
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem 1.35rem;
  background:
    radial-gradient(240px 160px at 50% 24%, rgba(56, 189, 248, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(17, 34, 78, 0.9), rgba(8, 17, 42, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.cast-portrait-wrap {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(245, 196, 81, 0.24), rgba(6, 14, 36, 0.85) 72%);
  border: 1px solid var(--gold-border);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.cast-portrait-wrap img {
  width: 136px;
  height: 136px;
  object-fit: contain;
}

.cast-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.06rem;
  color: var(--gold-bright);
}

.cast-card p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-muted);
}

/* Page Hero (Privacy, Support, Join) */
.page-hero {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 1.75rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  margin: 0.65rem 0 0.75rem;
  letter-spacing: -0.025em;
}

.prose {
  max-width: 78ch;
}

.prose h2 {
  font-size: 1.38rem;
  margin: 2rem 0 0.65rem;
  color: var(--gold-bright);
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.45rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

/* Comparison / Spec Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-top: 1.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: rgba(245, 196, 81, 0.1);
  color: var(--gold-bright);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.faq-item[open] {
  border-color: var(--gold-border);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--text);
  list-style-position: outside;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

/* Join Fallback Card */
.join-shell {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.join-card {
  max-width: 640px;
  margin-inline: auto;
  background: linear-gradient(160deg, rgba(16, 33, 76, 0.96), rgba(8, 16, 40, 0.98));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-studio);
  text-align: center;
}

.code-display {
  margin: 1.35rem auto;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(4, 9, 22, 0.9);
  border: 1px solid var(--gold-border);
  display: inline-block;
  min-width: min(100%, 280px);
}

.code-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.code-value {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.notice-box {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--cyan-border);
  color: var(--text-muted);
  text-align: left;
  font-size: 0.94rem;
}

.notice-box-warn {
  background: rgba(245, 196, 81, 0.11);
  border-color: var(--gold-border);
}

.join-steps {
  text-align: left;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.join-steps h2 {
  font-size: 1.12rem;
  margin: 0 0 0.65rem;
  color: var(--gold-bright);
}

.join-steps ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.join-steps li + li {
  margin-top: 0.45rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.92);
  padding: 2.25rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
}

.footer-meta {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 48ch;
}

.footer-meta strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  font-size: 0.94rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .spotlight,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    justify-content: space-between;
  }

  .site-nav {
    gap: 0.25rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}
