:root {
  --ink: #020611;
  --ink-2: #050d21;
  --ink-3: #081738;
  --panel: rgba(6, 20, 48, .82);
  --panel-strong: rgba(4, 15, 38, .95);
  --line: rgba(64, 202, 255, .20);
  --line-strong: rgba(64, 202, 255, .44);
  --cyan: #24c8ff;
  --cyan-2: #008bff;
  --cyan-soft: #88e4ff;
  --blue: #1269e8;
  --white: #f7fbff;
  --text: #d5e5f4;
  --muted: #7d9ab4;
  --green: #62e5bd;
  --amber: #ffc65a;
  --red: #ff4d70;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --glow: 0 0 32px rgba(23, 190, 255, .16);
  --radius: 20px;
  --radius-sm: 12px;
  --shell: 1240px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(0, 140, 255, .14), transparent 35rem),
    linear-gradient(180deg, #020611 0%, #031020 45%, #020611 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: .5;
  background-image:
    linear-gradient(rgba(44, 174, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 174, 255, .028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.7) 55%, transparent 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: .02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

::selection { background: rgba(36, 200, 255, .30); color: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 2000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #00121f;
  background: var(--cyan);
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }
.section--tight { padding: 74px 0; }
.section--panel {
  border-block: 1px solid rgba(51, 188, 255, .11);
  background: linear-gradient(180deg, rgba(7, 21, 50, .62), rgba(2, 8, 20, .85));
}
.section--dark { background: rgba(1, 5, 14, .48); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(56, 198, 255, .10);
  background: linear-gradient(180deg, rgba(1, 5, 16, .87), rgba(1, 5, 16, .66));
  backdrop-filter: blur(18px);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(1, 6, 18, .93);
  border-color: rgba(56, 198, 255, .18);
  box-shadow: 0 12px 35px rgba(0,0,0,.23);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 25px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 205px; }
.brand-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(71, 211, 255, .54);
  box-shadow: 0 0 22px rgba(26, 191, 255, .18);
}
.brand-lockup strong {
  display: block; font-family: Orbitron, sans-serif; color: var(--white); font-size: .97rem; letter-spacing: .12em; line-height: 1.1;
}
.brand-lockup small { display: block; margin-top: 3px; color: #6988a4; font-size: .54rem; font-weight: 800; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { position: relative; color: #9bb5ca; font-size: .82rem; font-weight: 800; letter-spacing: .015em; padding: 28px 0 26px; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 16px; height: 2px; background: var(--cyan); box-shadow: 0 0 12px rgba(36,200,255,.7); transition: left .18s, right .18s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-live {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px;
  border: 1px solid rgba(41, 204, 255, .36); border-radius: 10px; color: #fff; background: rgba(0, 115, 202, .12);
  font-size: .76rem; font-weight: 900; letter-spacing: .04em; transition: .18s;
}
.header-live:hover { transform: translateY(-1px); border-color: rgba(41, 204, 255, .62); background: rgba(0, 139, 255, .18); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: rgba(5, 21, 48, .82); cursor: pointer; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: #fff; transition: .2s; }

.network-pill, .mini-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 29px; padding: 0 10px;
  color: #90dfff; border: 1px solid rgba(42, 199, 255, .22); border-radius: 999px; background: rgba(4, 26, 56, .52);
  font-size: .61rem; font-weight: 900; letter-spacing: .13em;
}
.signal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(98,229,189,.85); }
.signal-dot--amber { background: var(--amber); box-shadow: 0 0 12px rgba(255,198,90,.8); }

.hero {
  position: relative;
  min-height: 860px;
  padding-top: calc(var(--header-h) + 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(61, 199, 255, .12);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset: -5%;
  background:
    linear-gradient(90deg, rgba(2,6,17,.98) 0%, rgba(2,6,17,.83) 34%, rgba(2,6,17,.22) 66%, rgba(2,6,17,.78) 100%),
    linear-gradient(180deg, rgba(1,5,14,.22) 0%, rgba(1,5,14,.08) 54%, #020611 100%),
    url('../images/brand/hero-banner.webp') center 25% / cover no-repeat;
  transform: scale(1.06);
}
.hero-bg::after {
  content: ""; position: absolute; width: 650px; height: 650px; right: 2%; top: 7%; border: 1px solid rgba(35, 202, 255, .10); border-radius: 50%;
  box-shadow: 0 0 0 66px rgba(0, 161, 255, .025), 0 0 0 132px rgba(0, 161, 255, .018), inset 0 0 100px rgba(0, 180, 255, .025);
  animation: orbitPulse 6s ease-in-out infinite;
}
@keyframes orbitPulse { 50% { transform: scale(1.018); opacity: .58; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr); gap: 68px; align-items: end; position: relative; z-index: 2; }
.hero-copy { max-width: 720px; padding-bottom: 45px; }
.eyebrow { color: #81e0ff; font-size: .68rem; font-weight: 900; letter-spacing: .20em; text-transform: uppercase; }
.hero-title {
  margin: 20px 0 24px; color: #fff; font-family: Orbitron, sans-serif; font-size: clamp(3.4rem, 6.7vw, 7.2rem); font-weight: 900; line-height: .88; letter-spacing: -.06em;
  text-shadow: 0 18px 45px rgba(0,0,0,.65);
}
.hero-title .outline { color: transparent; -webkit-text-stroke: 1px #49d7ff; text-shadow: 0 0 26px rgba(24, 190, 255, .30); }
.hero-lead { max-width: 680px; margin: 0; color: #bfd2e2; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.schedule-note { margin-top: 22px; color: #7d9bb5; font-size: .77rem; }
.schedule-note strong { color: #fff; letter-spacing: .08em; margin-right: 9px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: .82rem; font-weight: 900; letter-spacing: .025em; text-align: center; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #001321; background: linear-gradient(135deg, #0088e8, #2bd0ff); box-shadow: 0 12px 30px rgba(0, 155, 255, .21); }
.button--primary:hover { box-shadow: 0 14px 34px rgba(0, 174, 255, .32); }
.button--secondary { color: #fff; background: rgba(5, 25, 57, .82); border-color: rgba(61, 205, 255, .31); }
.button--secondary:hover { border-color: rgba(61, 205, 255, .58); background: rgba(7, 38, 79, .88); }
.button--ghost { color: #9fc5db; background: transparent; border-color: rgba(81, 177, 222, .20); }
.button--full { width: 100%; }

.live-card {
  position: relative; overflow: hidden; padding: 25px; border: 1px solid rgba(56, 205, 255, .34); border-radius: var(--radius); background: linear-gradient(145deg, rgba(7, 31, 65, .88), rgba(2, 10, 27, .90)); backdrop-filter: blur(17px);
  box-shadow: var(--shadow), inset 0 0 55px rgba(0, 139, 255, .04);
}
.live-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-top: 2px solid rgba(64, 217, 255, .72); mask-image: linear-gradient(90deg, #000, transparent 65%); }
.live-thumb {
  min-height: 205px; margin: -25px -25px 21px; position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(1,8,22,.04), rgba(1,8,22,.90)), url('../images/brand/twitch-banner.webp') center / cover no-repeat;
}
.live-thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(transparent, rgba(3, 12, 28, .98)); }
.live-thumb-logo { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.live-thumb-logo img { width: 122px; height: 122px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(84, 220, 255, .46); box-shadow: 0 0 38px rgba(0, 188, 255, .24); }
.live-thumb.has-live-thumb .live-thumb-logo { opacity: 0; }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 8px; font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.status-chip span { width: 7px; height: 7px; border-radius: 50%; }
.status-chip--offline { color: #9bb0c2; border: 1px solid rgba(144, 165, 184, .20); background: rgba(124, 145, 164, .10); }
.status-chip--offline span { background: #667d91; }
.status-chip--live { color: #fff; border: 1px solid rgba(255, 80, 113, .45); background: rgba(255, 43, 88, .16); }
.status-chip--live span { background: var(--red); box-shadow: 0 0 12px var(--red); animation: liveBlink 1.1s infinite; }
@keyframes liveBlink { 50% { opacity: .34; } }
.micro { color: #6f91ae; font-size: .59rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.live-card h2 { margin: 22px 0 3px; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.45rem; line-height: 1.25; }
.live-game { margin: 0; color: #74ddff; font-weight: 800; }
.live-meta { display: flex; gap: 1px; margin: 24px 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--line); }
.live-meta span { flex: 1; display: flex; flex-direction: column; padding: 12px; color: #65809a; background: rgba(3, 12, 29, .95); font-size: .56rem; font-weight: 900; letter-spacing: .10em; }
.live-meta strong { margin-top: 3px; color: #fff; font-size: .82rem; letter-spacing: 0; }
.scan-line { position: absolute; z-index: 10; left: 0; right: 0; top: -20px; height: 1px; opacity: .24; background: linear-gradient(90deg, transparent, #49dcff, transparent); box-shadow: 0 0 13px rgba(49, 216, 255, .55); animation: scanDown 5s linear infinite; }
@keyframes scanDown { to { transform: translateY(620px); } }

.stats-band { position: relative; z-index: 4; background: rgba(3, 11, 27, .94); border-bottom: 1px solid rgba(55, 192, 255, .12); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-block { padding: 28px 26px; border-right: 1px solid rgba(50, 184, 245, .12); }
.stat-block:first-child { border-left: 1px solid rgba(50, 184, 245, .12); }
.stat-block span, .stat-block small { display: block; color: #647f98; font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.stat-block strong { display: block; margin: 3px 0 1px; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.5rem; }

.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-heading--single { grid-template-columns: 1fr; max-width: 760px; }
.section-heading h2, .page-title { margin: 8px 0 0; color: #fff; font-family: Orbitron, sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: #829db5; max-width: 620px; }
.section-heading .right-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { position: relative; overflow: hidden; min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(7, 29, 61, .70), rgba(3, 11, 27, .92)); }
.info-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -65px; bottom: -70px; border: 1px solid rgba(53, 196, 255, .10); border-radius: 50%; box-shadow: 0 0 0 24px rgba(20, 166, 255, .018), 0 0 0 48px rgba(20, 166, 255, .012); }
.info-card--feature { grid-column: span 2; min-height: 300px; padding-right: 33%; background: linear-gradient(90deg, rgba(4, 22, 51, .97), rgba(4, 22, 51, .76), rgba(4, 22, 51, .38)), url('../images/brand/twitch-banner.webp') 82% center / cover no-repeat; }
.info-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(68, 209, 255, .35); border-radius: 14px; color: #fff; background: rgba(0, 127, 214, .14); font-family: Orbitron, sans-serif; font-weight: 900; box-shadow: inset 0 0 25px rgba(0, 181, 255, .07); }
.info-card h3 { margin: 16px 0 8px; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.08rem; }
.info-card p { margin: 0; color: #7896af; }
.info-card ul { margin: 15px 0 0; padding: 0; list-style: none; color: #87a4bc; font-size: .85rem; }
.info-card li { margin: 6px 0; }
.info-card li::before { content: "//"; color: var(--cyan); margin-right: 8px; font-weight: 900; }

.section-link { display: inline-flex; gap: 7px; align-items: center; color: #8cddf9; font-size: .77rem; font-weight: 900; letter-spacing: .05em; }
.section-link::after { content: "→"; transition: transform .18s; }
.section-link:hover::after { transform: translateX(4px); }

.leaderboard-shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch; }
.podium { min-height: 410px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; align-items: end; }
.podium-card { position: relative; padding: 28px 17px; text-align: center; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(180deg, rgba(8, 31, 64, .74), rgba(3, 12, 29, .95)); overflow: hidden; }
.podium-card::before { content: ""; position: absolute; inset: 0; opacity: .15; background: radial-gradient(circle at 50% 18%, rgba(36,200,255,.50), transparent 42%); }
.podium-1 { min-height: 385px; border-color: rgba(73, 216, 255, .48); box-shadow: inset 0 0 55px rgba(0, 159, 255, .05); }
.podium-2 { min-height: 340px; }
.podium-3 { min-height: 310px; }
.podium-orbit { position: relative; width: 86px; height: 86px; margin: 0 auto 9px; display: grid; place-items: center; border: 1px solid rgba(64, 211, 255, .34); border-radius: 50%; box-shadow: 0 0 0 8px rgba(35, 181, 255, .025), 0 0 22px rgba(0, 177, 255, .10); }
.podium-orbit span { color: #9ee8ff; font-family: Orbitron, sans-serif; font-weight: 900; font-size: 1.05rem; }
.podium-medal { font-size: 1.4rem; margin-bottom: 10px; }
.podium-card > strong { position: relative; display: block; color: #fff; font-family: Orbitron, sans-serif; font-size: .86rem; overflow-wrap: anywhere; }
.podium-card > span { position: relative; display: block; margin-top: 5px; color: #718da6; font-size: .60rem; font-weight: 900; letter-spacing: .10em; }
.podium-card > b { position: relative; display: block; margin-top: 12px; color: #70dcff; font-size: .82rem; }
.rank-list { border: 1px solid var(--line); border-radius: 17px; background: rgba(3, 12, 29, .73); overflow: hidden; }
.rank-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 15px; min-height: 77px; padding: 12px 17px; align-items: center; border-bottom: 1px solid rgba(55, 187, 246, .09); }
.rank-row:last-child { border-bottom: 0; }
.rank-row--top { background: linear-gradient(90deg, rgba(11, 61, 101, .16), transparent); }
.rank-pos { color: #69849d; font-family: Orbitron, sans-serif; font-size: .76rem; text-align: center; }
.rank-member { min-width: 0; }
.rank-member strong { display: block; color: #edf8ff; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-member span { display: block; color: #67849e; font-size: .64rem; }
.rank-bar { height: 3px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(78, 162, 210, .10); }
.rank-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1479e9, #34d3ff); box-shadow: 0 0 10px rgba(52,211,255,.5); }
.rank-xp { text-align: right; }
.rank-xp strong { display: block; color: #77deff; font-family: Orbitron, sans-serif; font-size: .83rem; }
.rank-xp span { display: block; color: #5e7992; font-size: .55rem; font-weight: 900; letter-spacing: .1em; }

.clips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clip-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(4, 14, 33, .85); transition: transform .2s, border-color .2s, box-shadow .2s; }
.clip-card:hover { transform: translateY(-5px); border-color: rgba(61, 205, 255, .48); box-shadow: 0 20px 46px rgba(0,0,0,.25); }
.clip-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(145deg, rgba(0, 91, 160, .38), rgba(2, 8, 22, .84)), url('../images/brand/youtube-banner.webp') center / cover no-repeat; }
.clip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.clip-card:hover .clip-media img { transform: scale(1.025); }
.clip-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(1,5,14,.55)); }
.clip-play { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; width: 50px; height: 50px; margin: auto; border: 1px solid rgba(121, 228, 255, .52); border-radius: 50%; color: #fff; background: rgba(0, 125, 213, .23); backdrop-filter: blur(6px); box-shadow: 0 0 25px rgba(0, 188, 255, .18); }
.clip-duration { position: absolute; z-index: 3; right: 9px; bottom: 8px; padding: 3px 7px; border-radius: 6px; color: #fff; background: rgba(0,0,0,.78); font-size: .62rem; font-weight: 900; }
.clip-copy { padding: 18px 19px 20px; }
.clip-copy h3 { margin: 7px 0 6px; color: #fff; font-size: 1rem; line-height: 1.35; }
.clip-copy p { margin: 0; color: #7897b0; font-size: .76rem; }
.clip-copy p strong { color: #bfefff; }
.clip-copy small { display: inline-block; margin-top: 10px; color: #72e1b9; font-size: .65rem; font-weight: 800; }

.achievement-feed { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: rgba(3, 13, 31, .74); }
.achievement-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; min-height: 88px; padding: 14px 18px; border-bottom: 1px solid rgba(54, 185, 244, .09); }
.achievement-row:last-child { border-bottom: 0; }
.achievement-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(62, 204, 255, .25); border-radius: 11px; background: rgba(0, 126, 210, .10); font-size: 1.15rem; }
.achievement-row strong { display: block; color: #fff; font-size: .88rem; }
.achievement-row p { margin: 2px 0 0; color: #748fa8; font-size: .72rem; }
.achievement-row time { color: #617c95; font-size: .64rem; white-space: nowrap; }

.giveaway-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.giveaway-main, .giveaway-rules, .giveaway-empty { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(7, 30, 63, .70), rgba(3, 11, 27, .92)); }
.giveaway-main { min-height: 360px; padding: 34px; position: relative; overflow: hidden; }
.giveaway-main::after { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background: url('../images/brand/youtube-banner-full.webp') 70% 40% / cover no-repeat; mask-image: linear-gradient(90deg, transparent 38%, #000); }
.giveaway-main > * { position: relative; z-index: 2; }
.giveaway-main h2, .giveaway-empty h2 { margin: 10px 0 10px; color: #fff; font-family: Orbitron, sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.giveaway-main p, .giveaway-empty p { max-width: 650px; color: #819bb3; }
.prize-label { display: inline-flex; flex-direction: column; margin-top: 20px; padding: 12px 15px; border-left: 2px solid var(--cyan); background: rgba(1, 11, 27, .66); }
.prize-label span { color: #62809b; font-size: .58rem; font-weight: 900; letter-spacing: .14em; }
.prize-label strong { color: #fff; font-family: Orbitron, sans-serif; font-size: .93rem; }
.countdown { display: flex; gap: 8px; margin-top: 25px; }
.countdown > div { min-width: 84px; padding: 12px; text-align: center; border: 1px solid rgba(57, 196, 255, .18); border-radius: 10px; background: rgba(2, 12, 29, .76); }
.countdown strong { display: block; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.22rem; }
.countdown span { color: #607d97; font-size: .55rem; font-weight: 900; letter-spacing: .12em; }
.giveaway-rules { padding: 30px; }
.giveaway-rules ul { list-style: none; padding: 0; margin: 22px 0 28px; }
.giveaway-rules li { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; color: #99b1c5; font-size: .82rem; }
.giveaway-rules li span { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #002518; background: var(--green); font-weight: 900; font-size: .7rem; }
.entry-count { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.entry-count strong { color: #fff; font-family: Orbitron, sans-serif; font-size: 1.55rem; }
.entry-count span { color: #66839d; font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.giveaway-empty { grid-column: 1/-1; padding: 46px; text-align: center; }
.giveaway-glyph { font-size: 2.5rem; margin-bottom: 8px; }
.giveaway-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #76dab9; font-size: .66rem; font-weight: 900; letter-spacing: .14em; }

.schedule-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.schedule-item { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(4, 16, 38, .78); }
.schedule-item > span { display: inline-block; color: #75ddff; font-family: Orbitron, sans-serif; font-size: .65rem; letter-spacing: .12em; }
.schedule-item > strong { display: block; margin: 12px 0 3px; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.15rem; }
.schedule-item > b { color: #a9dff3; font-size: .9rem; }
.schedule-item > small { display: block; margin-top: 8px; color: #5f7c96; font-size: .56rem; font-weight: 900; letter-spacing: .12em; }
.schedule-item.is-next { border-color: rgba(55, 210, 255, .50); box-shadow: inset 0 0 35px rgba(0, 173, 255, .05); }
.schedule-item.is-next::after { content: "NEXT"; position: absolute; top: 14px; right: 14px; color: #00121f; background: var(--cyan); padding: 3px 7px; border-radius: 5px; font-size: .50rem; font-weight: 900; letter-spacing: .10em; }

.community-snapshot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.community-snapshot > div { padding: 22px; background: rgba(3, 13, 32, .96); }
.community-snapshot span { display: block; color: #617f9a; font-size: .57rem; font-weight: 900; letter-spacing: .12em; }
.community-snapshot strong { display: block; margin-top: 6px; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.22rem; }

.page-hero { position: relative; padding: calc(var(--header-h) + 92px) 0 86px; overflow: hidden; border-bottom: 1px solid rgba(54, 190, 255, .12); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,6,17,.98), rgba(2,6,17,.72), rgba(2,6,17,.92)), url('../images/brand/hero-banner.webp') center 35% / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: 4%; top: -100px; border: 1px solid rgba(52, 205, 255, .10); border-radius: 50%; box-shadow: 0 0 0 55px rgba(33, 177, 255, .018), 0 0 0 110px rgba(33, 177, 255, .012); }
.page-hero-inner { max-width: 850px; }
.page-hero p { max-width: 720px; margin: 20px 0 0; color: #9db4c8; font-size: 1.02rem; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; color: #67859f; font-size: .68rem; font-weight: 800; letter-spacing: .06em; margin-bottom: 18px; }
.breadcrumbs a:hover { color: #fff; }

.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 45px; align-items: center; }
.about-portrait { position: relative; }
.about-portrait img { width: 100%; border-radius: 21px; border: 1px solid rgba(64, 211, 255, .26); box-shadow: var(--shadow); }
.about-portrait::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid rgba(64, 211, 255, .10); border-radius: 21px; }
.prose h2 { margin: 0 0 18px; color: #fff; font-family: Orbitron, sans-serif; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.07; }
.prose h3 { margin: 28px 0 8px; color: #fff; font-family: Orbitron, sans-serif; font-size: 1.1rem; }
.prose p { color: #8ba4ba; }
.prose strong { color: #dff5ff; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.spec-card { padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(6, 28, 60, .68), rgba(3, 11, 27, .92)); }
.spec-card--wide { grid-column: 1/-1; }
.spec-card h2, .spec-card h3 { margin: 8px 0 18px; color: #fff; font-family: Orbitron, sans-serif; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 0; }
.spec-list div { display: grid; grid-template-columns: 115px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(58, 182, 239, .08); }
.spec-list dt { color: #607f9a; font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.spec-list dd { margin: 0; color: #d7e8f6; font-size: .82rem; }

.brand-panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-panel { display: block; overflow: hidden; border: 1px solid rgba(58, 196, 255, .16); border-radius: 13px; background: rgba(3, 12, 29, .76); transition: .18s; }
.brand-panel:hover { transform: translateY(-3px); border-color: rgba(58, 196, 255, .45); box-shadow: 0 16px 35px rgba(0,0,0,.22); }
.brand-panel img { width: 100%; }

.empty-state { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; color: #6f8ca7; }
.empty-state--wide { grid-column: 1/-1; border: 1px solid var(--line); border-radius: 17px; }
.empty-state > span { font-size: 1.6rem; color: #6edbff; }
.empty-state strong { margin-top: 7px; color: #c8e8f7; }
.empty-state p { margin: 5px 0 0; font-size: .78rem; }

.data-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; color: #5c7993; font-size: .62rem; }
.data-caption strong { color: #7799b5; }

.cta-band { position: relative; overflow: hidden; border-block: 1px solid rgba(55, 197, 255, .14); background: #041329; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .33; background: linear-gradient(90deg, rgba(2,10,25,.98), rgba(2,10,25,.46), rgba(2,10,25,.95)), url('../images/brand/twitch-banner.webp') center / cover no-repeat; }
.cta-inner { position: relative; z-index: 2; min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cta-inner h2 { margin: 7px 0 5px; color: #fff; font-family: Orbitron, sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-inner p { margin: 0; color: #8aa7bd; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }


.leaderboard-tabs { display: inline-flex; gap: 7px; margin: -10px 0 22px; padding: 5px; border: 1px solid rgba(56, 190, 248, .16); border-radius: 12px; background: rgba(2, 11, 28, .72); }
.leaderboard-tab { min-height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #718da7; font-size: .69rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; transition: .18s ease; }
.leaderboard-tab:hover { color: #fff; background: rgba(27, 167, 235, .08); }
.leaderboard-tab.is-active { color: #001321; border-color: rgba(78, 215, 255, .7); background: linear-gradient(135deg, #12a9ee, #51ddff); box-shadow: 0 8px 24px rgba(0, 169, 255, .15); }

.site-footer { position: relative; padding: 55px 0 24px; border-top: 1px solid rgba(55, 190, 255, .10); background: #01050e; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 170px; opacity: .14; background: url('../images/brand/youtube-banner.webp') center / cover no-repeat; mask-image: linear-gradient(to bottom, #000, transparent); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 45px; padding-bottom: 38px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(54, 199, 255, .26); }
.footer-brand strong { display: block; color: #fff; font-family: Orbitron, sans-serif; letter-spacing: .10em; }
.footer-brand span { display: block; color: #607d98; font-size: .63rem; }
.footer-copy { max-width: 430px; margin-top: 17px; color: #6c879f; font-size: .78rem; }
.footer-column h3 { margin: 0 0 14px; color: #dff4ff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { display: block; margin: 8px 0; color: #748fa8; font-size: .77rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(51, 176, 235, .09); color: #526c84; font-size: .64rem; }
.footer-bottom a:hover { color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.is-ready [data-reveal]:not(.is-visible) { will-change: transform, opacity; }

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

@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .76rem; }
  .hero-grid { grid-template-columns: 1fr .78fr; gap: 34px; }
  .leaderboard-shell { grid-template-columns: 1fr; }
  .podium { min-height: 360px; }
}

@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .header-inner { min-height: var(--header-h); }
  .header-actions .header-live { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; z-index: 110; left: 15px; right: 15px; top: calc(var(--header-h) + 10px); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px;
    border: 1px solid rgba(61, 202, 255, .22); border-radius: 14px; background: rgba(2, 9, 24, .98); box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 13px; border-radius: 8px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.is-active { background: rgba(0, 138, 226, .12); }
  .hero { min-height: auto; padding: calc(var(--header-h) + 70px) 0 78px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; max-width: 760px; }
  .hero-bg::before { background: linear-gradient(90deg, rgba(2,6,17,.97), rgba(2,6,17,.60)), linear-gradient(180deg, transparent 35%, #020611), url('../images/brand/hero-banner.webp') 62% center / cover no-repeat; }
  .live-card { max-width: 620px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(odd) { border-left: 1px solid rgba(50, 184, 245, .12); }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading .right-actions { justify-self: start; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .info-card--feature { grid-column: 1/-1; }
  .clips-grid { grid-template-columns: repeat(2, 1fr); }
  .giveaway-wrap { grid-template-columns: 1fr; }
  .community-snapshot { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .cta-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px 0; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .brand-lockup small { display: none; }
  .brand-lockup { min-width: 0; }
  .brand-avatar { width: 40px; height: 40px; }
  .hero { padding-top: calc(var(--header-h) + 52px); }
  .hero-title { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-lead { font-size: .96rem; }
  .hero-actions .button { width: 100%; }
  .live-card { padding: 20px; }
  .live-thumb { margin: -20px -20px 18px; min-height: 165px; }
  .live-top { align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 21px 16px; }
  .stat-block strong { font-size: 1.18rem; }
  .section { padding: 76px 0; }
  .section--tight { padding: 56px 0; }
  .section-heading { margin-bottom: 29px; }
  .card-grid { grid-template-columns: 1fr; }
  .info-card--feature { grid-column: auto; padding-right: 27px; background: linear-gradient(145deg, rgba(7,29,61,.84), rgba(3,11,27,.95)); }
  .podium { grid-template-columns: 1fr; min-height: auto; align-items: stretch; }
  .podium-card, .podium-1, .podium-2, .podium-3 { min-height: auto; display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; text-align: left; }
  .podium-orbit { width: 55px; height: 55px; margin: 0; grid-row: 1 / 4; }
  .podium-medal { display: none; }
  .podium-card > strong { align-self: end; }
  .podium-card > span { align-self: start; }
  .podium-card > b { grid-column: 3; grid-row: 1 / 4; margin: 0; }
  .leaderboard-tabs { display: grid; grid-template-columns: 1fr; width: 100%; }
  .leaderboard-tab { width: 100%; }
  .rank-row { grid-template-columns: 42px 1fr auto; padding-inline: 10px; gap: 10px; }
  .rank-member span { display: none; }
  .clips-grid { grid-template-columns: 1fr; }
  .achievement-row { grid-template-columns: 44px 1fr; }
  .achievement-row time { grid-column: 2; margin-top: -8px; }
  .schedule-list { grid-template-columns: 1fr; }
  .schedule-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 18px; }
  .schedule-item > strong { margin: 0; }
  .schedule-item > b { text-align: right; }
  .schedule-item > small { grid-column: 2; margin: -8px 0 0; }
  .schedule-item.is-next::after { position: static; grid-column: 3; grid-row: 2; justify-self: end; }
  .community-snapshot { grid-template-columns: 1fr 1fr; }
  .community-snapshot > div { padding: 17px; }
  .giveaway-main, .giveaway-rules, .giveaway-empty { padding: 25px; }
  .countdown > div { min-width: 0; flex: 1; padding: 9px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card--wide { grid-column: auto; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 92px 1fr; }
  .brand-panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding-top: calc(var(--header-h) + 66px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   JaySynthTV v1.0.2 — layout polish + accurate setup page
   ========================================================= */

/* Home: intentional large feature + two balanced side cards. */
.community-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr);
  gap: 18px;
  align-items: stretch;
}
.community-feature-grid > *,
.community-feature-stack > * { min-width: 0; }
.community-feature-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.community-feature-grid .info-card--feature {
  grid-column: auto;
  min-height: 100%;
  padding-right: 34%;
}
.info-card--compact { min-height: 0; }

/* Giveaway empty state: feels deliberate instead of like an empty billboard. */
.giveaway-empty {
  width: min(100%, 1080px);
  min-height: 285px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px clamp(28px, 5vw, 64px);
}
.giveaway-empty h2 {
  max-width: 900px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  text-wrap: balance;
}
.giveaway-empty p { margin-inline: auto; }
.giveaway-glyph { line-height: 1; }

/* About: contain the artwork and guarantee the copy always owns real space. */
.about-grid {
  grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.about-grid > * { min-width: 0; }
.about-portrait {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.prose { min-width: 0; }
.prose p { overflow-wrap: anywhere; }

/* Setup: cards size to their own content, not the tallest neighbour. */
.spec-grid {
  align-items: start;
}
.spec-card {
  align-self: start;
  width: 100%;
}
.spec-grid--natural { align-items: start; }
.spec-list--single { grid-template-columns: 1fr; }
.spec-list--single div {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
}
.spec-list--single dd { overflow-wrap: anywhere; }

/* Custom production section: one feature panel, two compact supporting panels. */
.production-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 18px;
  align-items: stretch;
}
.production-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7, 29, 61, .70), rgba(3, 11, 27, .92));
}
.production-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -78px;
  bottom: -78px;
  border: 1px solid rgba(53, 196, 255, .10);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(20, 166, 255, .018), 0 0 0 52px rgba(20, 166, 255, .012);
}
.production-card > * { position: relative; z-index: 1; }
.production-card--feature {
  grid-row: 1 / span 2;
  min-height: 100%;
  padding-right: min(34%, 250px);
  background:
    linear-gradient(90deg, rgba(4, 22, 51, .98), rgba(4, 22, 51, .76), rgba(4, 22, 51, .38)),
    url('../images/brand/twitch-banner.webp') 78% center / cover no-repeat;
}
.production-card h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-family: Orbitron, sans-serif;
  font-size: 1.08rem;
}
.production-card p { margin: 0; color: #7896af; }
.production-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #8aa7bd;
  font-size: .84rem;
}
.production-card li { margin: 7px 0; }
.production-card li::before { content: "//"; margin-right: 8px; color: var(--cyan); font-weight: 900; }

/* Slightly tighten page intros on wide displays so the next section enters sooner. */
@media (min-width: 1280px) {
  .page-hero { padding-bottom: 76px; }
}

@media (max-width: 920px) {
  .community-feature-grid { grid-template-columns: 1fr; }
  .community-feature-grid .info-card--feature { min-height: 310px; }
  .community-feature-stack { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 430px; }
  .production-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .production-card--feature { grid-row: auto; min-height: 320px; }
}

@media (max-width: 640px) {
  .community-feature-stack { grid-template-columns: 1fr; }
  .community-feature-grid .info-card--feature,
  .production-card--feature {
    min-height: 0;
    padding-right: 27px;
    background: linear-gradient(145deg, rgba(7,29,61,.84), rgba(3,11,27,.95));
  }
  .giveaway-empty { min-height: 250px; }
  .spec-list--single div { grid-template-columns: 105px minmax(0, 1fr); gap: 12px; }
}
