:root {
  --bg: #01030b;
  --fg: #f6f8ff;
  --accent: oklch(0.55 0.32 264);
  --accent-2: oklch(0.35 0.16 108);
  --muted: rgba(246, 248, 255, 0.7);
  --radius: 1.5rem;
  --shadow: 0 20px 60px rgba(4, 10, 30, 0.8);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  position: relative;
  overflow-x: hidden;
}

button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
  animation: rippleEffect 0.7s ease-out;
}

@keyframes rippleEffect {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.starfield,
.nebula,
.shooting {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.starfield {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1px) repeat;
  background-size: 800px 800px;
  animation: drift 15s linear infinite;
  opacity: 0.25;
}

.nebula {
  background: radial-gradient(circle at 25% 20%, rgba(255, 99, 212, 0.25), transparent 40%),
    radial-gradient(circle at 70% 10%, rgba(119, 176, 255, 0.35), transparent 30%),
    radial-gradient(circle at 50% 70%, rgba(255, 206, 0, 0.25), transparent 40%);
  mix-blend-mode: screen;
  filter: blur(40px);
  animation: pulse 12s ease-in-out infinite;
}

.shooting {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  width: 180px;
  height: 2px;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: shooting 3s linear infinite;
}

.shooting-one {
  top: 20%;
  left: -200px;
}

.shooting-two {
  top: 60%;
  left: -220px;
  animation-delay: 0.9s;
}

.shooting-three {
  top: 40%;
  left: -180px;
  animation-delay: 1.8s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-120px, 80px, 0);
  }
}

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

@keyframes starPulse {
  0%,
  100% {
    transform: scale(0.96) rotate(0deg);
    box-shadow: 0 0 15px rgba(255, 205, 143, 0.4);
  }
  50% {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 28px rgba(255, 205, 143, 0.75);
  }
}

@keyframes starGlow {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.35;
  }
  100% {
    transform: rotate(360deg) scale(1.02);
    opacity: 0.15;
  }
}

@keyframes shooting {
  0% {
    transform: translateX(0) scaleX(0.4);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    transform: translateX(120vw) scaleX(1);
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.hero-panel {
  position: relative;
  padding: 2rem clamp(1.5rem, 3vw, 3.5rem) 4rem;
  z-index: 1;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  background: rgba(6, 9, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.orb {
  width: 46px;
  height: 46px;
  position: relative;
  background: linear-gradient(135deg, #fff9d1, #fdd86c 45%, #f4b64a 70%, #ff9b1c 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 0 20px rgba(255, 215, 135, 0.7);
  animation: starPulse 3s ease-in-out infinite;
}

.orb::after {
  content: '';
  position: absolute;
  inset: -10px;
  clip-path: inherit;
  border: 1px solid rgba(255, 255, 255, 0.7);
  filter: blur(1px);
  opacity: 0.6;
  animation: starGlow 6s linear infinite;
}

.brand-label {
  margin: 0;
  letter-spacing: 0.3rem;
  font-size: 0.9rem;
}

.brand-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status-pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost-btn,
.primary-btn,
.secondary-btn {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), #ec8cff);
  color: var(--bg);
  box-shadow: 0 12px 30px rgba(236, 140, 255, 0.35);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0.5rem 0;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #9caffe;
  font-size: 1.05em;
  display: block;
}

.hero-copy {
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hero-glass {
  background: rgba(5, 7, 20, 0.9);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(5, 5, 20, 0.9);
  backdrop-filter: blur(18px);
}

.hero-glass-title {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.hero-glass-sub {
  margin: 0.4rem 0 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.progress {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 0.75rem 0;
}

.progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffd4ff, #8fd4ff);
  border-radius: 999px;
  animation: pulse-fill 3s ease-in-out infinite alternate;
}

@keyframes pulse-fill {
  from {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  }
  to {
    box-shadow: 0 0 40px rgba(143, 212, 255, 0.9);
  }
}

.main-shell {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.5rem, 3vw, 3.5rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.values article {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(14, 15, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(1, 3, 11, 0.8);
}

.values h2 {
  margin: 0.5rem 0;
}

.values p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tag {
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.8;
}

.mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.mission-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.08);
}

.mission-card-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.3rem;
}

.mission-card-body {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.features article {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(13, 18, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(3, 8, 25, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features article:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(3, 8, 25, 0.85);
}

.features h3 {
  margin: 0 0 0.4rem;
}

.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: rgba(8, 12, 30, 0.9);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 35px 60px rgba(1, 3, 11, 0.9);
}

.timer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.timer div {
  text-align: center;
  min-width: 80px;
}

.timer span {
  font-size: 2.2rem;
  display: block;
}

.partners {
  background: rgba(6, 8, 23, 0.95);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.partner-grid span {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(252, 34, 160, 0.15), rgba(89, 112, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cta-modal {
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 11, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.cta-modal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 360px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-modal-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}

.modal-label {
  letter-spacing: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.hidden {
  display: none;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .nav-shell {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .timer {
    justify-content: center;
  }

  .cta-panel {
    flex-direction: column;
  }
}
