@font-face {
  font-family: 'Kode Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/kode-mono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kode Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/kode-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
  min-height: 100svh;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

.bg-stripes {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    #34458a 0px,
    #34458a 107px,
    #edbf00 107px,
    #edbf00 214px
  );
  z-index: 0;
}

/* ── Entry overlay ── */
#entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 15, 0.92);
  backdrop-filter: blur(2px);
}

#entry-overlay .shield {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 28px;
  animation: pulse-shield 2.5s ease-in-out infinite;
}

@keyframes pulse-shield {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(237,191,0,0.4)); }
  50%       { filter: drop-shadow(0 0 40px rgba(237,191,0,0.9)); }
}

#entry-overlay h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 5vw, 64px);
  letter-spacing: 4px;
  color: #edbf00;
  line-height: 1.15;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-align: center;
  max-width: 700px;
  padding: 0 32px;
}

#entry-overlay .sub {
  font-size: 10px;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 48px;
  text-transform: uppercase;
}

.enter-btn {
  background: #edbf00;
  color: #0a0a1e;
  border: none;
  padding: 16px 56px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s, transform 0.15s;
}
.enter-btn::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #0a0a1e;
  margin-right: 12px;
  vertical-align: middle;
}
.enter-btn:hover { background: #fff; transform: scale(1.04); }

/* ── Main ── */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}

.card {
  background: rgba(3, 3, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(237,191,0,0.22);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 48px) clamp(18px, 2.5vw, 32px);
  text-align: center;
  color: #fff;
  width: 80vw;
  position: relative;
  z-index: 1;
}

/* ── Atlanta hero ── */
.atlanta-hero {
  width: clamp(275px, 45vw, 625px);
  height: clamp(275px, 45vw, 625px);
  object-fit: contain;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  filter:
    drop-shadow(0 0 18px rgba(0,0,0,0.55))
    drop-shadow(0 6px 32px rgba(0,0,0,0.7))
    drop-shadow(0 0 2px rgba(0,0,0,0.9));
}

/* ── Rival row ── */
.rival-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.rival-vs {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(237,191,0,0.55);
  letter-spacing: 2px;
}

.rival-logo {
  width: clamp(32px, 4vw, 50px);
  height: clamp(32px, 4vw, 50px);
  object-fit: contain;
}

.rival-name {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}

/* Game day */
.gameday {
  display: none;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  color: #edbf00;
  letter-spacing: 6px;
  text-shadow: 0 0 30px rgba(237,191,0,0.6);
  margin-bottom: 16px;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2px, 1vw, 8px);
  margin-bottom: 28px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: 80px;
  color: #edbf00;
  line-height: 1;
  text-shadow: 0 0 36px rgba(237,191,0,0.5);
  letter-spacing: -2px;
  display: inline-block;
  text-align: center;
}

.time-label {
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  text-transform: uppercase;
}

.time-sep {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: 80px;
  color: rgba(237,191,0,0.2);
  line-height: 1;
  padding: 0 2px;
}

.time-block.hidden { display: none; }

/* Date info */
.match-when {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: clamp(12px, 2vw, 16px);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}

/* Music button */
#music-indicator {
  position: fixed;
  bottom: 20px;
  right: 22px;
  z-index: 10;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,15,0.72);
  border: 1px solid rgba(237,191,0,0.35);
  border-radius: 20px;
  padding: 7px 14px 7px 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
#music-indicator.on  { display: flex; }
#music-indicator:hover { border-color: rgba(237,191,0,0.7); background: rgba(0,0,15,0.9); }
#music-indicator.muted { border-color: rgba(255,255,255,0.2); }

#mute-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(237,191,0,0.85);
  text-transform: uppercase;
}
#music-indicator.muted #mute-label { color: rgba(255,255,255,0.35); }

.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}
.music-bars span {
  display: block;
  width: 2px;
  background: #edbf00;
  border-radius: 1px;
  animation: bar 0.8s ease-in-out infinite alternate;
}
.music-bars span:nth-child(1) { height: 4px;  animation-delay: 0s;    }
.music-bars span:nth-child(2) { height: 11px; animation-delay: 0.15s; }
.music-bars span:nth-child(3) { height: 7px;  animation-delay: 0.3s;  }
.music-bars span:nth-child(4) { height: 13px; animation-delay: 0.1s;  }
#music-indicator.muted .music-bars span {
  background: rgba(255,255,255,0.3);
  animation: none;
  height: 4px !important;
}

@keyframes bar {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

/* Firma */
.firma {
  position: fixed;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  padding: 4px 12px;
  border-radius: 20px;
}
.firma span { color: #34458a; }

#yt-host {
  position: fixed;
  width: 1px; height: 1px;
  bottom: 0; right: 0;
  opacity: 0.01;
  pointer-events: none;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  #music-indicator { bottom: 8px; right: 8px; }
  .firma { bottom: 48px; }
  .stage { padding-bottom: 80px; }
  .atlanta-hero { width: clamp(180px, 70vw, 300px); height: clamp(180px, 70vw, 300px); }
  .card { width: 92vw; padding: 24px 10px; }
  .time-value { font-size: clamp(26px, 13.5vw, 60px); letter-spacing: -1px; }
  .time-sep   { font-size: clamp(26px, 13.5vw, 60px); padding: 0 1px; }
  .time-label { font-size: 7px; letter-spacing: 2px; margin-top: 6px; }
  .match-when { font-size: 11px; }
  #music-indicator { bottom: 12px; right: 12px; padding: 6px 10px 6px 8px; }
}
