/* ── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-alt: #181818;
  --border: #242424;
  --text: #f0eeeb;
  --muted: #888880;
  --red: #d42020;
  --red-dim: #5a0e0e;
  --red-glow: rgba(212, 32, 32, 0.2);
  --nav-bg: rgba(10, 10, 10, 0.96);
  --card-bg: #131313;
  --tag-bg: #1e1e1e;
  --tag-border: #3a1010;
  --divider: 1px solid var(--border);

  --pad-section-y: clamp(60px, 8vw, 100px);
  --pad-section-x: clamp(20px, 5vw, 80px);
}

/* ── reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
button { font-family: inherit; }
img { display: block; }
h1, h2, h3 { font-weight: normal; }
.red { color: var(--red); }

/* ── nav ────────────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--pad-section-x);
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
#site-nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo { height: 34px; width: 34px; object-fit: contain; mix-blend-mode: lighten; }
.nav-wordmark {
  font-family: 'Lacquer', cursive;
  color: var(--text); font-size: 19px; letter-spacing: 0.04em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.14em;
  color: var(--muted); text-decoration: none; padding: 4px 0;
  transition: color 0.18s;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  background: var(--red); color: #fff; padding: 8px 20px;
  font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.14em;
  text-decoration: none; transition: opacity 0.18s;
}
.nav-cta:hover { opacity: 0.82; }

/* ── shared section pieces ──────────────────────────────────────────────── */
.section-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.section-label .bar { width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.section-label .label-text {
  font-family: 'Oswald', sans-serif; color: var(--red);
  font-size: 11px; letter-spacing: 0.25em;
}
.display {
  font-family: 'Lacquer', cursive; color: var(--text);
  font-size: clamp(32px, 4vw, 52px); line-height: 1.1;
}
.prose {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 16px; line-height: 1.8;
  margin-bottom: 18px;
}
.prose + .prose { margin-bottom: 32px; }
.surface { background: var(--surface); border-top: var(--divider); padding: var(--pad-section-y) var(--pad-section-x); }
.two-col {
  padding: var(--pad-section-y) var(--pad-section-x);
  display: grid; gap: 64px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.section-head-meta {
  font-family: 'Oswald', sans-serif; color: var(--muted);
  font-size: 13px; letter-spacing: 0.1em;
}

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 0.14em;
  padding: 14px 32px; border: none; transition: opacity 0.18s;
}
.btn:hover { opacity: 0.82; }
.btn-red { background: var(--red); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid #444; }

/* ── hero ───────────────────────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  mix-blend-mode: lighten; opacity: 0.15; z-index: 0;
  transform: scale(1.05);
}
.hero-fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0.27) 0%,
    rgba(10, 10, 10, 0.6) 55%,
    var(--bg) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px; max-width: 880px;
}
.hero-eyebrow {
  font-family: 'Oswald', sans-serif; color: var(--red);
  font-size: 11px; letter-spacing: 0.35em; margin-bottom: 28px;
}
.hero-title-bad {
  font-family: 'Lacquer', cursive; color: var(--text);
  font-size: clamp(64px, 10vw, 128px); line-height: 0.9; margin-bottom: 8px;
}
.hero-title-company {
  font-family: 'Lacquer', cursive; color: var(--text);
  font-size: clamp(40px, 6vw, 80px); line-height: 1;
  margin-bottom: 24px; letter-spacing: 0.04em;
}
.hero-lede {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7;
  max-width: 560px; margin: 0 auto 44px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll-label {
  font-family: 'Oswald', sans-serif; color: var(--muted);
  font-size: 10px; letter-spacing: 0.22em;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(var(--red), transparent);
}

/* ── stats ──────────────────────────────────────────────────────────────── */
.stats {
  background: var(--surface);
  border-top: var(--divider); border-bottom: var(--divider);
  padding: 0 var(--pad-section-x);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { text-align: center; padding: 32px 20px; border-right: var(--divider); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Lacquer', cursive; color: var(--red);
  font-size: 44px; line-height: 1;
}
.stat-label {
  font-family: 'Oswald', sans-serif; color: var(--muted);
  font-size: 11px; letter-spacing: 0.18em; margin-top: 8px;
}

/* ── about ──────────────────────────────────────────────────────────────── */
#about .display { margin-bottom: 24px; }
.mini-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.mini-stat-num {
  font-family: 'Lacquer', cursive; color: var(--red); font-size: 20px;
}
.mini-stat-label {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 12px; margin-top: 2px;
}
.rank-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.rank-card { background: var(--surface); padding: 28px 22px; }
.rank-name {
  font-family: 'Lacquer', cursive; color: var(--red);
  font-size: 20px; margin-bottom: 8px;
}
.rank-desc {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 13px; line-height: 1.6;
}

/* ── games ──────────────────────────────────────────────────────────────── */
.games-grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.game-card {
  background: var(--card-bg); padding: 28px;
  transition: background 0.18s;
}
.game-card:hover { background: var(--surface-alt); }
.game-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px; gap: 12px;
}
.game-name {
  font-family: 'Lacquer', cursive; color: var(--text); font-size: 18px;
}
.game-desc {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 13px; line-height: 1.6;
}
.tag {
  background: var(--tag-bg); color: var(--red);
  border: 1px solid var(--tag-border);
  padding: 2px 8px; font-size: 9px;
  font-family: 'Oswald', sans-serif; letter-spacing: 0.12em;
  flex-shrink: 0;
}

/* ── join / steps ───────────────────────────────────────────────────────── */
#join-section .display { margin-bottom: 24px; }
.step-grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.step-card { background: var(--surface); padding: 28px 24px; }
.step-num {
  font-family: 'Lacquer', cursive; color: var(--red-dim);
  font-size: 44px; line-height: 1; margin-bottom: 12px;
}
.step-title {
  font-family: 'Oswald', sans-serif; color: var(--text);
  font-size: 16px; margin-bottom: 8px;
}
.step-desc {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 13px; line-height: 1.6;
}

/* ── events ─────────────────────────────────────────────────────────────── */
.events-heading { margin-bottom: 48px; }
.events-grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.event-card { background: var(--card-bg); padding: 28px; }
.event-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 18px; gap: 12px;
}
.event-date {
  font-family: 'Oswald', sans-serif; color: var(--red);
  font-size: 13px; letter-spacing: 0.1em;
}
.event-time {
  font-family: 'Inter', sans-serif; color: var(--muted); font-size: 12px;
}
.event-title {
  font-family: 'Lacquer', cursive; color: var(--text);
  font-size: 18px; margin-bottom: 10px;
}
.event-desc {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 13px; line-height: 1.6;
}

/* ── academy ────────────────────────────────────────────────────────────── */
#academy .display { margin-bottom: 24px; }
.course-list { display: flex; flex-direction: column; gap: 2px; }
.course-row {
  background: var(--surface); padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Oswald', sans-serif; color: var(--text); font-size: 15px;
  transition: background 0.18s;
}
.course-row:hover { background: var(--surface-alt); }

/* ── social ─────────────────────────────────────────────────────────────── */
.social-tabs { display: flex; gap: 4px; }
.social-tab {
  background: var(--card-bg); color: var(--muted);
  border: none; cursor: pointer; padding: 10px 20px;
  font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.12em;
  transition: background 0.18s, color 0.18s;
}
.social-tab[data-tab="youtube"].is-active { background: #ff0000; color: #fff; }
.social-tab[data-tab="instagram"].is-active { background: #e1306c; color: #fff; }
.social-tab[data-tab="tiktok"].is-active { background: #69c9d0; color: #fff; }
.social-tab[data-tab="facebook"].is-active { background: #1877f2; color: #fff; }
.social-panel { display: none; }
.social-panel.is-active { display: block; }
.social-loading,
.social-empty {
  grid-column: 1 / -1;
  background: var(--card-bg);
  padding: 48px 32px; text-align: center;
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 14px; line-height: 1.6;
  margin-bottom: 24px;
}
.social-empty code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  background: var(--surface-alt); color: var(--text);
  padding: 2px 6px; font-size: 12px;
}
.social-empty a { color: var(--red); text-decoration: none; }
.social-empty a:hover { text-decoration: underline; }

.placeholder {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  background: repeating-linear-gradient(45deg,
    var(--surface) 0px, var(--surface) 10px,
    var(--surface-alt) 10px, var(--surface-alt) 20px);
}
.placeholder-16x9 { aspect-ratio: 16 / 9; }
.placeholder-1x1 { aspect-ratio: 1 / 1; }
.placeholder-9x16 { aspect-ratio: 9 / 16; }

/* youtube */
.yt-grid {
  display: grid; gap: 2px; margin-bottom: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.yt-card {
  background: var(--card-bg); overflow: hidden; text-decoration: none;
  color: inherit; transition: opacity 0.18s; display: block;
}
.yt-card:hover { opacity: 0.85; }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; background: rgba(255, 0, 0, 0.85);
  display: flex; align-items: center; justify-content: center;
}
.yt-play::after {
  content: ''; width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid #fff; margin-left: 4px;
}
.yt-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0, 0, 0, 0.85); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 11px; padding: 2px 6px;
}
.yt-thumb { background-color: var(--surface); }
.yt-meta { padding: 16px; }
.yt-title {
  font-family: 'Inter', sans-serif; color: var(--text);
  font-size: 14px; line-height: 1.5; margin-bottom: 8px; font-weight: 500;
}
.yt-sub {
  display: flex; gap: 12px;
  font-family: 'Inter', sans-serif; color: var(--muted); font-size: 12px;
}

/* instagram (link-out tile) */
.ig-followout {
  display: flex; align-items: center; gap: 28px;
  background: var(--card-bg); padding: 36px clamp(24px, 4vw, 48px);
  text-decoration: none; color: inherit;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: background 0.18s, border-color 0.18s;
  position: relative; overflow: hidden;
}
.ig-followout:hover { background: var(--surface-alt); border-color: #e1306c; }
.ig-followout-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  flex-shrink: 0; position: relative;
}
.ig-followout-icon::before,
.ig-followout-icon::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 3px solid #fff;
}
.ig-followout-icon::before {
  inset: 14px; border-radius: 50%;
}
.ig-followout-icon::after {
  width: 6px; height: 6px; top: 10px; right: 10px;
  background: #fff; border: none;
}
.ig-followout-eyebrow {
  font-family: 'Oswald', sans-serif; color: var(--muted);
  font-size: 11px; letter-spacing: 0.25em; margin-bottom: 4px;
}
.ig-followout-handle {
  font-family: 'Lacquer', cursive; color: var(--text);
  font-size: 28px; line-height: 1; margin-bottom: 8px;
}
.ig-followout-cta {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 14px; line-height: 1.5;
}
.fb-followout-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #1877f2;
  flex-shrink: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 36px; color: #fff;
  line-height: 1; padding-bottom: 4px;
}
.fb-followout-icon::after { content: 'f'; }
@media (max-width: 520px) {
  .ig-followout { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* tiktok */
.tt-grid {
  display: grid; gap: 16px; margin-bottom: 24px;
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  align-items: start;
}
.tt-card {
  background: var(--card-bg);
  display: flex; align-items: stretch; justify-content: center;
  min-height: 560px;
}
.tt-card .tiktok-embed {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 325px !important;
  width: 100%;
}

/* social bottom links */
.social-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); text-decoration: none;
  font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.12em;
  transition: color 0.18s;
}
.social-link-yt:hover { color: #ff0000; }
.social-link-ig:hover { color: #e1306c; }
.social-link-tt:hover { color: #69c9d0; }
.yt-mini-play {
  width: 20px; height: 14px; background: #ff0000;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.yt-mini-play::after {
  content: ''; width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid #fff; margin-left: 2px;
}
.ig-mini-icon {
  width: 18px; height: 18px;
  border: 2px solid #e1306c; border-radius: 4px;
}
.tt-mini-note {
  font-family: 'Inter', sans-serif; font-size: 16px;
  color: #69c9d0; font-weight: 700;
}

/* ── final cta ──────────────────────────────────────────────────────────── */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--red);
  padding: var(--pad-section-y) var(--pad-section-x);
  text-align: center;
}
.final-cta-bg {
  position: absolute; right: -60px; top: 50%;
  transform: translateY(-50%);
  height: 90%; object-fit: contain;
  mix-blend-mode: multiply; opacity: 0.12;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta-eyebrow {
  font-family: 'Oswald', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px; letter-spacing: 0.3em; margin-bottom: 20px;
}
.final-cta-headline {
  font-family: 'Lacquer', cursive; color: #fff;
  font-size: clamp(40px, 6vw, 80px); line-height: 1; margin-bottom: 20px;
}
.final-cta-prose {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px; max-width: 480px; margin: 0 auto 40px;
}
.final-cta-btn {
  background: #fff; color: var(--red);
  padding: 16px 44px; text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 15px; letter-spacing: 0.15em;
  display: inline-block; transition: opacity 0.18s;
}
.final-cta-btn:hover { opacity: 0.9; }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface); border-top: var(--divider);
  padding: 40px var(--pad-section-x);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo { height: 28px; mix-blend-mode: lighten; }
.footer-wordmark {
  font-family: 'Lacquer', cursive; color: var(--text); font-size: 16px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: 'Inter', sans-serif; color: var(--muted);
  font-size: 13px; text-decoration: none;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--text); }
.footer-copyright {
  font-family: 'Inter', sans-serif; color: var(--muted); font-size: 12px;
}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .nav-links { gap: 14px; }
  .nav-link:not(.nav-cta) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: var(--divider); }
  .rank-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
}
