/* ==========================================================================
   TECHNOVA 2027 — RETRO ARCADE HACKATHON DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070707;
  --bg-secondary: #0d0d12;
  --bg-card: rgba(18, 18, 26, 0.75);
  --bg-card-hover: rgba(26, 26, 38, 0.9);
  --neon-pink: #ff007a;
  --neon-pink-glow: rgba(255, 0, 122, 0.45);
  --electric-yellow: #ffc400;
  --yellow-glow: rgba(255, 196, 0, 0.4);
  --electric-blue: #38bdf8;
  --blue-glow: rgba(56, 189, 248, 0.35);
  --secondary-purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --text-white: #ffffff;
  --text-muted: #b8b8c4;
  --text-dim: #71717a;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-neon: rgba(255, 0, 122, 0.5);

  /* Typography */
  --font-pixel: 'Press Start 2P', monospace, cursive;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  min-height: 100vh;
}

/* Selection Color */
::selection {
  background: var(--neon-pink);
  color: #fff;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Subtle Retro Grid Background */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
}

/* CRT Scanline & Vignette Effect (Toggleable) */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
              radial-gradient(circle at center, transparent 75%, rgba(0,0,0,0.6) 100%);
  background-size: 100% 3px, 100% 100%;
  opacity: 0.35;
  transition: opacity var(--transition-normal);
}

body:not(.crt-enabled) .crt-overlay {
  opacity: 0;
}


/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 50;
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-monogram {
  position: relative;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--neon-pink), #990049);
  border: 2px solid var(--electric-yellow);
  box-shadow: 0 0 14px var(--neon-pink-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-monogram:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 0 20px var(--neon-pink);
}

.monogram-pixel {
  font-family: var(--font-pixel);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  text-shadow: 2px 2px 0px #000;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-title {
  font-family: var(--font-pixel);
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--text-white);
}

.brand-year {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--electric-yellow);
  text-shadow: 0 0 8px var(--yellow-glow);
}

/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-num {
  color: var(--electric-yellow);
  font-size: 10px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-pixel-badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: var(--electric-yellow);
  color: #000;
  padding: 2px 4px;
  border-radius: 2px;
  margin-right: 4px;
}

.minigame-nav-link {
  color: var(--electric-yellow);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--electric-yellow);
  box-shadow: 0 0 6px var(--yellow-glow);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 10, 14, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--neon-pink);
  padding: 24px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-slow), opacity var(--transition-fast);
  z-index: 45;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  font-family: var(--font-pixel);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link span {
  color: var(--electric-yellow);
  font-size: 10px;
}

.mobile-nav-link:hover {
  color: var(--neon-pink);
}

/* ==========================================================================
   BUTTONS — RETRO ARCADE STYLE
   ========================================================================== */

.arcade-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-pixel);
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
  user-select: none;
}

/* Scanline gloss animation across button */
.btn-scanline {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.arcade-btn:hover .btn-scanline {
  left: 200%;
}

/* Pink Neon Arcade Button */
.arcade-btn-pink {
  background: var(--neon-pink);
  color: #ffffff;
  box-shadow: 0 0 18px var(--neon-pink-glow), inset 0 0 6px rgba(255, 255, 255, 0.4);
  border: 2px solid #ff4da6;
}

.arcade-btn-pink:hover {
  background: #ff1a8c;
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--neon-pink), inset 0 0 10px rgba(255, 255, 255, 0.6);
}

.arcade-btn-pink:active {
  transform: translateY(1px);
}

/* Yellow Electric Button */
.arcade-btn-yellow {
  background: var(--electric-yellow);
  color: #000000;
  box-shadow: 0 0 18px var(--yellow-glow), inset 0 0 6px rgba(255, 255, 255, 0.6);
  border: 2px solid #ffe17d;
  font-weight: 700;
}

.arcade-btn-yellow:hover {
  background: #ffd033;
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--electric-yellow);
}

/* Ghost Button */
.arcade-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.arcade-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  box-shadow: 0 0 16px var(--blue-glow);
  transform: translateY(-2px);
}

/* Button Sizing */
.arcade-btn-lg {
  padding: 16px 28px;
  font-size: 12px;
}

.arcade-btn-xl {
  padding: 20px 36px;
  font-size: 14px;
}

.w-full {
  width: 100%;
}

/* Decorative Pixel Corners on Buttons */
.btn-corner {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  pointer-events: none;
}
.btn-corner.tl { top: 0; left: 0; }
.btn-corner.tr { top: 0; right: 0; }
.btn-corner.bl { bottom: 0; left: 0; }
.btn-corner.br { bottom: 0; right: 0; }

/* ==========================================================================
   HERO SECTION & THREE.JS 3D CANVAS
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #150a1b 0%, #070707 70%);
}

/* 3D Canvas Background */
.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

#three-canvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* Ambient Radial Glows */
.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.glow-pink {
  width: 500px;
  height: 500px;
  background: var(--neon-pink);
  top: 15%;
  left: 10%;
}

.glow-yellow {
  width: 450px;
  height: 450px;
  background: var(--electric-yellow);
  top: 25%;
  right: 10%;
}

.glow-blue {
  width: 400px;
  height: 400px;
  background: var(--secondary-purple);
  bottom: 10%;
  left: 40%;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Let clicks pass to 3D canvas unless on interactive buttons */
}

.hero-content * {
  pointer-events: auto;
}

/* Eyebrow Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(13, 13, 18, 0.85);
  border: 1px solid var(--border-neon);
  border-radius: 100px;
  box-shadow: 0 0 16px var(--neon-pink-glow);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.pixel-star-icon {
  color: var(--electric-yellow);
  font-size: 14px;
  animation: rotateStar 6s linear infinite;
}

@keyframes rotateStar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.badge-code {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--neon-pink);
}

.badge-separator {
  color: var(--text-dim);
}

.badge-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Hero Title */
.hero-title-container {
  position: relative;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 1.15;
  letter-spacing: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-shadow: 0 0 20px rgba(255, 0, 122, 0.4);
}

.title-word-techno {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 40%, #ff80bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px var(--neon-pink-glow));
}

.title-word-year {
  color: var(--electric-yellow);
  background: linear-gradient(180deg, #fff7cc 30%, var(--electric-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px var(--yellow-glow));
}

.title-sub-reflection {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  font-family: var(--font-pixel);
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  opacity: 0.05;
  transform: scaleY(-1) translateY(12px);
  filter: blur(4px);
  pointer-events: none;
}

/* Tagline */
.hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.65;
  font-weight: 500;
  text-align: center;
}

.tagline-line {
  display: block;
}

.tagline-highlight {
  color: var(--electric-yellow);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 196, 0, 0.3);
}

.tagline-prize,
.tagline-bounty {
  color: var(--neon-pink);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 0, 122, 0.35);
}

/* Hero Stats Bar */
.hero-stats-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 32px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(18, 18, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.stat-icon {
  font-size: 20px;
}

.stat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-val {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--text-white);
}

.stat-currency {
  font-family: var(--font-mono), var(--font-body), sans-serif;
  font-weight: 800;
  display: inline-block;
  vertical-align: baseline;
  margin-right: 1px;
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* RETRO ARCADE COUNTDOWN TIMER */
.arcade-timer-box {
  background: rgba(10, 10, 14, 0.85);
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 24px var(--neon-pink-glow), inset 0 0 12px rgba(255, 0, 122, 0.15);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin-bottom: 36px;
  backdrop-filter: blur(12px);
}

.timer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.timer-led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseLed 1.2s infinite;
}

@keyframes pulseLed {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.timer-title {
  letter-spacing: 1px;
  font-weight: 700;
}

.timer-status {
  color: var(--electric-yellow);
}

.timer-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.digit-box {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-width: 62px;
  text-align: center;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
}

.digit-box span {
  font-family: var(--font-pixel);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--electric-yellow);
  text-shadow: 0 0 10px var(--yellow-glow);
}

.unit-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.timer-colon {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  color: var(--neon-pink);
  animation: blinkColon 1s infinite;
  margin-top: -14px;
}

@keyframes blinkColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
}

/* Scroll Cue */
.hero-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dim);
  transition: color var(--transition-fast);
  margin-top: 12px;
}

.hero-scroll-cue:hover {
  color: var(--electric-yellow);
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--electric-yellow);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 10px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
}

.scroll-arrow {
  font-size: 10px;
  animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ==========================================================================
   TICKER TAPE BANNER
   ========================================================================== */

.arcade-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #000;
  border-top: 2px solid var(--neon-pink);
  border-bottom: 2px solid var(--electric-yellow);
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.arcade-ticker {
  display: flex;
  width: max-content;
  animation: tickerSlide 25s linear infinite;
  will-change: transform;
}

.arcade-ticker:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--text-white);
  white-space: nowrap;
}

.ticker-currency {
  font-family: var(--font-mono), var(--font-body), sans-serif;
  font-weight: 800;
  font-size: 12px;
  margin-right: 1px;
  color: #ffffff;
  display: inline-block;
  vertical-align: baseline;
}

.ticker-star {
  color: var(--electric-yellow);
  text-shadow: 0 0 6px var(--electric-yellow);
  font-size: 11px;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .arcade-ticker {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .arcade-ticker .ticker-content[aria-hidden="true"] {
    display: none;
  }
  .ticker-content {
    white-space: normal;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 6px 16px;
  }
}

/* ==========================================================================
   SECTION COMMON LAYOUT
   ========================================================================== */

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
  z-index: 5;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-pink);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.badge-num {
  color: var(--electric-yellow);
  font-weight: 700;
}

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-white);
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

/* Common Card Base */
.arcade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.arcade-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

/* Terminal Card */
.terminal-card {
  padding: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.terminal-bar {
  background: #111116;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.term-prompt {
  color: var(--neon-pink);
  font-weight: 700;
}

.term-cmd {
  color: var(--electric-yellow);
}

.term-output {
  color: var(--text-muted);
  margin: 6px 0 14px 14px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.term-success {
  color: #4ade80;
}

.term-cursor-line {
  margin-top: 16px;
}

.term-blink {
  color: var(--electric-yellow);
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Features Grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card.card-pink:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 8px 24px rgba(255, 0, 122, 0.2);
}

.feature-card.card-yellow:hover {
  border-color: var(--electric-yellow);
  box-shadow: 0 8px 24px rgba(255, 196, 0, 0.2);
}

.feature-card.card-cyan:hover {
  border-color: #00f0ff;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.2);
}

.feature-card.card-purple:hover {
  border-color: var(--secondary-purple);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.pink-glow { border-color: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink-glow); }
.yellow-glow { border-color: var(--electric-yellow); box-shadow: 0 0 10px var(--yellow-glow); }
.blue-glow { border-color: var(--electric-blue); box-shadow: 0 0 10px var(--blue-glow); }
.cyan-glow { border-color: #00f0ff; box-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }
.purple-glow { border-color: var(--secondary-purple); box-shadow: 0 0 10px var(--purple-glow); }

.feature-title {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Metric Counters Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: rgba(13, 13, 18, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.metric-box {
  text-align: center;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-box:last-child {
  border-right: none;
}

.metric-num {
  font-family: var(--font-pixel);
  font-size: 1.8rem;
  color: var(--electric-yellow);
  text-shadow: 0 0 12px var(--yellow-glow);
  margin-bottom: 6px;
}

.metric-currency {
  font-family: var(--font-mono), var(--font-body), sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  margin-right: 1px;
  color: var(--electric-yellow);
  text-shadow: 0 0 12px var(--yellow-glow);
  display: inline-block;
  vertical-align: baseline;
}

.metric-unit {
  color: var(--neon-pink);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TRACKS SECTION ("SELECT YOUR MISSION")
   ========================================================================== */

.track-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 16px;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--neon-pink);
}

.filter-btn.active {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 14px var(--neon-pink-glow);
}

/* Tracks Grid */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Track Card styled like an interactive arcade cartridge */
.track-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
  backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  outline: none;
}

.track-card * {
  pointer-events: none;
}

.track-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-pink), var(--electric-yellow));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 122, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 0, 122, 0.25);
}

.track-card:focus-visible {
  border-color: var(--neon-pink);
  box-shadow: 0 0 24px var(--neon-pink-glow), 0 14px 32px rgba(0, 0, 0, 0.6);
}

.track-card:hover::before,
.track-card:focus-visible::before {
  opacity: 1;
}

.track-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.track-badge {
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 2px;
  color: #fff;
}
.badge-track1 { background: var(--neon-pink); color: #fff; }
.badge-track2 { background: var(--electric-yellow); color: #000; }
.badge-track3 { background: #00f0ff; color: #000; }
.badge-track4 { background: var(--secondary-purple); color: #fff; }
.badge-track5 { background: #38bdf8; color: #000; }
.badge-ai { background: var(--neon-pink); }
.badge-web3 { background: var(--electric-yellow); color: #000; }
.badge-fintech { background: var(--electric-blue); color: #000; }
.badge-health { background: var(--secondary-purple); }
.badge-gamedev { background: #ec4899; }
.badge-open { background: #f97316; }

.track-difficulty {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--electric-yellow);
}

.track-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}

.pink-border { border: 2px solid var(--neon-pink); box-shadow: 0 0 12px var(--neon-pink-glow); }
.yellow-border { border: 2px solid var(--electric-yellow); box-shadow: 0 0 12px var(--yellow-glow); }
.blue-border { border: 2px solid var(--electric-blue); box-shadow: 0 0 12px var(--blue-glow); }
.cyan-border { border: 2px solid #00f0ff; box-shadow: 0 0 12px rgba(0, 240, 255, 0.4); }
.purple-border { border: 2px solid var(--secondary-purple); box-shadow: 0 0 12px var(--purple-glow); }

.section-sub-supporting {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--electric-yellow);
  margin-top: 8px;
  line-height: 1.5;
}

.track-theme-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--electric-yellow);
  margin-bottom: 12px;
  line-height: 1.4;
}

.track-challenges-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.track-title {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--text-white);
  line-height: 1.5;
  margin-bottom: 12px;
}

.track-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.track-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--text-muted);
}

.track-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

/* ==========================================================================
   SCHEDULE TIMELINE SECTION (8-HOUR HACKATHON)
   ========================================================================== */

.schedule-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}

.schedule-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.schedule-title-yellow {
  font-family: var(--font-pixel);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--electric-yellow);
  text-shadow: 0 0 16px var(--yellow-glow);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.schedule-pink-line {
  width: 140px;
  height: 4px;
  background: var(--neon-pink);
  box-shadow: 0 0 14px var(--neon-pink);
  border-radius: 2px;
  margin: 0 auto 20px auto;
}

.schedule-subtitle {
  text-align: center;
  margin: 0 auto;
}

/* 8-Hour Timeline Container */
.timeline-container-8h {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding: 10px 0;
}

/* Pac-Man Decorative Arcade Element */
.timeline-pacman-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-left: 2px;
}

.pacman-container {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: pacmanFloat 3s ease-in-out infinite;
}

.pacman-svg {
  filter: drop-shadow(0 0 10px rgba(255, 196, 0, 0.7));
  animation: pacmanMouth 0.4s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes pacmanFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pacmanMouth {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.pacman-pellets {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cyan-pellet {
  width: 8px;
  height: 8px;
  background: #00f0ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00f0ff;
  display: inline-block;
  animation: pelletGlow 1.5s ease-in-out infinite alternate;
}

.cyan-pellet:nth-child(2) { animation-delay: 0.2s; }
.cyan-pellet:nth-child(3) { animation-delay: 0.4s; }

@keyframes pelletGlow {
  0% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Timeline Body with Continuous Vertical Cyan Line */
.timeline-8h-body {
  position: relative;
  padding-left: 48px;
}

/* Continuous Vertical Cyan Line */
.timeline-line-continuous {
  position: absolute;
  top: 18px;
  bottom: 24px;
  left: 17px;
  width: 3px;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.7), 0 0 4px #00f0ff;
  z-index: 1;
}

.timeline-milestones-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.timeline-milestone-item {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.milestone-marker {
  position: absolute;
  left: -48px;
  width: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.milestone-dot {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  background: #00f0ff;
  border: 2px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f0ff;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.milestone-branch {
  position: absolute;
  left: 18px;
  width: 30px;
  height: 2px;
  background: rgba(0, 240, 255, 0.45);
}

.timeline-milestone-item:hover .milestone-dot {
  transform: scale(1.3);
  box-shadow: 0 0 18px #00f0ff;
}

/* Schedule Card Base */
.schedule-card {
  width: 100%;
  background: rgba(18, 18, 26, 0.88);
  backdrop-filter: blur(12px);
  padding: 22px 28px;
  text-align: center;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.schedule-card:hover {
  transform: translateX(4px);
}

.schedule-card-title {
  font-family: var(--font-pixel);
  font-size: clamp(11.5px, 1.5vw, 15px);
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.45;
}

.schedule-card-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Alternating Neon Borders and Glows */
.schedule-card.card-accent-cyan {
  border: 2px solid #00f0ff;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.28);
}
.schedule-card.card-accent-cyan:hover {
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.55), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: #00f0ff;
}
.schedule-card.card-accent-cyan .schedule-card-subtitle {
  color: #00f0ff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.schedule-card.card-accent-pink {
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 14px var(--neon-pink-glow);
}
.schedule-card.card-accent-pink:hover {
  box-shadow: 0 0 24px var(--neon-pink-glow), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: var(--neon-pink);
}
.schedule-card.card-accent-pink .schedule-card-subtitle {
  color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink);
}

.schedule-card.card-accent-yellow {
  border: 2px solid var(--electric-yellow);
  box-shadow: 0 0 14px var(--yellow-glow);
}
.schedule-card.card-accent-yellow:hover {
  box-shadow: 0 0 24px var(--yellow-glow), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: var(--electric-yellow);
}
.schedule-card.card-accent-yellow .schedule-card-subtitle {
  color: var(--electric-yellow);
  text-shadow: 0 0 8px var(--yellow-glow);
}

/* ==========================================================================
   PRIZES SECTION ("CASH PRIZE POOL")
   ========================================================================== */

.prizes-currency {
  font-family: var(--font-mono), var(--font-body), sans-serif;
  font-weight: 800;
  display: inline-block;
  vertical-align: baseline;
  margin-right: 2px;
}

.prizes-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 0;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.podium-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px 24px 38px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.podium-card:hover {
  transform: translateY(-8px);
}

/* 1st Place Gold */
.podium-gold {
  border: 2px solid var(--electric-yellow);
  background: linear-gradient(180deg, rgba(255, 196, 0, 0.16) 0%, rgba(18, 18, 26, 0.95) 100%);
  box-shadow: 0 0 36px var(--yellow-glow);
  padding: 54px 28px 48px;
}

.podium-gold:hover {
  box-shadow: 0 0 48px rgba(255, 196, 0, 0.6);
  transform: translateY(-10px);
}

/* 2nd Place Silver */
.podium-silver {
  border-color: rgba(148, 163, 184, 0.65);
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.1) 0%, rgba(18, 18, 26, 0.9) 100%);
  box-shadow: 0 0 20px rgba(148, 163, 184, 0.15);
}

.podium-silver:hover {
  border-color: #cbd5e1;
  box-shadow: 0 0 28px rgba(148, 163, 184, 0.35);
}

/* 3rd Place Bronze */
.podium-bronze {
  border-color: rgba(217, 119, 6, 0.65);
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.1) 0%, rgba(18, 18, 26, 0.9) 100%);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.15);
}

.podium-bronze:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 28px rgba(217, 119, 6, 0.35);
}

.podium-rank {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.podium-gold .podium-rank {
  color: var(--electric-yellow);
  text-shadow: 0 0 8px var(--yellow-glow);
}

.podium-silver .podium-rank {
  color: #94a3b8;
}

.podium-bronze .podium-rank {
  color: #d97706;
}

.trophy-icon {
  font-size: 54px;
  margin-bottom: 18px;
  line-height: 1;
}

.gold-glow {
  filter: drop-shadow(0 0 16px var(--electric-yellow));
  animation: floatTrophy 3s ease-in-out infinite;
}

@keyframes floatTrophy {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.podium-title {
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.podium-gold .podium-title {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.podium-cash {
  font-family: var(--font-pixel);
  font-size: 2rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.gold-cash {
  color: var(--electric-yellow);
  text-shadow: 0 0 18px var(--yellow-glow);
  font-size: 2.5rem;
}

/* ==========================================================================
   RETRO ARCADE CABINET MINI-GAME ZONE
   ========================================================================== */

.arcade-zone-section {
  text-align: center;
}

.arcade-cabinet-frame {
  max-width: 680px;
  margin: 0 auto;
  background: #14141d;
  border: 4px solid #282838;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 122, 0.2);
  overflow: hidden;
}

.cabinet-marquee {
  background: #000;
  padding: 14px;
  border-bottom: 3px solid var(--neon-pink);
  box-shadow: inset 0 0 16px rgba(255, 0, 122, 0.4);
}

.marquee-neon {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--electric-yellow);
  text-shadow: 0 0 10px var(--yellow-glow);
  letter-spacing: 1px;
  animation: flickerNeon 4s infinite;
}

@keyframes flickerNeon {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px var(--yellow-glow);
  }
  20%, 24%, 55% {
    opacity: 0.3;
    text-shadow: none;
  }
}

.cabinet-screen-wrap {
  position: relative;
  background: #050508;
  border: 8px solid #0d0d14;
  margin: 14px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.9);
}

#minigame-canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #050508;
}

.cabinet-hud {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: #fff;
  z-index: 10;
  pointer-events: none;
}

.hud-tag {
  color: var(--neon-pink);
}

/* Minigame Overlay */
.minigame-ui-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 20;
}

.minigame-ui-overlay.hidden {
  display: none;
}

.overlay-box {
  text-align: center;
  padding: 24px;
  max-width: 480px;
}

.overlay-title {
  font-family: var(--font-pixel);
  font-size: 20px;
  color: var(--electric-yellow);
  margin-bottom: 12px;
  text-shadow: 0 0 12px var(--yellow-glow);
}

.overlay-rules {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.overlay-controls {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.cabinet-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #191924;
  border-top: 2px solid #282838;
}

.coin-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.coin-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--electric-yellow);
}

.coin-entry {
  width: 6px;
  height: 24px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.joystick-mock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0c0c12;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stick-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
}

.arcade-buttons-mock {
  display: flex;
  gap: 12px;
}

.mock-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform 0.1s, box-shadow 0.1s;
}

.mock-btn:active {
  transform: scale(0.9);
}

.red-btn { background: #ef4444; box-shadow: 0 4px 0 #991b1b; }
.blue-btn { background: #3b82f6; box-shadow: 0 4px 0 #1e40af; }

/* ==========================================================================
   SPONSORS SECTION ("POWERED BY")
   ========================================================================== */

.sponsors-minimal-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.sponsors-header-minimal {
  margin-bottom: 0;
}

.sponsors-header-minimal .section-title {
  margin-bottom: 0;
}


/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.faq-item.open {
  border-color: var(--neon-pink);
  box-shadow: 0 0 16px rgba(255, 0, 122, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-white);
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.faq-title {
  font-family: var(--font-body);
  font-weight: 600;
}

.faq-icon {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--electric-yellow);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FINAL CALLOUT SECTION
   ========================================================================== */

.final-cta-section {
  padding: 80px 24px 120px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.cta-retro-box {
  max-width: 860px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 122, 0.15) 0%, rgba(13, 13, 18, 0.95) 80%);
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 40px var(--neon-pink-glow), inset 0 0 20px rgba(255, 0, 122, 0.2);
  border-radius: var(--radius-md);
  padding: 60px 32px;
}

.cta-pixel-art {
  font-size: 32px;
  letter-spacing: 12px;
  margin-bottom: 20px;
}

.cta-main-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 16px var(--neon-pink-glow);
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-actions-row {
  margin-bottom: 20px;
}

.cta-footnote {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--electric-yellow);
  letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: #050508;
  position: relative;
  z-index: 10;
  padding: 60px 24px 30px;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
}

.footer-brand .brand-monogram {
  margin-bottom: 12px;
}

.footer-brand .brand-title {
  font-size: 18px;
  display: block;
  margin-bottom: 8px;
}

.footer-tag {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.5;
}

.footer-nav-col h4,
.footer-social-col h4 {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--electric-yellow);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
  color: var(--neon-pink);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: color var(--transition-fast);
}

.social-btn:hover {
  color: var(--electric-yellow);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.back-to-top {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

/* ==========================================================================
   MODALS (REGISTRATION & TRACK DETAILS)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-box {
  background: #0d0d14;
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 40px var(--neon-pink-glow);
  border-radius: var(--radius-sm);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #14141f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-pixel-icon {
  font-size: 18px;
}

.modal-title {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--electric-yellow);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--neon-pink);
}

/* Form Styles */
.registration-form {
  padding: 24px;
}

.form-banner {
  background: rgba(255, 0, 122, 0.1);
  border: 1px dashed var(--neon-pink);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-pink);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.req {
  color: var(--neon-pink);
}

.arcade-input {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.arcade-input:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink-glow);
}

.arcade-select {
  cursor: pointer;
}

/* Registration Ticket */
.registration-ticket {
  padding: 32px 24px;
  text-align: center;
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.ticket-status {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: #22c55e;
}

.ticket-id {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  color: var(--electric-yellow);
}

.ticket-welcome {
  font-family: var(--font-pixel);
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
}

.text-pink { color: var(--neon-pink); }
.text-yellow { color: var(--electric-yellow); }

.registration-ticket p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #000;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
  margin-bottom: 28px;
}

/* Track Modal Body */
#track-modal .modal-box {
  max-width: 780px;
}

.modal-content-body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.modal-theme-banner {
  background: rgba(255, 196, 0, 0.08);
  border: 1px dashed var(--electric-yellow);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--electric-yellow);
  margin-bottom: 24px;
  text-align: center;
}

.challenge-card {
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 22px;
  transition: border-color var(--transition-fast);
}

.challenge-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.challenge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.challenge-badge {
  font-family: var(--font-pixel);
  font-size: 9px;
  background: var(--neon-pink);
  color: #fff;
  padding: 4px 8px;
  border-radius: 2px;
}

.challenge-badge.open-badge {
  background: var(--electric-yellow);
  color: #000;
}

.challenge-title {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.challenge-section-heading {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.challenge-desc-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.challenge-outcome-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--electric-blue);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.challenge-outcome-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--electric-blue);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.challenge-outcome-text {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.55;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .about-grid {
    gap: 20px;
  }
  .terminal-body {
    padding: 16px;
    font-size: 12px;
  }
  .feature-card {
    padding: 16px;
  }
  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prizes-podium {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
  }
  .podium-gold {
    order: 1;
    padding: 42px 24px;
  }
  .podium-silver {
    order: 2;
    padding: 34px 20px;
  }
  .podium-bronze {
    order: 3;
    padding: 34px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  .hero-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }
  .stat-badge {
    padding: 10px 12px;
    gap: 8px;
    white-space: normal;
  }
  .stat-val {
    font-size: clamp(8px, 2.2vw, 11px);
  }
  .timer-digits {
    gap: 6px;
  }
  .digit-box {
    min-width: 46px;
    padding: 8px 6px;
  }
  .digit-box span {
    font-size: 1.1rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .terminal-body {
    padding: 16px 14px;
    font-size: 11.5px;
    line-height: 1.6;
  }
  .term-output {
    margin: 4px 0 10px 8px;
  }
  .tracks-grid {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-8h-body {
    padding-left: 32px;
  }
  .timeline-line-continuous {
    left: 12px;
  }
  .milestone-marker {
    left: -32px;
    width: 32px;
  }
  .milestone-dot {
    left: 6px;
    width: 13px;
    height: 13px;
  }
  .milestone-branch {
    left: 13px;
    width: 19px;
  }
  .schedule-card {
    padding: 16px 14px;
  }
  .schedule-card-title {
    font-size: 11px;
  }
  .schedule-card-subtitle {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .arcade-btn-lg, .arcade-btn-xl {
    padding: 12px 20px;
    font-size: 11px;
  }
}
