/* ===== Self-hosted: Baloo 2 (used for body/small text) ===== */
@font-face {
  font-family: 'Baloo 2';
  src: url('fonts/Baloo2-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ===== CiderTM hub — design tokens ===== */
:root {
  --bg: #0E1116;
  --surface: #161A22;
  --surface-2: #1C2230;
  --border: #262C39;
  --text: #F2F4F7;
  --text-dim: #9AA3B2;
  --amber: #E8923C;
  --amber-soft: #F3B06A;
  --grass: #5DAF3C;
  --twitch: #9146FF;
  --youtube: #FF0033;
  --tiktok: #25F4EE;
  --discord: #5865F2;
  --kofi: #FF5E5B;
  --throne: #FFCE3A;
  --se: #16C39A;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 30px rgba(0,0,0,.45);

  --font-body: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-small: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-pixel: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { letter-spacing: -0.02em; margin: 0 0 .5em; }

/* ===== Baloo 2 EVERYWHERE — except icon fonts and headings ===== */
*:not([class*="si "]):not([class*=" si"]):not(.si):not([class^="si-"]):not([class*=" si-"]):not(h1):not(h2):not(h3),
*:not([class*="si "]):not([class*=" si"]):not(.si):not([class^="si-"]):not([class*=" si-"]):not(h1):not(h2):not(h3)::before,
*:not([class*="si "]):not([class*=" si"]):not(.si):not([class^="si-"]):not([class*=" si-"]):not(h1):not(h2):not(h3)::after {
  font-family: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
}

/* Headings keep the original Inter display font */
h1, h2, h3 {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
}

/* Restore the icon font for simple-icons elements */
.si, [class*=" si-"], [class^="si-"] {
  font-family: 'Simple Icons' !important;
}

/* Pixel label utility */
.pixel-label {
  font-family: var(--font-pixel);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pixel-label .si { color: inherit; font-size: 16px; }
.amber { color: var(--amber); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 17, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 800;
}
.logo__mark {
  width: 28px; height: 28px;
  color: var(--amber);
  flex-shrink: 0;
}
.logo__mark--img {
  width: 64px; height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
  transition: transform .25s ease;
}
.logo:hover .logo__mark--img { transform: rotate(-4deg) scale(1.05); }
.logo__word { font-size: 18px; letter-spacing: -0.01em; }
.logo__word--accent { color: var(--amber); }
.logo__word--tm {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--amber);
  align-self: flex-start;
  margin-top: 4px;
}
.logo--sm .logo__mark { width: 22px; height: 22px; }
.logo--sm .logo__mark--img { width: 48px; height: 48px; }
.logo--sm .logo__word--tm { font-size: 10px; margin-top: 2px; }

/* Animated transparent-background video logo */
.logo__video {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
  transition: transform .25s ease;
  background: transparent;
  display: block;
}
.logo:hover .logo__video { transform: rotate(-2deg) scale(1.04); }
.logo__video--sm { height: 42px; }
@media (max-width: 700px) {
  .logo__video { height: 44px; }
  .logo__video--sm { height: 36px; }
}

.nav__links {
  display: flex; gap: 22px; margin-left: auto; margin-right: 16px;
  font-size: 14px;
}
.nav__links a {
  color: var(--text-dim); transition: color .2s;
  position: relative;
  /* allow peek image to extend down without expanding the link's hitbox visually */
}
.nav__links a:hover { color: var(--text); }

/* ===== Tab hover peek-character ===== */
.nav__links a .peek {
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  transform: translate(-50%, -28px) scale(.85) rotate(-6deg);
  width: 86px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  z-index: -1;            /* sits behind the tab */
  transition: opacity .28s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
  image-rendering: pixelated;
  user-select: none;
  -webkit-user-drag: none;
}
.nav__links a:hover .peek {
  opacity: 1;
  transform: translate(-50%, 6px) scale(1) rotate(0deg);
  animation: peekBob 1.6s ease-in-out .35s infinite alternate;
}
@keyframes peekBob {
  from { transform: translate(-50%, 6px)  scale(1) rotate(-1deg); }
  to   { transform: translate(-50%, -2px) scale(1.02) rotate(2deg); }
}
@media (max-width: 900px) {
  .nav__links a .peek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__links a:hover .peek { animation: none; transform: translate(-50%, 4px) scale(1); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 14px 24px; font-size: 16px; }

.btn--primary { background: var(--amber); color: #1a0e00; }
.btn--primary:hover { background: var(--amber-soft); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--discord { background: var(--discord); color: #fff; }
.btn--discord:hover { filter: brightness(1.12); }
.btn--throne  { background: var(--throne); color: #1a1300; }
.btn--kofi    { background: var(--kofi); color: #fff; }
.btn--se      { background: var(--se); color: #001a13; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 80px;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: url('img/hero.webp');
  background-size: cover; background-position: center 30%;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,17,22,.55) 0%, rgba(14,17,22,.78) 60%, var(--bg) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(232,146,60,.18), transparent 60%);
}
.hero__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 56px; align-items: center;
}
.hero__eyebrow { color: var(--amber); }
.hero__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  margin: 14px 0 18px;
}
.hero__sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 0 26px;
}
.hero__sub em { color: var(--grass); font-style: normal; font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero__socials {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px; max-width: 540px;
}
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600; font-size: 14px;
  transition: transform .15s, border-color .2s, color .2s, background .2s;
}
.social-btn .si { font-size: 18px; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--amber); }
.social-btn[aria-label="Twitch"]:hover  { color: var(--twitch); border-color: var(--twitch); }
.social-btn[aria-label="YouTube"]:hover { color: var(--youtube); border-color: var(--youtube); }
.social-btn[aria-label="TikTok"]:hover  { color: var(--tiktok); border-color: var(--tiktok); }
.social-btn[aria-label="Discord"]:hover { color: var(--discord); border-color: var(--discord); }

.hero__player { width: 100%; }
.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.player--offline { display: none; }
body[data-stream-state="offline"] .player--live { display: none; }
body[data-stream-state="offline"] .player--offline { display: block; }
body[data-stream-state="offline"] .live-badge { display: none; }

/* Hero poster (offline state) */
.player-poster {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
}
.player-poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.player-poster:hover img { transform: scale(1.04); }
.player-poster__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column;
  padding: 16px 20px 18px;
  background: rgba(14,17,22,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
  gap: 4px;
}
.player-poster::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.player-poster__eyebrow {
  font-family: var(--font-pixel); font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.player-poster__eyebrow .si { color: var(--youtube); }
.player-poster__title { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.player-poster__cta { font-size: 14px; color: var(--amber); font-weight: 600; }

/* YouTube column poster in multi-grid */
.multi-card__frame--poster { background: #0b0d12; }
.poster {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
}
.poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.poster:hover img { transform: scale(1.04); }
.poster::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.85) 100%);
  pointer-events: none;
}
.poster__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: #fff; font-size: 22px;
  transition: background .2s, color .2s;
  z-index: 2;
}
.poster:hover .poster__play { background: var(--amber); color: #1a0e00; }
.poster__label {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  font-size: 13px; color: #fff; font-weight: 600; z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.live-badge {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--amber);
  color: #1a0e00;
  border-radius: 999px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(232,146,60,.45);
}
.live-badge__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulseDot 1.6s infinite ease-out;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.player-meta {
  margin-top: 12px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.player-meta__title { color: var(--text-dim); font-size: 14px; }

/* ===== Sections shared ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 24px;
  position: relative;
}
.section--alt { background: linear-gradient(180deg, transparent, rgba(28,34,48,.4) 20%, rgba(28,34,48,.4) 80%, transparent); max-width: none; }
.section--alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section__head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
}
.section__sub { color: var(--text-dim); font-size: 17px; margin: 8px 0 0; }

/* ===== Multi-stream grid ===== */
.multi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.multi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.multi-card:hover { transform: translateY(-3px); border-color: var(--amber); }
.multi-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.multi-card__open {
  font-size: 13px; color: var(--text-dim);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.multi-card__open:hover { color: var(--amber); border-color: var(--amber); }
.multi-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.multi-card__frame iframe { width: 100%; height: 100%; border: 0; }

/* ===== Watch All — Twitch tile (live + offline poster) ===== */
.multi-card__frame--twitch {
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(145, 71, 255, .18), transparent 60%),
    radial-gradient(120% 80% at 90% 100%, rgba(232,146,60,.15), transparent 60%),
    linear-gradient(160deg, #131523 0%, #0b0d12 100%);
}
.multi-twitch__live { position: absolute; inset: 0; display: none; }
.multi-card--twitch.is-live .multi-twitch__live { display: block; }
.multi-card--twitch.is-live .multi-twitch__offline { display: none; }
.multi-twitch__live iframe { width: 100%; height: 100%; border: 0; }
.multi-twitch__offline {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center;
}
.multi-twitch__inner {
  max-width: 360px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.multi-twitch__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; letter-spacing: 1.4px;
  color: #c89cff;
  background: rgba(145, 71, 255, .15);
  border: 1px solid rgba(145, 71, 255, .45);
  padding: 6px 10px;
  border-radius: 999px;
}
.multi-twitch__badge .si { color: #c89cff; }
.multi-twitch__title {
  font-size: 22px;
  line-height: 1.15;
  margin: 6px 0 0;
  color: var(--text);
  letter-spacing: -.2px;
}
.multi-twitch__time {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: var(--amber);
  margin: 0;
  letter-spacing: 1px;
}
.multi-twitch__sub {
  color: var(--text-dim);
  font-size: 13px;
  margin: 4px 0 12px;
  line-height: 1.45;
}
.multi-twitch__cta { width: auto; }

.multi-card__frame--tiktok {
  aspect-ratio: auto;
  min-height: 540px;
  display: flex; align-items: stretch; justify-content: center;
  background: #0b0d12;
  overflow: hidden;
}
.multi-card__frame--tiktok .tiktok-embed { width: 100%; margin: 0; }

/* ===== Feed (video cards) ===== */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.vid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.vid-card:hover { transform: translateY(-3px); border-color: var(--amber); }
.vid-card__thumb { aspect-ratio: 16/9; overflow: hidden; }
.vid-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vid-card:hover .vid-card__thumb img { transform: scale(1.04); }
.vid-card__meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.vid-card__title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.vid-card__stats { color: var(--text-dim); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.vid-card__stats .si { color: var(--youtube); }

/* ===== Highlights rail ===== */
.clip-rail {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.clip-rail::-webkit-scrollbar { height: 8px; }
.clip-rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.clip-card {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .2s, border-color .2s;
}
.clip-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.clip-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.clip-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
  pointer-events: none;
}
.clip-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
  transition: background .2s;
}
.clip-card:hover .clip-card__play { background: var(--amber); color: #1a0e00; }
.clip-card__dur {
  position: absolute; top: 10px; right: 10px;
  z-index: 2;
  font-family: var(--font-pixel);
  font-size: 12px;
  padding: 3px 8px;
  background: rgba(0,0,0,.7);
  border-radius: 999px;
  color: #fff;
}
.clip-card__title {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  font-size: 14px; font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.rail-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.rail-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.rail-btn:hover { border-color: var(--amber); color: var(--amber); }

/* ===== Schedule ===== */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 36px;
}
.cd-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
  position: relative;
}
.cd-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: inherit;
  pointer-events: none;
}
.cd-num {
  display: block;
  font-family: var(--font-pixel);
  font-size: 44px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-lab {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 16px;
}
.week__day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--grass);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-start;
}
.week__day.off { border-left-color: var(--border); opacity: .65; }
.week__slot { font-size: 14px; font-weight: 600; }
.schedule-note { text-align: center; color: var(--text-dim); font-size: 14px; }
.schedule-note a { color: var(--amber); }

/* ===== Support ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .2s;
}
.support-card:hover { transform: translateY(-3px); border-color: var(--amber); }
.support-card h3 { font-size: 22px; margin: 4px 0 4px; }
.support-card p  { color: var(--text-dim); flex-grow: 1; margin: 0; }
.support-card__plat { color: var(--amber); }
.support-card .btn { align-self: flex-start; margin-top: 8px; }

/* ===== Merch ===== */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.merch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.merch-card:hover { transform: translateY(-3px); border-color: var(--amber); }
.merch-card__img { aspect-ratio: 1/1; background: #0b0d12; overflow: hidden; }
.merch-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.merch-card:hover .merch-card__img img { transform: scale(1.05); }

/* Coming Soon placeholder */
.merch-card__img--soon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(232,146,60,.04) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 50% 50%, rgba(232,146,60,.10), transparent 65%),
    #0b0d12;
  border-bottom: 1px dashed rgba(232,146,60,.25);
}
.merch-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--amber);
  text-align: center;
  transition: transform .35s ease;
}
.merch-card:hover .merch-soon { transform: scale(1.06); }
.merch-soon__pixel {
  font-size: 42px;
  line-height: 1;
  color: var(--amber);
  opacity: .55;
  animation: merchSoonPulse 2.4s ease-in-out infinite;
}
.merch-soon__text {
  font-family: 'VT323', 'Press Start 2P', ui-monospace, monospace;
  font-size: 22px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}
@keyframes merchSoonPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: .85; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .merch-soon__pixel { animation: none; }
}
.merch-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.merch-card__tag { color: var(--amber); }
.merch-card h3 { font-size: 17px; margin: 2px 0 0; }
.merch-card__price { color: var(--text-dim); font-size: 14px; margin: 0; }
.merch-card .btn { align-self: flex-start; margin-top: 6px; }

/* ===== Community ===== */
.community { padding-top: 60px; padding-bottom: 100px; }
.community__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(88,101,242,.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.community__inner h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 10px; }
.community__copy { color: var(--text-dim); font-size: 17px; max-width: 52ch; margin: 0 auto 18px; }
.community__stat { font-size: 15px; color: var(--text-dim); margin-bottom: 24px; }
.community__stat strong { color: var(--grass); font-family: var(--font-pixel); font-size: 22px; margin-right: 4px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  background: var(--surface);
}
.footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer__socials { display: flex; gap: 14px; margin-left: auto; }
.footer__socials a {
  color: var(--text-dim);
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: color .2s, border-color .2s, transform .2s;
}
.footer__socials a:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }
.footer__meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-dim); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .multi-grid { grid-template-columns: 1fr 1fr; }
  .feed-grid { grid-template-columns: 1fr 1fr; }
  .merch-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { padding: 12px 16px; gap: 12px; }
  .hero { padding: 40px 16px 60px; }
  .hero__title { font-size: clamp(36px, 9vw, 52px); }
  .hero__socials { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 16px; }
  .multi-grid { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr 1fr; }
  .countdown { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cd-num { font-size: 32px; }
  .cd-block { padding: 16px 6px; }
  .week { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__socials { margin-left: 0; }
  .multi-card__frame--tiktok { min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-badge__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ COMMON GROUND SMP ============ */
.smp {
  position: relative;
}
.smp::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 15% 20%, rgba(93,175,60,.10), transparent 60%),
    radial-gradient(700px 380px at 85% 80%, rgba(232,146,60,.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.smp > * { position: relative; z-index: 1; }

.smp__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 32px;
}

.smp__hero {
  background: linear-gradient(160deg, rgba(93,175,60,.08), rgba(28,34,48,.55));
  border: 1px solid rgba(93,175,60,.25);
  border-radius: 18px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.smp__logo-link {
  display: block;
  width: 100%;
  max-width: 460px;
  transition: transform .25s ease;
}
.smp__logo-link:hover { transform: translateY(-3px) scale(1.015); }
.smp__logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.smp__tagline {
  font-size: 22px;
  font-style: italic;
  color: var(--text);
  margin: 4px 0 0;
  letter-spacing: .3px;
}
.smp__meta {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.smp__cta { margin-top: 8px; }

.smp__side {
  background: rgba(28,34,48,.45);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.smp__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.smp__stat {
  background: rgba(14,17,22,.6);
  border: 1px solid rgba(232,146,60,.18);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.smp__stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.smp__stat-unit {
  font-size: 16px;
  color: var(--amber-soft);
  margin-left: 2px;
}
.smp__stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.smp__stats-caption {
  font-size: 13px;
  color: var(--text-dim);
  margin: -8px 0 0;
  text-align: center;
}

.smp__residents { display: flex; flex-direction: column; gap: 12px; }
.smp__resident-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.smp__resident-list li { margin: 0; padding: 0; }

.smp-chip {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(14,17,22,.7);
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.smp-chip:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-1px);
}
.smp-chip.is-active {
  background: rgba(232,146,60,.18);
  border-color: var(--amber);
  color: var(--amber);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(232,146,60,.12);
}
.smp-chip--accent {
  background: rgba(232,146,60,.10);
  border-color: rgba(232,146,60,.4);
  color: var(--amber);
  font-weight: 700;
}
.smp-chip--accent.is-active {
  background: rgba(232,146,60,.22);
}

/* Detail card */
.smp__detail {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, max-height .4s ease;
}
.smp__detail.is-open {
  opacity: 1;
  max-height: 800px;
}
.smp-card {
  background: linear-gradient(160deg, rgba(28,34,48,.85), rgba(14,17,22,.85));
  border: 1px solid rgba(232,146,60,.22);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: smpCardIn .35s ease;
}
.smp-card--accent {
  border-color: rgba(232,146,60,.5);
  background: linear-gradient(160deg, rgba(232,146,60,.10), rgba(14,17,22,.9));
}
@keyframes smpCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.smp-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.smp-card__name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
}
.smp-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1a0e00;
  background: var(--amber);
  padding: 3px 8px;
  border-radius: 4px;
}
.smp-card__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--text-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, border-color .15s, transform .15s;
}
.smp-card__close:hover { color: var(--amber); border-color: var(--amber); transform: rotate(90deg); }
.smp-card__blurb {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.smp-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.smp-card__stat {
  background: rgba(14,17,22,.7);
  border: 1px solid rgba(232,146,60,.18);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.smp-card__stat-v {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.smp-card__stat-u {
  font-size: 13px;
  color: var(--amber-soft);
  margin-left: 2px;
}
.smp-card__stat-l {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.smp-card__nostats {
  font-size: 12.5px;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 10px;
}
.smp-card__primary {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 8px 14px;
  background: var(--amber);
  color: #1a0e00;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.smp-card__primary:hover { background: var(--amber-soft); }
.smp-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.smp-card__link {
  --plat: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(14,17,22,.7);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, color .15s, transform .15s;
}
.smp-card__link:hover {
  border-color: var(--plat);
  color: var(--plat);
  transform: translateY(-1px);
}
.smp-card__link-icon {
  font-size: 11px;
  color: var(--plat);
}

@media (max-width: 540px) {
  .smp-card__stats { grid-template-columns: repeat(3, 1fr); }
  .smp-card__name { font-size: 19px; }
  .smp-card__stat-v { font-size: 17px; }
}

.smp__footnote {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,.08);
  text-align: center;
  font-style: italic;
}

@media (max-width: 880px) {
  .smp__grid { grid-template-columns: 1fr; gap: 20px; }
  .smp__hero { padding: 28px 20px; }
  .smp__side { padding: 22px; }
  .smp__tagline { font-size: 19px; }
  .smp__stat-value { font-size: 22px; }
}

/* ============ GOALS ============ */
.goals { position: relative; }
.goal-card {
  background: linear-gradient(160deg, rgba(232,146,60,.08), rgba(28,34,48,.7));
  border: 1px solid rgba(232,146,60,.22);
  border-radius: 18px;
  padding: 28px;
  margin-top: 24px;
}
.goal-card__top {
  display: grid;
  grid-template-columns: 220px 1.4fr auto;
  gap: 28px;
  align-items: center;
}
@media (max-width: 860px) {
  .goal-card__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.goal-loop {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(232,146,60,.28);
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(232,146,60,.08) inset;
}
.goal-loop__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.goal-loop__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-pixel, 'Press Start 2P', monospace);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--amber);
  background: rgba(14,17,22,.78);
  border: 1px solid rgba(232,146,60,.4);
  padding: 4px 7px;
  border-radius: 4px;
  pointer-events: none;
}
.goal-meter { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.goal-meter__nums {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}
.goal-meter__count {
  font-size: 56px;
  color: var(--amber);
  letter-spacing: -.5px;
}
.goal-meter__sep {
  font-size: 30px;
  color: var(--text-dim);
  font-weight: 400;
}
.goal-meter__target {
  font-size: 30px;
  color: var(--text);
}
.goal-meter__label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.goal-bar {
  position: relative;
  height: 14px;
  background: rgba(14,17,22,.85);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.goal-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--grass) 0%, var(--amber) 100%);
  border-radius: 999px;
  transition: width .8s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 14px rgba(232,146,60,.4);
}
.goal-bar__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: goalShimmer 3s ease-in-out infinite;
}
@keyframes goalShimmer {
  to { transform: translateX(100%); }
}
.goal-meter__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 4px;
}
.goal-meter__rem { color: var(--amber); font-weight: 600; }
.goal-meter__updated { color: var(--text-dim); font-variant-numeric: tabular-nums; }

.goal-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 220px;
}

/* Celebration overlay */
.goal-celebration {
  position: fixed;
  inset: 0;
  background: rgba(7,9,13,.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.goal-celebration.is-open {
  opacity: 1;
  pointer-events: auto;
}
.goal-celebration__inner {
  position: relative;
  max-width: min(960px, 92vw);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: goalCelebIn .45s cubic-bezier(.2,.8,.2,1);
}
@keyframes goalCelebIn {
  from { opacity: 0; transform: scale(.95) translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.goal-celebration__headline {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: var(--amber);
  text-align: center;
  text-shadow: 0 0 30px rgba(232,146,60,.5);
  letter-spacing: -.5px;
}
.goal-celebration__video {
  width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(232,146,60,.25);
}
.goal-celebration__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(28,34,48,.85);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, border-color .15s, transform .15s;
  z-index: 2;
}
.goal-celebration__close:hover {
  color: var(--amber);
  border-color: var(--amber);
  transform: rotate(90deg);
}

@media (max-width: 760px) {
  .goal-card { padding: 22px; }
  .goal-card__top { grid-template-columns: 1fr; gap: 18px; }
  .goal-meter__count { font-size: 42px; }
  .goal-meter__sep, .goal-meter__target { font-size: 22px; }
  .goal-cta { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .goal-bar__shimmer { animation: none; }
}

/* ============ LEADERBOARD (image-based, monthly manual update) ============ */
.lb-image-wrap {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 0.75rem;
  background: var(--surface);
  border: 2px solid rgba(255, 188, 66, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35), 0 0 32px rgba(255, 188, 66, 0.08);
}
.lb-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.lb-note {
  margin: 1.25rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
@media (max-width: 540px) {
  .lb-image-wrap { padding: 0.5rem; border-radius: 12px; }
}

/* ============ CONTACT / BUSINESS INQUIRIES ============ */
.contact {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact h2 {
  margin: 0.4rem 0 0.2rem;
}
.contact__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 580px;
}
.contact__btn {
  margin-top: 0.5rem;
  word-break: break-word;
}
.contact__btn .si {
  margin-right: 0.5rem;
}
.contact__hint {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.contact__hint a {
  color: var(--amber, #ffbc42);
  text-decoration: none;
  font-weight: 600;
}
.contact__hint a:hover { text-decoration: underline; }

/* ============ AMBIENT AUDIO BAR (bottom of page) ============ */
.audio-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.7rem 0.5rem 0.9rem;
  background: rgba(10, 12, 16, 0.82);
  border: 1.5px solid rgba(255, 188, 66, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: calc(100vw - 24px);
}
.audio-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-right: 0.55rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.audio-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber, #ffbc42);
  box-shadow: 0 0 8px rgba(255, 188, 66, 0.7);
  animation: audioPulse 2.4s ease-in-out infinite;
}
@keyframes audioPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.1);  }
}
.audio-bar__title { font-size: 0.82rem; }
.audio-bar__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.audio-bar__level {
  min-width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}
.audio-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
  padding: 0;
}
.audio-btn:hover {
  background: rgba(255, 188, 66, 0.22);
  color: var(--amber, #ffbc42);
  transform: translateY(-1px);
}
.audio-btn:active { transform: translateY(0); }
.audio-btn:focus-visible {
  outline: 2px solid var(--amber, #ffbc42);
  outline-offset: 2px;
}
.audio-btn svg { display: block; }
.audio-icon--muted { display: none; }
.audio-btn--mute.is-muted .audio-icon--unmuted { display: none; }
.audio-btn--mute.is-muted .audio-icon--muted { display: block; }
.audio-btn--mute.is-muted {
  background: rgba(255, 90, 90, 0.18);
  color: #ff8a8a;
}

@media (max-width: 540px) {
  .audio-bar { gap: 0.55rem; padding: 0.45rem 0.6rem; font-size: 0.78rem; }
  .audio-bar__title { display: none; }
  .audio-bar__label { padding-right: 0.35rem; }
  .audio-btn { width: 30px; height: 30px; }
  .audio-bar__level { min-width: 32px; }
}

/* ============ DISCORD LIVE COUNTER ============ */
.community__online {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85em;
  font-weight: 500;
}
.community__online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57f287;
  box-shadow: 0 0 8px rgba(87, 242, 135, 0.65);
  animation: discordPulse 1.8s ease-in-out infinite;
}
@keyframes discordPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ============ VOD ARCHIVE ============ */
.vods { display: flex; flex-direction: column; gap: 1.25rem; }
.vods__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.vods__input {
  flex: 1;
  min-width: 240px;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s ease;
}
.vods__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.vods__input:focus {
  border-color: var(--twitch, #a970ff);
  box-shadow: 0 0 0 3px rgba(169, 112, 255, 0.18);
}
.vods__count {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.vods__loading, .vods__empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  background: var(--surface);
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.vods__empty a { color: var(--twitch, #a970ff); font-weight: 600; }
.vods__note {
  margin: 0.5rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.vods__note a { color: var(--amber, #ffbc42); font-weight: 600; }

.vod-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.vod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 112, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.vod-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.vod-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vod-card__dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.vod-card__meta {
  padding: 0.7rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.vod-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vod-card__stats {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.vod-card__stats .si { color: var(--twitch, #a970ff); }

/* ============ MINECRAFT TIP TOAST ============ */
.mc-tip {
  position: fixed;
  left: 50%;
  top: 80px;
  transform: translateX(-50%) translateY(-20px);
  z-index: 195;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem 0.5rem 0.85rem;
  background: rgba(10, 12, 16, 0.92);
  border: 1.5px solid rgba(125, 196, 86, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  max-width: min(560px, calc(100vw - 24px));
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.mc-tip--in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.mc-tip__label {
  background: #7dc456;
  color: #0a0c10;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.mc-tip__text {
  flex: 1;
  line-height: 1.35;
  font-weight: 500;
}
.mc-tip__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.3rem;
  flex-shrink: 0;
}
.mc-tip__close:hover { color: #fff; }
@media (max-width: 540px) {
  .mc-tip { top: 70px; font-size: 0.83rem; padding-left: 0.7rem; }
  .mc-tip__label { font-size: 0.62rem; padding: 2px 6px; }
}

/* ============ ACHIEVEMENT UNLOCKED TOAST ============ */
.achievement {
  position: fixed;
  right: 18px;
  top: 90px;
  z-index: 196;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: #0a0c10;
  border: 2px solid #2a2a2a;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  min-width: 260px;
  max-width: 340px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  box-shadow: 0 4px 0 #000, 0 12px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.achievement--in {
  transform: translateX(0);
  opacity: 1;
}
.achievement__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  border-radius: 4px;
}
.achievement__icon svg { image-rendering: pixelated; }
.achievement__head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffd24a;
  text-transform: uppercase;
}
.achievement__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
}
@media (max-width: 540px) {
  .achievement {
    right: 10px;
    left: 10px;
    top: 70px;
    min-width: 0;
    max-width: none;
  }
}

/* ============ EASTER EGG: CREEPER ============ */
.creeper-egg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(64, 144, 64, 0.35) 0%, rgba(0, 0, 0, 0.85) 70%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.creeper-egg--active {
  opacity: 1;
  visibility: visible;
  animation: creeperShake 0.3s ease-in-out 2;
}
@keyframes creeperShake {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-6px, 4px); }
  50%      { transform: translate(5px, -3px); }
  75%      { transform: translate(-4px, -5px); }
}
.creeper-egg__face {
  width: min(60vw, 360px);
  aspect-ratio: 1;
  background: #6cba50;
  border: 6px solid #4a8a35;
  border-radius: 6px;
  position: relative;
  image-rendering: pixelated;
  box-shadow: 0 0 80px rgba(108, 186, 80, 0.55), inset 0 0 0 4px rgba(0, 0, 0, 0.06);
  animation: creeperBob 1.2s ease-in-out infinite;
}
@keyframes creeperBob {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
.creeper-egg__eye {
  position: absolute;
  width: 22%;
  height: 22%;
  background: #1a1a1a;
  top: 26%;
}
.creeper-egg__eye--l { left: 18%; }
.creeper-egg__eye--r { right: 18%; }
.creeper-egg__mouth {
  position: absolute;
  background: #1a1a1a;
}
.creeper-egg__mouth--top-l { width: 16%; height: 16%; left: 30%; top: 52%; }
.creeper-egg__mouth--top-r { width: 16%; height: 16%; right: 30%; top: 52%; }
.creeper-egg__mouth--bot-c { width: 20%; height: 16%; left: 40%; top: 66%; }
.creeper-egg__mouth--bot-l { width: 12%; height: 14%; left: 26%; top: 70%; }
.creeper-egg__mouth--bot-r { width: 12%; height: 14%; right: 26%; top: 70%; }
.creeper-egg__hiss {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: 0.1em;
  text-shadow: 0 4px 0 #4a8a35, 0 0 24px rgba(0, 0, 0, 0.8);
  animation: hissBounce 0.6s ease-in-out infinite alternate;
}
@keyframes hissBounce {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-8px); }
}
