:root {
  --bg: #0a1929;
  --bg-2: #1e3a5f;
  --card: rgba(30, 58, 95, 0.92);
  --line: rgba(59, 130, 246, 0.16);
  --primary: #3b82f6;
  --primary-2: #2563eb;
  --text: #f0f9ff;
  --muted: #94a3b8;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 20%),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 16%),
    linear-gradient(180deg, #0a1929 0%, #1e3a5f 50%, #0a1929 100%);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 25, 41, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #37ffad);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.26), 0 0 20px rgba(0, 255, 136, 0.15);
  display: grid;
  place-items: center;
  color: #04130b;
  font-weight: 900;
  animation: glow 2s ease-in-out infinite alternate;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.26), 0 0 20px rgba(0, 255, 136, 0.15);
  animation: glow 2s ease-in-out infinite alternate;
}

.top-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #05120c;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 255, 136, 0.22), 0 0 15px rgba(0, 255, 136, 0.1);
  transition: all 0.3s ease;
}

.top-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3), 0 0 25px rgba(0, 255, 136, 0.2);
}

.hero {
  padding: 56px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(0, 255, 136, 0.06);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  margin: 0 0 18px;
  letter-spacing: -1.4px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.hero-point {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  color: #dbf5e4;
  font-size: 15px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #05120c;
  box-shadow: 0 18px 44px rgba(0, 255, 136, 0.24), 0 0 20px rgba(0, 255, 136, 0.15);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 255, 136, 0.35), 0 0 30px rgba(0, 255, 136, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-note {
  font-size: 13px;
  color: #b7d3c0;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 29, 21, 0.95), rgba(10, 17, 12, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 22px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0,255,136,.14), transparent 70%);
  pointer-events: none;
}

.prize-box {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.prize-image {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  text-align: center;
  color: #d8f8e6;
  background:
    radial-gradient(circle at center, rgba(0,255,136,.08), transparent 40%),
    linear-gradient(180deg, rgba(0,255,136,.03), rgba(255,255,255,.01));
}

.prize-image img {
  width: 95%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mini-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.section {
  padding: 26px 0;
}

.section:last-of-type {
  padding-top: 0;
  padding-bottom: 52px;
}

.countdown-wrap {
  background: linear-gradient(180deg, rgba(10, 19, 13, 0.95), rgba(8, 14, 10, 0.95));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.8px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.urgency-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.urgency-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #defbe8;
}

.badge-warning {
  color: #16120a;
  background: linear-gradient(135deg, #ffd166, #f7b733);
  border: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.time-card {
  border-radius: 22px;
  padding: 22px 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.time-value {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.time-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-card h3,
.info-card h3,
.rules-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -0.4px;
}

.subtext {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
}

.stack { display: grid; gap: 14px; }

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
  font-size: 14px;
  color: #e7fff0;
}

.field input,
.field select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.field select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.field select option {
  background: var(--bg-2);
  color: var(--text);
  padding: 12px 16px;
  border: none;
}

.field input::placeholder { color: #94a3b8; }
.field input:focus,
.field select:focus {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
  outline: none;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.submit-note {
  font-size: 12px;
  color: #b8d7c3;
  margin-top: 8px;
}

.message {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  display: none;
  font-size: 15px;
  font-weight: 600;
}

.message.success {
  display: block;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.18);
  color: #dffff0;
}

.message.error {
  display: block;
  background: rgba(255, 98, 98, 0.08);
  border: 1px solid rgba(255, 98, 98, 0.18);
  color: #ffe2e2;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  background: rgba(0,255,136,0.12);
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 6px;
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.list-item {
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  color: #e4faed;
}

.footer {
  padding: 34px 0 52px;
  color: #a8c7b3;
  font-size: 13px;
}

.fine-print {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 18px;
  margin-top: 18px;
}

.muted-link { color: var(--primary); font-weight: 700; }

@media (max-width: 980px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .urgency-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .countdown,
  .stats,
  .hero-points,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .top-cta {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .countdown,
  .stats,
  .hero-points,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 38px; }
  .card, .countdown-wrap, .hero-card { padding: 18px; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; }
}

@keyframes glow {
  from {
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.26), 0 0 20px rgba(0, 255, 136, 0.15);
  }
  to {
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.26), 0 0 30px rgba(0, 255, 136, 0.25);
  }
}
