@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --color-background: #081425;
  --color-surface: #081425;
  --color-primary: #98cbff;
  --color-primary-container: #00a3ff;
  --color-on-primary: #003354;
  --color-on-background: #d8e3fb;
  --color-on-surface: #d8e3fb;
  --color-on-secondary-container: #adb4ce;
  --color-secondary-container: #3f465c;
  --color-sky-400: #38bdf8;
  --color-sky-500: #0ea5e9;
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-label: 'Inter', sans-serif;
  
  --spacing-xs: 4px;
  --spacing-sm: 12px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-gutter: 24px;
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 48px;
    --spacing-lg: 32px;
    --spacing-md: 16px;
    --spacing-sm: 8px;
    --spacing-gutter: 16px;
  }
}

body {
  background-color: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* Glassmorphism */
.glass-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}
.glass-card:hover {
  border-color: rgba(0, 163, 255, 0.4);
  background: rgba(15, 23, 42, 0.6);
}
.rim-light {
  box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px -5px rgba(0, 163, 255, 0.5); }
  50% { box-shadow: 0 0 25px 2px rgba(0, 163, 255, 0.8); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.electric-glow {
  animation: pulse-glow 3s infinite;
}

.btn-primary {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
  font-family: var(--font-label);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.btn-primary.sm {
  padding: 12px 24px;
  font-size: 14px;
}

.btn-primary:hover {
  box-shadow: 0 0 30px 5px rgba(0, 163, 255, 0.6);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: var(--font-label);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:active {
  transform: scale(0.95);
}

/* Typography */
.text-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  color: white;
  text-shadow: 0 0 30px rgba(0,163,255,0.5);
}

.text-headline-xl {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: white;
}

.text-headline-md {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: white;
}

.text-body-lg {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-on-secondary-container);
  margin-top: 0;
}

.text-label-bold {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.text-label-sm {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-gutter);
}

.section {
  padding: var(--spacing-xl) 0;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing-gutter);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-sm);
}

.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-8 { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }

@media (max-width: 768px) {
  .grid-12 {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-span-4, .col-span-6, .col-span-8, .col-span-12 {
    grid-column: span 1;
  }
}

/* Custom Components */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: var(--spacing-xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: blur(2px);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, #081425 90%);
}

.scanline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 163, 255, 0.05), transparent);
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  transition: all 0.3s;
}

.nav-header.scrolled {
  padding: 8px 24px;
  background: rgba(2, 6, 23, 0.9);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.logo-icon {
  color: var(--color-sky-400);
  animation: pulse-glow 2s infinite;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-sky-400);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  min-width: 90px;
}

.countdown-value {
  font-size: 36px;
  font-weight: 900;
  color: white;
}

@media (max-width: 480px) {
  .countdown {
    gap: 8px;
  }
  .countdown-item {
    min-width: 60px;
    padding: 12px 10px;
  }
  .countdown-value {
    font-size: 24px;
  }
}

.countdown-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sky-400);
  margin-top: 4px;
}

.bento-card {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bento-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 33%;
  opacity: 0.2;
  transition: transform 0.5s;
}

.bento-card:hover .bento-card-bg {
  transform: scale(1.1);
}

.genre-card {
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.genre-card:hover {
  background: rgba(14, 165, 233, 0.3);
  border-color: rgba(14, 165, 233, 0.5);
}

.genre-card span {
  font-family: var(--font-label);
  font-weight: 700;
  color: var(--color-on-secondary-container);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.genre-card:hover span {
  color: white;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  color: var(--color-sky-400);
  transition: transform 0.2s;
  display: inline-block;
}

.stat-item:hover .stat-value {
  transform: scale(1.1);
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #020617;
  padding: 48px var(--spacing-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
  }
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  text-transform: uppercase;
  margin: 0 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-sky-400);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
  text-decoration: none;
  color: white;
}

.contact-card:hover {
  border-color: rgba(14, 165, 233, 0.5);
  transform: scale(0.98);
}

.contact-icon {
  color: var(--color-sky-400);
  font-size: 32px;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* --- Added for Vanilla Migration --- */

.animated-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse-blob 4s infinite;
}
.blob-1 {
  top: 25%;
  left: 25%;
  width: 384px;
  height: 384px;
  background: rgba(14, 165, 233, 0.1);
}
.blob-2 {
  bottom: 25%;
  right: 25%;
  width: 384px;
  height: 384px;
  background: rgba(152, 203, 255, 0.1);
  animation-delay: 2s;
}

@keyframes pulse-blob {
  0% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(1); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }

.hover-scale {
  transition: transform 0.2s;
}
.hover-scale:hover {
  transform: scale(1.05);
}
.hover-scale-slow {
  transition: transform 0.7s;
}
.hover-scale-slow:hover {
  transform: scale(1.05);
}

.order-1 { order: 1; }
.order-2 { order: 2; }
@media (max-width: 768px) {
  .order-md-2 { order: 2; }
  .order-md-1 { order: 1; }
}

.hero-btn-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 16px 40px;
  font-size: 18px;
  width: auto;
}

.contact-section-inner {
  padding: var(--spacing-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .hero-btn-container {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn {
    width: 100%;
  }
  .contact-section-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-lg);
  }
}
  .contact-section-inner > div {
    width: 100%;
  }
}
