:root {
  --bg: #070b14;
  --panel: #0f1729;
  --panel-2: #131e35;
  --border: #1f2d4a;
  --text: #e8eef9;
  --muted: #9aa8c0;
  --accent: #2aa8ff;
  --accent-2: #1f6feb;
  --glow: rgba(42, 168, 255, 0.35);
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1200px 600px at 50% -200px, #12305a 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.header-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; }

/* Layout */
.wrap { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 28px 16px; display: grid; gap: 20px; }
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.landing { display: grid; gap: 20px; }
.steps { text-align: left; }
.steps h2 { text-align: center; }
.steps ol { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.steps li { margin: 6px 0; }
.steps li strong { color: var(--text); }

.eyebrow { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; }
h2 { margin: 0 0 8px; font-size: 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lead { font-size: 17px; max-width: 520px; margin: 0 auto 22px; line-height: 1.55; }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 10px; }
.unit {
  background: #0a1224;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 4px;
}
.unit span { display: block; font-size: clamp(28px, 6vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.unit small { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.status { color: var(--muted); margin: 0 0 14px; }
.when { font-weight: 600; line-height: 1.5; margin: 14px 0 6px; }
.note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* Join */
.join { margin: 18px 0; }
.join-title { font-size: 20px; font-weight: 700; margin: 0 0 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #15223d;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  word-break: break-word;
}
.btn:hover { border-color: var(--accent); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px var(--glow);
}
.btn-lg { padding: 16px 28px; font-size: 17px; }

.shot { display: block; width: 100%; max-width: 560px; margin: 16px auto 0; border-radius: 12px; border: 1px solid var(--border); }

/* Contact + footer */
.site-footer { width: 100%; max-width: 720px; margin: 0 auto; padding: 8px 16px 28px; display: grid; gap: 14px; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 10px; }
.legal { color: var(--muted); font-size: 13px; text-align: center; margin: 4px 0 0; }
.legal a { color: var(--accent); }

@media (max-width: 420px) {
  .countdown { gap: 6px; }
  .unit { padding: 12px 2px; }
  .panel { padding: 22px 16px; }
}

.portal-hint { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.portal-hint a { color: var(--accent); font-weight: 700; }
