:root {
  --bg: #07090f;
  --bg-2: #0d1220;
  --card: rgba(16, 22, 38, 0.78);
  --line: rgba(212, 175, 106, 0.22);
  --gold: #d4af6a;
  --gold-2: #f0d59a;
  --text: #eef2f8;
  --muted: #9aa6b8;
  --ok: #3dd68c;
  --err: #ff6b7a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: float 16s ease-in-out infinite;
}
.orb-a { width: 420px; height: 420px; background: #1b3a8a; top: -120px; left: -80px; }
.orb-b { width: 380px; height: 380px; background: #6a4a12; right: -90px; top: 20%; animation-delay: -6s; }
.orb-c { width: 300px; height: 300px; background: #12324a; bottom: -80px; left: 30%; animation-delay: -10s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.08); }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero {
  text-align: center;
  margin-bottom: 42px;
  animation: rise 0.8s ease both;
}
.eyebrow {
  display: inline-block;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 14px;
}
h1 span { color: var(--gold-2); }
.lede {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.countdown-wrap {
  margin: 28px auto 0;
  max-width: 560px;
}
.countdown-label {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tick {
  background: rgba(16, 22, 38, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 8px;
  box-shadow: var(--shadow);
}
.tick strong {
  display: block;
  font-size: clamp(22px, 4vw, 34px);
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
}
.tick span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown-live {
  margin-top: 12px;
  color: var(--ok);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: rise 0.9s ease both;
}
.card.delay { animation-delay: 0.12s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

h2 { font-size: 22px; margin-bottom: 8px; }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.courses { display: grid; gap: 10px; }
.course {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  animation: rise 0.7s ease both;
}
.course:nth-child(odd) { animation-delay: 0.05s; }
.course b { font-weight: 600; }
.tag {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #08110c;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  padding: 4px 8px;
  border-radius: 999px;
}
.bonus-label {
  margin: 18px 0 8px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

form { display: grid; gap: 14px; }
label { font-size: 13px; color: var(--muted); }
input, select {
  width: 100%;
  margin-top: 6px;
  background: #0a0f19;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,106,0.15);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.platforms input { display: none; }
.platforms span {
  display: block;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: 0.2s;
}
.platforms input:checked + span {
  border-color: var(--gold);
  background: rgba(212,175,106,0.12);
  color: var(--gold-2);
}

button, .btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14110a;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 30px rgba(212,175,106,0.25);
  transition: transform 0.15s ease, filter 0.15s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
button:hover, .btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
.alert.err { background: rgba(255,107,122,0.12); color: var(--err); }
.alert.ok { background: rgba(61,214,140,0.12); color: var(--ok); }

.success-box { text-align: center; padding: 60px 20px; }
.success-box h1 { margin-bottom: 10px; }
.check {
  width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(61,214,140,0.15);
  color: var(--ok);
  font-size: 34px;
  animation: pop 0.5s ease;
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

.admin-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
th { color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); font-size: 13px; }
footer.note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 28px; }
