:root {
  --background: 222 47% 5%;
  --foreground: 0 0% 98%;
  --primary: 207 90% 61%;
  --primary-glow: 199 95% 74%;
  --card: 222 40% 8%;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--background)/0.2);
}

html, body {
  height: 100%;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, .hero, .showcase, .countdown-section {
  background-color: hsl(var(--background));
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.navigation {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
}
.nav-logo {
  color: hsl(var(--primary-glow));
  font-weight: bold;
  text-decoration: none;
  font-size: 1.25rem;
  text-shadow: 0 0 4px hsl(var(--primary-glow)/0.4);
}
.nav-logo:hover {
  text-shadow: 0 0 10px hsl(var(--primary-glow)/0.6);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.float-glow.one {
  width: 20rem;
  height: 20rem;
  top: 15%;
  left: 10%;
  background: hsl(var(--primary)/0.15);
}
.float-glow.two {
  width: 24rem;
  height: 24rem;
  bottom: 20%;
  right: 15%;
  background: hsl(var(--primary-glow)/0.15);
  animation-delay: 1s;
}
.float-glow.three {
  width: 16rem;
  height: 16rem;
  top: 50%;
  left: 50%;
  background: hsl(var(--primary)/0.1);
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.badge {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: hsl(var(--primary)/0.15);
  border: 2px solid hsl(var(--primary)/0.3);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(var(--primary-glow));
  text-shadow: 0 0 2px hsl(var(--primary-glow)/0.3);
}
.badge:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.logo-wrapper {
  position: relative;
  max-width: 24rem;
  margin: 0 auto 1.5rem;
}

.logo-main {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(59,158,254,0.2));
  animation: glow-pulse 2s infinite;
}

.logo-main:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(59,158,254,0.3));
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 6px hsl(var(--primary)/0.3), 0 0 15px hsl(var(--primary-glow)/0.5);
}

.gradient-text {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary-glow)), hsl(var(--primary)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtext {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: hsl(var(--foreground)/0.9);
}

.interactive-text {
  transition: all 0.3s ease;
}
.interactive-text:hover {
  filter: drop-shadow(0 0 6px hsl(var(--primary-glow)/0.4));
  transform: scale(1.05);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 1.25rem auto 1.5rem;
}
@media(min-width:720px) {
  .countdown-grid { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: hsl(var(--card)/0.6);
  border: 2px solid hsl(var(--primary)/0.2);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 0 10px hsl(var(--primary)/0.15);
  transition: all 0.3s ease;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px hsl(var(--primary)/0.3);
  border-color: hsl(var(--primary)/0.3);
}

.time-num {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(180deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  -webkit-background-clip: text;
  color: transparent;
}

.time-label { 
  margin-top: 0.5rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  color: hsl(var(--foreground)); 
}

.showcase {
  padding: 3rem 0;
  background-color: hsl(var(--background));
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
@media(min-width:900px) { .card-grid { grid-template-columns: repeat(3,1fr); } }
.card.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.card.media:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid hsl(var(--primary)/0.1);
  color: hsl(var(--foreground)/0.7);
}

.text-muted { color: hsl(var(--foreground)/0.7); }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}
@keyframes glow-pulse {
  0%,100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.6; filter: brightness(1.2); }
}
