/* TikTok Universe United Family — local draft styles */

@font-face {
  font-family: Cinzel;
  src: url("../fonts/cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #07010f;
  --bg-2: #12061f;
  --gold: #f0c75e;
  --gold-bright: #ffe08a;
  --gold-deep: #b8862b;
  --magenta: #ff2ea6;
  --pink: #fe2c55;
  --cyan: #25f4ee;
  --purple: #9b5cff;
  --violet: #5b2dff;
  --text: #f7f1ff;
  --muted: #cbb9df;
  --card: rgba(14, 6, 28, 0.78);
  --card-solid: #140820;
  --line: rgba(240, 199, 94, 0.3);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 1.15rem;
  --header-h: 4.5rem;
  --max: 72rem;
  --font-display: Cinzel, "Palatino Linotype", Palatino, serif;
  --font-body: Outfit, "Segoe UI", sans-serif;
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--cyan);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(155, 92, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(254, 44, 85, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(37, 244, 238, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 70%, rgba(240, 199, 94, 0.12), transparent 55%),
    linear-gradient(180deg, #07010f 0%, #11041d 40%, #07010f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 22% 38%, rgba(37, 244, 238, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 48% 18%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.6px 1.6px at 73% 28%, rgba(240, 199, 94, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 90% 16%, rgba(255, 46, 166, 0.6), transparent),
    radial-gradient(1.4px 1.4px at 14% 72%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 36% 86%, rgba(155, 92, 255, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 62% 64%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.8px 1.8px at 84% 78%, rgba(37, 244, 238, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 95% 92%, rgba(240, 199, 94, 0.55), transparent);
  animation: twinkle 12s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.35; }
  to { opacity: 0.7; }
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-bright);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: #1a0a00;
  font-weight: 700;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Draft banner */
.draft-banner {
  position: relative;
  z-index: 30;
  padding: 0.55rem 1rem;
  text-align: center;
  background: linear-gradient(90deg, rgba(240, 199, 94, 0.18), rgba(255, 46, 166, 0.16), rgba(37, 244, 238, 0.14));
  border-bottom: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 1, 15, 0.78);
  border-bottom: 1px solid rgba(240, 199, 94, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-logo {
  width: 3.1rem;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(240, 199, 94, 0.55));
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-short {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-bright);
  background: rgba(240, 199, 94, 0.1);
}

.nav .btn-live,
.nav .btn.is-disabled {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-live,
.btn-primary {
  color: #14010a;
  background: linear-gradient(90deg, #25f4ee 0%, #fe2c55 100%);
  box-shadow: 0 0 22px rgba(254, 44, 85, 0.35);
}

.btn-live:hover,
.btn-primary:hover {
  color: #14010a;
  filter: brightness(1.06);
}

.btn-gold {
  color: #1a0a00;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 0 22px rgba(240, 199, 94, 0.35);
}

.btn-gold:hover {
  color: #1a0a00;
}

.btn-ghost {
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid rgba(240, 199, 94, 0.55);
}

.btn-ghost:hover {
  color: var(--gold-bright);
  background: rgba(240, 199, 94, 0.1);
}

.btn[aria-disabled="true"],
.btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .bar,
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after { top: 6px; }

/* Hero */
.hero {
  padding: 2.6rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: center;
}

.crest {
  width: 8.2rem;
  height: 8.2rem;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(240, 199, 94, 0.35), transparent 60%),
    radial-gradient(circle at 50% 50%, #1a0a18, #07010f 72%);
  box-shadow:
    0 0 0 2px rgba(240, 199, 94, 0.7),
    0 0 0 8px rgba(240, 199, 94, 0.12),
    0 0 40px rgba(240, 199, 94, 0.35),
    0 0 80px rgba(155, 92, 255, 0.2);
  animation: crest-glow 5s ease-in-out infinite alternate;
}

.crest img {
  width: 78%;
  height: auto;
}

@keyframes crest-glow {
  from { box-shadow: 0 0 0 2px rgba(240, 199, 94, 0.7), 0 0 0 8px rgba(240, 199, 94, 0.1), 0 0 30px rgba(240, 199, 94, 0.28), 0 0 60px rgba(155, 92, 255, 0.15); }
  to { box-shadow: 0 0 0 2px rgba(255, 224, 138, 0.9), 0 0 0 10px rgba(240, 199, 94, 0.16), 0 0 50px rgba(240, 199, 94, 0.5), 0 0 90px rgba(255, 46, 166, 0.2); }
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #ffe08a 10%, #fff 35%, #ff2ea6 70%, #25f4ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-prefix {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  -webkit-text-fill-color: var(--muted);
  margin-bottom: 0.25em;
}

.hero-tagline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--gold);
  font-weight: 600;
}

.hero-sub {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--text);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.founder-col {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-width: 0;
}

.founder-card {
  position: relative;
  border-radius: calc(var(--radius) + 0.3rem);
  overflow: hidden;
  background: var(--card-solid);
  border: 1px solid rgba(240, 199, 94, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 46, 166, 0.12),
    0 0 40px rgba(155, 92, 255, 0.22),
    var(--shadow);
}

.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
}

.founder-body {
  padding: 1.1rem 1.2rem 1.3rem;
  background: linear-gradient(180deg, rgba(14, 6, 28, 0.2), rgba(14, 6, 28, 0.96));
}

.founder-body .kicker {
  color: var(--gold);
}

.founder-body h2 {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-bright);
}

.founder-artist {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--cyan);
}

.founder-former,
.founder-intro {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.founder-text {
  margin: 0.6rem 0 0;
  font-size: 0.98rem;
}

.founder-quote {
  margin: 0;
  padding: 1.2rem 1.25rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 199, 94, 0.4);
  background: var(--card);
  box-shadow:
    0 0 24px rgba(240, 199, 94, 0.12),
    var(--shadow);
}

.founder-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.founder-quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.founder-quote blockquote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
}

.founder-quote figcaption {
  margin-top: 0.95rem;
}

.founder-quote .quote-sign {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.founder-quote .quote-role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan);
}

/* Shared sections */
.section {
  padding: 3.2rem 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.7rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  color: var(--gold-bright);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.glow-cyan { box-shadow: 0 0 24px rgba(37, 244, 238, 0.16), var(--shadow); border-color: rgba(37, 244, 238, 0.35); }
.glow-purple { box-shadow: 0 0 24px rgba(155, 92, 255, 0.2), var(--shadow); border-color: rgba(155, 92, 255, 0.4); }
.glow-magenta { box-shadow: 0 0 24px rgba(255, 46, 166, 0.18), var(--shadow); border-color: rgba(255, 46, 166, 0.4); }
.glow-pink { box-shadow: 0 0 24px rgba(254, 44, 85, 0.2), var(--shadow); border-color: rgba(254, 44, 85, 0.4); }
.glow-gold { box-shadow: 0 0 24px rgba(240, 199, 94, 0.2), var(--shadow); border-color: rgba(240, 199, 94, 0.45); }

/* Placeholders */
.ph {
  position: relative;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(240, 199, 94, 0.04) 8px,
    rgba(240, 199, 94, 0.04) 16px
  );
  border-style: dashed;
}

.ph-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid rgba(240, 199, 94, 0.45);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.ph-text {
  color: var(--gold-bright);
}

/* Live */
.live-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
}

.live-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #6b6474;
  box-shadow: 0 0 0 6px rgba(107, 100, 116, 0.2);
}

.live-card.is-live .live-dot {
  background: #fe2c55;
  box-shadow: 0 0 0 6px rgba(254, 44, 85, 0.25);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 10px rgba(254, 44, 85, 0.05); }
}

.live-card h2 {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--gold-bright);
}

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

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.day-card {
  padding: 1rem 0.85rem 1.1rem;
  height: 100%;
}

.day-name {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.accent-gold .day-name,
.accent-gold .day-time { color: var(--gold); }
.accent-cyan .day-name,
.accent-cyan .day-time { color: var(--cyan); }
.accent-purple .day-name,
.accent-purple .day-time { color: var(--purple); }
.accent-magenta .day-name,
.accent-magenta .day-time { color: var(--magenta); }
.accent-pink .day-name,
.accent-pink .day-time { color: var(--pink); }

.day-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  line-height: 1.3;
  font-family: var(--font-display);
}

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

.day-time {
  display: block;
  margin-top: 0.7rem;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.4;
}

.time-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(240, 199, 94, 0.08);
}

.time-badge-tbc {
  color: var(--gold-bright);
  border-color: rgba(240, 199, 94, 0.5);
}

.time-badge-flexible {
  color: var(--cyan);
  border-color: rgba(37, 244, 238, 0.5);
  background: rgba(37, 244, 238, 0.08);
}

.intl-times {
  margin-top: 2rem;
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.intl-times h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.intl-lede {
  margin: 0 0 1rem;
  color: var(--muted);
}

.intl-table-wrap {
  overflow-x: auto;
}

.intl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.intl-table th,
.intl-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(240, 199, 94, 0.16);
  vertical-align: middle;
}

.intl-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

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

.intl-table td {
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
  width: 8rem;
}

.intl-flag {
  display: inline-block;
  min-width: 1.6rem;
  margin-right: 0.35rem;
}

.intl-note,
.intl-local {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.intl-local {
  color: var(--cyan);
}

.intl-table tbody tr.is-you {
  background: rgba(37, 244, 238, 0.12);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.intl-table tbody tr.is-you th,
.intl-table tbody tr.is-you td {
  color: var(--cyan);
}

.you-badge {
  display: none;
  margin-left: 0.45rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 244, 238, 0.55);
  background: rgba(37, 244, 238, 0.12);
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.intl-table tbody tr.is-you .you-badge {
  display: inline-block;
}

/* Music */
.music-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.release-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.release-card:hover {
  transform: translateY(-3px);
  color: inherit;
  border-color: rgba(240, 199, 94, 0.6);
}

.release-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #1a0a18;
}

.release-meta {
  padding: 0.75rem 0.85rem 0.95rem;
}

.release-meta h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.release-meta p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.latest-badge {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  color: #14010a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vault-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 1.2rem;
  background:
    linear-gradient(160deg, rgba(20, 8, 32, 0.9), rgba(10, 4, 20, 0.95)),
    repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(155, 92, 255, 0.06) 10px, rgba(155, 92, 255, 0.06) 20px);
}

.lock-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 199, 94, 0.45);
  color: var(--gold);
}

.lock-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vault-card h3,
.vip-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  color: var(--gold-bright);
}

.vault-card p,
.vip-card p {
  margin: 0;
  color: var(--muted);
}

/* Battles */
.battle-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.2rem;
  align-items: stretch;
}

.countdown-card {
  padding: 1.4rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.countdown-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  color: var(--gold-bright);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.count-unit {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(240, 199, 94, 0.25);
  border-radius: 0.7rem;
  padding: 0.6rem 0.2rem;
}

.count-unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-bright);
}

.count-unit span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.tier-card {
  padding: 1.2rem 0.9rem;
  text-align: center;
}

.tier-card .target {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-bright);
}

.tier-card .prize {
  margin: 0.4rem 0 0;
  font-weight: 700;
}

.tier-card .label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.unit-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.battle-explainer {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}

/* People grids */
.people-grid,
.highlights-grid,
.highlight-videos-grid,
.hub-grid {
  display: grid;
  gap: 0.9rem;
}

.people-grid { grid-template-columns: repeat(4, 1fr); }
.members-grid { grid-template-columns: repeat(4, 1fr); }
.highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
.highlight-videos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 64rem; margin: 0 0 1.8rem; }
.hub-grid { grid-template-columns: repeat(4, 1fr); }

.person-card,
.highlight-card,
.topic-card {
  padding: 1rem;
  text-align: center;
}

.avatar {
  width: 5.2rem;
  height: 5.2rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  border: 2px solid rgba(240, 199, 94, 0.45);
  box-shadow: 0 0 16px rgba(155, 92, 255, 0.3);
  object-fit: cover;
  background: #1a0a18;
}

.members-subhead {
  margin-top: 3.2rem;
}

.people-head {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.people-head h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
}

.moderator-card {
  padding: 1.15rem 0.9rem 1.2rem;
}

.moderator-card .avatar-ring {
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  margin: 0 auto 0.85rem;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #25f4ee, #fe2c55 40%, #9b5cff 70%, #25f4ee);
  box-shadow:
    0 0 18px rgba(37, 244, 238, 0.4),
    0 0 28px rgba(254, 44, 85, 0.28);
}

.moderator-card .avatar-ring .avatar {
  width: calc(7rem - 6px);
  height: calc(7rem - 6px);
  margin: 0;
  border: 3px solid #12061f;
  box-shadow: none;
}

.moderator-card .mod-handle {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--cyan);
  word-break: break-word;
}

.moderator-card .mod-handle.ph-text {
  color: inherit;
}

.mod-handle-link {
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(37, 244, 238, 0.35);
}

.mod-handle-link:hover,
.mod-handle-link:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}

.moderator-card .mod-role {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.person-card h3,
.highlight-card h3,
.topic-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.person-card p,
.highlight-card p,
.topic-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

a.topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  color: inherit;
  padding: 1.2rem 1.15rem 1.05rem;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

a.topic-card:hover,
a.topic-card:focus-visible {
  transform: translateY(-3px);
  color: inherit;
  border-color: rgba(240, 199, 94, 0.6);
}

.topic-icon {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--gold-bright);
}

.accent-magenta .topic-icon { color: var(--magenta); }
.accent-cyan .topic-icon { color: var(--cyan); }
.accent-pink .topic-icon { color: var(--pink); }
.accent-gold .topic-icon { color: var(--gold-bright); }
.accent-purple .topic-icon { color: var(--purple); }

.topic-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--gold-bright);
}

.topic-card p {
  margin: 0 0 1rem;
  flex: 1;
}

.topic-arrow {
  margin-top: auto;
  align-self: flex-end;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gold);
}

.community-promise {
  margin-top: 2.2rem;
  padding: 1.6rem 1.5rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.community-promise .kicker {
  color: var(--gold);
}

.community-promise h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  color: var(--gold-bright);
}

.community-promise > p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.promise-rules {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.promise-rules li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(240, 199, 94, 0.22);
  background: rgba(14, 6, 28, 0.55);
}

.promise-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.promise-rule {
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

.highlight-thumb {
  height: 8.5rem;
  margin: -1rem -1rem 0.85rem;
  border-radius: var(--radius) var(--radius) 0 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(155, 92, 255, 0.35), rgba(254, 44, 85, 0.2) 50%, rgba(37, 244, 238, 0.15));
  color: var(--text);
  font-size: 2rem;
}

.highlight-card {
  padding: 0;
  overflow: hidden;
}

.highlight-embed-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(155, 92, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #1a0828, #07010f);
}

.highlight-facade {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.highlight-facade:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--cyan);
}

.highlight-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.highlight-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #14010c;
  font-size: 1.2rem;
  box-shadow: 0 0 24px rgba(37, 244, 238, 0.45);
}

.highlight-watch,
.highlight-account,
.highlight-facade h3 {
  position: relative;
  z-index: 1;
  margin: 0;
}

.highlight-watch {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.highlight-account,
.highlight-facade h3 {
  font-size: 0.9rem;
  color: var(--muted);
}

.highlight-embed-wrap[data-loaded="1"] {
  aspect-ratio: auto;
  min-height: 32rem;
  padding: 0.35rem;
}

.highlight-embed-wrap .tiktok-embed {
  margin: 0 auto !important;
  max-width: 100% !important;
}

.highlight-video-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(155, 92, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #1a0828, #07010f);
}

.highlight-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #07010f;
}

.highlight-video-card h3 {
  margin: 0;
  padding: 0.7rem 0.85rem 0.9rem;
  font-size: 0.95rem;
}

.highlight-video-card.is-playing .highlight-video-facade {
  display: none;
}

/* Keep native controls available after play; hide the bar under the facade until then. */
.highlight-video-card:not(.is-playing) video::-webkit-media-controls-enclosure {
  display: none;
}

.member-card h3,
.member-card .member-handle {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.member-handle-link {
  color: var(--cyan);
  text-decoration: none;
}

.member-handle-link:hover,
.member-handle-link:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}


/* VIP */
.vip-card {
  position: relative;
  padding: 2rem 1.5rem;
  overflow: hidden;
  max-width: 46rem;
}

.vip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(240, 199, 94, 0.18), transparent 50%);
  pointer-events: none;
}

/* Join band */
.join-band {
  padding: 3rem 0;
  background:
    linear-gradient(90deg, rgba(254, 44, 85, 0.16), rgba(155, 92, 255, 0.16), rgba(37, 244, 238, 0.12));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.join-band h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gold-bright);
  text-align: center;
}

.join-band .tagline {
  margin: 0 0 0.8rem;
  text-align: center;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
}

.join-band .lede {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  text-align: center;
  color: var(--muted);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: end;
}

.join-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
}

.join-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.join-form input[type="email"] {
  width: min(18rem, 100%);
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 199, 94, 0.4);
  background: rgba(7, 1, 15, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.join-form input[type="email"]::placeholder {
  color: #9a89ad;
}

.form-status {
  flex-basis: 100%;
  margin: 0.4rem 0 0;
  text-align: center;
  color: var(--gold-bright);
  font-weight: 600;
}

/* About */
.about-prose {
  max-width: 44rem;
}

.about-prose h2 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--gold-bright);
}

.about-prose .role {
  color: var(--cyan);
  font-weight: 600;
}

.about-prose p {
  color: var(--text);
}

.sign-off {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(240, 199, 94, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-bright);
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.social-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.social-list a {
  color: var(--text);
  text-decoration: none;
}

.social-list a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 199, 94, 0.16);
}

.footer-legal p,
.footer-legal a {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-legal a {
  color: var(--gold);
  text-decoration: none;
  margin-left: 0.35rem;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* How to join */
.join-steps {
  margin: 0 0 2rem;
  padding: 1.3rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.join-steps h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--gold-bright);
}

.join-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.join-step {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(240, 199, 94, 0.22);
  background: rgba(14, 6, 28, 0.55);
}

.join-step-num {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.08em;
}

.join-step p {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}

.join-step a {
  color: inherit;
  text-decoration: none;
}

.join-step a:hover,
.join-step a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* Top Supporters */
.supporters-wall {
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.supporters-empty,
.supporters-month {
  margin: 0;
  color: var(--muted);
}

.supporters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.supporters-list a {
  color: var(--cyan);
  text-decoration: none;
}

/* Flyers & Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.gallery-card {
  padding: 0 0 1rem;
  overflow: hidden;
}

.gallery-card h3 {
  margin: 0.75rem 0.9rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-bright);
}

.gallery-card p {
  margin: 0 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.gallery-open img,
.gallery-card .gallery-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0;
  background:
    linear-gradient(160deg, rgba(20, 8, 32, 0.9), rgba(10, 4, 20, 0.95)),
    repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(155, 92, 255, 0.06) 10px, rgba(155, 92, 255, 0.06) 20px);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Rules & Safety page */
.rules-prose {
  max-width: 48rem;
}

.rules-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--gold-bright);
}

.rules-page h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--gold-bright);
}

.rules-list,
.report-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.rules-list li,
.report-list li {
  margin: 0 0 0.7rem;
}

.report-list p {
  margin: 0;
}

.report-links {
  margin-top: 0.3rem !important;
}

.report-links a,
.rules-page a {
  color: var(--gold);
  text-decoration: none;
}

.report-links a:hover,
.rules-page a:hover,
.report-links a:focus-visible,
.rules-page a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}

.rules-page .rules-promise {
  margin-top: 0;
}

.loading,
.error-box {
  padding: 4rem 1.5rem;
  text-align: center;
}

.error-box {
  color: var(--gold-bright);
}



/* Social icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.social-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240, 199, 94, 0.5);
  color: var(--gold-bright);
  text-decoration: none;
  background: rgba(7, 1, 15, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(37, 244, 238, 0.1);
  box-shadow: 0 0 16px rgba(37, 244, 238, 0.28);
}

.social-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.social-icons-lg {
  justify-content: center;
  margin: 0 0 1.1rem;
}

.social-icons-lg .social-icon {
  width: 2.7rem;
  height: 2.7rem;
}

.social-icons-lg .social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.header-social-bar {
  border-top: 1px solid rgba(240, 199, 94, 0.12);
  padding: 0.4rem 0 0.5rem;
}

.header-social-bar .social-icons {
  justify-content: flex-end;
}

.founder-socials {
  margin-top: 0.95rem;
}

.footer-socials {
  margin: 0 0 0.85rem;
}

.nav-socials {
  display: none;
}

@media (max-width: 1100px) {
  .header-social-bar {
    display: none;
  }

  .nav.is-open .nav-socials {
    display: flex;
    margin: 0.45rem 0.4rem 0.7rem;
  }
}

/* Live card actions */
.live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  align-items: center;
}

.tier-card .unit {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.champion-card .prize,
.champion-card .score {
  margin-top: 0.35rem;
  color: var(--gold-bright);
  font-weight: 700;
}

.champion-card .date {
  color: var(--muted);
}

.champion-card .battle-no,
.champion-card .battle-label,
.champion-card .theme {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
}

.champion-card .battle-label {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.champion-card .theme {
  color: var(--gold);
}

.champion-card .champion-handle {
  margin: 0.1rem 0 0;
}

.champion-photo,
.champion-photo-static {
  display: block;
  width: calc(100% + 2rem);
  margin: -1rem -1rem 0.85rem;
  padding: 0;
  border: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #1a0a18;
  cursor: default;
}

button.champion-photo {
  cursor: pointer;
  font: inherit;
  color: inherit;
}

button.champion-photo:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--cyan);
}

.champion-photo picture,
.champion-photo-static picture,
.champion-photo img,
.champion-photo-static img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
}

.crowning-photo {
  margin: 0 0 1.2rem;
  overflow: hidden;
}

.crowning-photo img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(4, 0, 10, 0.88);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 44rem);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(155, 92, 255, 0.4);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 6, 32, 0.85);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:focus-visible,
.lightbox-close:hover {
  outline: none;
  box-shadow: 0 0 0 2px var(--cyan);
  color: var(--gold-bright);
}

/* VIP invitation */
.invitation-badge {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 199, 94, 0.55);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.benefits-heading {
  margin: 1.1rem 0 0.4rem;
  font-weight: 700;
  color: var(--gold);
}

.vip-benefits {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--text);
}

.vip-benefits li {
  margin: 0.3rem 0;
}

/* Up Next countdown */
.up-next {
  position: relative;
  padding: 3.2rem 0 3.4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(155, 92, 255, 0.22), transparent 65%),
    linear-gradient(90deg, rgba(254, 44, 85, 0.12), rgba(37, 244, 238, 0.1) 50%, rgba(240, 199, 94, 0.12));
  border-block: 1px solid rgba(240, 199, 94, 0.28);
  box-shadow: inset 0 0 80px rgba(155, 92, 255, 0.12);
}

.up-next-inner {
  max-width: 56rem;
}

.up-next h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffe08a, #fff 40%, #ff2ea6 70%, #25f4ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(240, 199, 94, 0.35));
}

.up-next.is-live h2 {
  background: linear-gradient(90deg, #fe2c55, #ffe08a);
  -webkit-background-clip: text;
  background-clip: text;
}

.up-next-event {
  margin: 0.4rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--gold-bright);
}

.up-next-when,
.up-next-fallback {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.up-next-count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 40rem;
  margin: 0 auto;
}

.up-next-unit {
  padding: 0.9rem 0.4rem 0.85rem;
  border-radius: 1rem;
  background: rgba(7, 1, 15, 0.72);
  border: 1px solid rgba(240, 199, 94, 0.4);
  box-shadow:
    0 0 24px rgba(240, 199, 94, 0.18),
    0 0 40px rgba(37, 244, 238, 0.08),
    inset 0 0 16px rgba(255, 46, 166, 0.06);
}

.up-next-unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(240, 199, 94, 0.55);
}

.up-next-unit span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.up-next.is-live .up-next-live {
  margin-top: 0.4rem;
}

.up-next-live .btn {
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
}

@media (max-width: 720px) {
  .up-next { padding: 2.2rem 0 2.4rem; }
  .up-next-count { gap: 0.45rem; }
  .up-next-unit { padding: 0.7rem 0.2rem 0.65rem; }
  .live-actions { justify-content: flex-start; }
}


/* Install / Add to Home Screen banner */
body.has-install-banner {
  padding-bottom: 6rem;
}

#install-root {
  display: contents;
}

#install-root[hidden] {
  display: none;
}

.install-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #12061f, #07010f);
  border-top: 1px solid rgba(240, 199, 94, 0.38);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.5), 0 0 22px rgba(37, 244, 238, 0.08);
}

.install-banner-inner {
  width: min(var(--max), calc(100% - 0.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.install-banner img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(240, 199, 94, 0.28);
  background: #07010f;
}

.install-copy {
  flex: 1;
  min-width: 0;
}

.install-copy p {
  margin: 0;
}

.install-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.install-hint {
  margin-top: 0.15rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.install-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.install-dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.35rem 0.55rem;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: 999px;
}

.install-dismiss:hover,
.install-dismiss:focus-visible {
  color: var(--text);
  outline: none;
}

.install-dismiss:focus-visible {
  box-shadow: var(--focus);
}

@media (max-width: 720px) {
  .install-banner-inner {
    flex-wrap: wrap;
  }

  .install-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .up-next-unit strong { text-shadow: none; }
}


/* Hall of Champions + Upcoming Box Battle */
.hall-upcoming {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.hall-col .hall-grid {
  grid-template-columns: repeat(2, 1fr);
}

.upcoming-col {
  padding: 1.2rem 1.15rem 1.3rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: var(--card);
  border: 1px solid rgba(255, 46, 166, 0.35);
  box-shadow: 0 0 28px rgba(155, 92, 255, 0.18), var(--shadow);
}

.upcoming-col .section-head {
  margin-bottom: 1.1rem;
}

.upcoming-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.flyer-slot {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  min-height: 0;
}

.flyer-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flyer-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 199, 94, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(155, 92, 255, 0.28), rgba(14, 6, 28, 0.92) 55%, rgba(254, 44, 85, 0.2));
}

.flyer-placeholder p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.flyer-slot:not(.ph) img + .flyer-placeholder {
  display: none;
}

.flyer-slot:not(.ph) img[hidden] + .flyer-placeholder,
.flyer-slot.ph .flyer-placeholder {
  display: grid;
  position: absolute;
}

.upcoming-meta h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.upcoming-meta p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.upcoming-meta .countdown {
  max-width: 18rem;
}

.contestants-box h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}

.contestants-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: center;
}

.vs-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink);
  text-shadow: 0 0 16px rgba(254, 44, 85, 0.55);
}

.contestants-grid {
  display: grid;
  gap: 0.6rem;
  align-items: stretch;
}

.contestants-grid:not([class*="count-"]) {
  grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr));
}

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

.contestants-grid.count-5 {
  grid-template-columns: repeat(6, 1fr);
}

.contestants-grid.count-5 .contestant-card {
  grid-column: span 2;
}

.contestants-grid.count-5 .contestant-card:nth-child(4) {
  grid-column: 2 / 4;
}

.contestants-grid.count-5 .contestant-card:nth-child(5) {
  grid-column: 4 / 6;
}

.contestants-grid.count-6 {
  grid-template-columns: repeat(3, 1fr);
}

.contestants-grid.count-7 {
  grid-template-columns: repeat(12, 1fr);
}

.contestants-grid.count-7 .contestant-card {
  grid-column: span 3;
}

.contestants-grid.count-7 .contestant-card:nth-child(n + 5) {
  grid-column: span 4;
}

.contestants-grid.count-8 {
  grid-template-columns: repeat(4, 1fr);
}

.contestant-card {
  margin: 0;
}

.contestants-note {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contestants-grid.count-7 .contestant-card .avatar,
.contestants-grid.count-8 .contestant-card .avatar {
  width: 72px;
  height: 72px;
}

/* Universe Got Talent featured event */
.talent-band {
  padding: 0.4rem 0 2.4rem;
}

.talent-inner {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1.4rem 2rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  overflow: hidden;
}

.talent-inner .flyer-slot {
  margin: 0;
  min-height: 280px;
}

.talent-copy {
  min-width: 0;
}

.talent-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  margin: 0.15rem 0 0.55rem;
}

.talent-title-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--gold-bright), var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.date-tba-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 199, 94, 0.7);
  background: rgba(240, 199, 94, 0.1);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(240, 199, 94, 0.25);
}

.talent-status {
  margin: 0 0 0.65rem;
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(37, 244, 238, 0.35);
}

.talent-lede {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.talent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.talent-sponsor {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.talent-sponsor a {
  color: var(--gold);
  text-decoration: none;
}

.talent-sponsor a:hover,
.talent-sponsor a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}


/* Mission and motto */
.mission {
  padding-top: 0.2rem;
}

.mission-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.4rem 2.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.mission-motto {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  color: var(--gold-bright);
}

.mission-tagline {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.mission-body {
  margin: 0 auto;
  max-width: 40rem;
  line-height: 1.55;
}

.mission-pillars {
  margin: 1.15rem 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Add to calendar */
.day-cal {
  margin-top: 0.55rem;
}

.calendar-link {
  display: inline-block;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.calendar-link:hover,
.calendar-link:focus-visible {
  color: var(--gold-bright);
}

.schedule-cal {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.schedule-cal p {
  margin: 0;
  max-width: 44rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Universe Time Capsule */
.capsule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.capsule-card {
  padding: 0 0 1rem;
  overflow: hidden;
}

.capsule-card h3 {
  margin: 0.75rem 0.9rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-bright);
}

.capsule-card p {
  margin: 0 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.capsule-text {
  padding: 1.1rem 0.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/* Recognition titles */
.recognition-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.recognition-list li {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(240, 199, 94, 0.35);
  border-radius: 999px;
  background: rgba(14, 6, 28, 0.55);
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.92rem;
}

.recognition-note {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Helping Hands */
.helping-prose {
  max-width: 54rem;
}

.helping-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--gold-bright);
}

.helping-page h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--gold-bright);
}

.aims-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 0 0 0.5rem;
}

.aim-card {
  padding: 1.15rem 1.1rem 1.2rem;
}

.aim-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
}

.aim-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.helping-page a {
  color: var(--gold);
  text-decoration: none;
}

.helping-page a:hover,
.helping-page a:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
  .schedule-grid,
  .tier-grid,
  .music-grid,
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .hub-grid,
  .gallery-grid,
  .capsule-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .aims-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    backdrop-filter: none;
    background: #0b0214;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1rem 1.2rem;
    background: #0d0218;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
  }

  .header-actions { display: none; }
  .nav .btn-live,
  .nav .btn.is-disabled {
    display: none;
  }
  .nav.is-open .btn-live,
  .nav.is-open .btn.is-disabled {
    display: inline-flex;
    margin: 0.4rem 0.4rem 0;
    width: fit-content;
  }

  .menu-toggle { display: inline-grid; place-items: center; }

  .hero-grid,
  .battle-layout,
  .footer-grid,
  .live-card,
  .hall-upcoming,
  .upcoming-body,
  .contestants-vs,
  .talent-inner {
    grid-template-columns: 1fr;
  }

  .hall-col .hall-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vs-mark {
    text-align: center;
  }

  .talent-inner .flyer-slot {
    max-width: 280px;
  }
}

@media (max-width: 720px) {
  .schedule-grid,
  .tier-grid,
  .music-grid,
  .people-grid,
  .hub-grid,
  .contestants-grid.count-4,
  .contestants-grid.count-5,
  .contestants-grid.count-6,
  .contestants-grid.count-7,
  .contestants-grid.count-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

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

  .contestants-grid.count-5 .contestant-card,
  .contestants-grid.count-5 .contestant-card:nth-child(4),
  .contestants-grid.count-5 .contestant-card:nth-child(5),
  .contestants-grid.count-7 .contestant-card,
  .contestants-grid.count-7 .contestant-card:nth-child(n + 5) {
    grid-column: auto;
  }

  .talent-inner .flyer-slot {
    max-width: 240px;
    margin-inline: auto;
    width: 100%;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .brand-text { display: none; }

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

  .promise-rules { grid-template-columns: 1fr; }

  .join-steps-list { grid-template-columns: 1fr; }

  .gallery-grid,
  .capsule-grid { grid-template-columns: repeat(2, 1fr); }

  .aims-grid { grid-template-columns: 1fr; }

  .live-card { justify-items: start; }
}


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