:root {
  color-scheme: dark;
  --purple: #5024f3;
  --purple-soft: rgba(80, 36, 243, 0.22);
  --glass: rgba(15, 17, 28, 0.55);
  --text: #f6f5ff;
  --muted: rgba(246, 245, 255, 0.68);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(80, 36, 243, 0.16), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(80, 36, 243, 0.2), transparent 40%),
    #070814;
  color: var(--text);
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 240px;
  height: 240px;
  background: rgba(80, 36, 243, 0.5);
  top: -80px;
  left: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(116, 87, 255, 0.45);
  bottom: -120px;
  right: -100px;
  animation-delay: -2s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(80, 36, 243, 0.4);
  top: 40%;
  right: -60px;
  animation-delay: -5s;
}

.hero {
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.banner {
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

.banner .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 45%);
  mix-blend-mode: screen;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: -48px;
}

.profile img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  background: rgba(7, 8, 20, 0.6);
  backdrop-filter: blur(8px);
  animation: pulse 2.8s ease-in-out infinite;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(80, 36, 243, 0.18);
  border: 1px solid rgba(80, 36, 243, 0.5);
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.headline h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 8px;
}

.subhead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.glass {
  width: min(960px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 17, 28, 0.85), rgba(15, 17, 28, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 24px;
}

.stat {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.countdown h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.timer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.time-box {
  background: rgba(80, 36, 243, 0.12);
  border: 1px solid rgba(80, 36, 243, 0.4);
  border-radius: 16px;
  padding: 14px 10px;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.time-box span {
  font-size: 1.8rem;
  font-weight: 700;
}

.time-box small {
  color: var(--muted);
  letter-spacing: 1px;
}

.progress {
  margin-top: 24px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.progress-track {
  position: relative;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7a5bff, #5024f3, #a287ff);
  border-radius: inherit;
  transition: width 1s ease;
}

.progress-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.progress-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta > * {
  width: 100%;
}

.cta-details {
  width: 100%;
}

.cta-details summary {
  list-style: none;
  width: 100%;
  cursor: pointer;
}

.cta-details summary::-webkit-details-marker {
  display: none;
}

.cta-panel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
  animation: fadeIn 0.35s ease;
}

.cta-panel p {
  color: var(--muted);
  font-size: 0.95rem;
}

.mail-field {
  display: grid;
  gap: 6px;
}

.mail-field label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.mail-value,
.mail-field textarea {
  background: rgba(7, 8, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.mail-field textarea {
  resize: none;
  line-height: 1.5;
}

.cta a,
.cta summary,
button {
  border: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta a,
.cta summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

button:active {
  transform: scale(0.98);
}

.primary {
  background: linear-gradient(135deg, #7a5bff, #5024f3);
  color: white;
  box-shadow: 0 10px 25px rgba(80, 36, 243, 0.4);
}

.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta a:hover,
.cta summary:hover,
button:hover {
  transform: translateY(-2px);
}

.cta summary:focus-visible,
.cta a:focus-visible {
  outline: 2px solid rgba(122, 91, 255, 0.8);
  outline-offset: 2px;
}

.cta a.primary,
.cta summary.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding-bottom: 12px;
}

@media (min-width: 720px) {
  body {
    padding: 40px;
  }

  .banner img {
    height: 260px;
  }

  .cta {
    flex-direction: row;
    justify-content: center;
  }

  .cta > * {
    width: auto;
  }
}

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 12px 30px rgba(80, 36, 243, 0.45);
  }
  50% {
    box-shadow: 0 12px 36px rgba(162, 135, 255, 0.65);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
