/* Noctward - Coming Soon page styles.
   Brand tokens mirror noctward/styles.css:1-10 so the page feels like the game. */
:root {
  --accent: #6c7bff;
  --accent-2: #5effa6;
  --ink: #ecebe4;
  --danger: #ff4d6d;
  --gold: #ffe27a;
  --bg: #05060f;
  --panel: rgba(12, 14, 30, 0.96);
  --panel-soft: rgba(18, 21, 40, 0.7);
  --border: rgba(108, 123, 255, 0.22);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --display: "Trebuchet MS", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--display);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient background layers */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(108, 123, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 123, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: center;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    120% 90% at 50% 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  padding: 90px 0px 0 50px;
}
.kicker {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.wordmark {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(108, 123, 255, 0.45);
}
.tagline {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: rgba(236, 235, 228, 0.85);
}
.tagline b {
  color: var(--gold);
  font-weight: 700;
}
.release-badge {
  display: inline-block;
  margin-top: 28px;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.release-badge span {
  color: var(--accent-2);
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, #4f5ce0 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(108, 123, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 10px 38px rgba(108, 123, 255, 0.55);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--panel-soft);
  border-color: var(--accent);
}

/* ---------- COUNTDOWN ---------- */
.countdown {
  padding: 20px 0 60px;
}
.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.count-cell {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 10px;
  text-align: center;
}
.count-cell .num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(108, 123, 255, 0.5);
}
.count-cell .lbl {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(236, 235, 228, 0.6);
}
.count-done {
  text-align: center;
  font-size: 1.2rem;
}
.count-done a {
  color: var(--accent-2);
}

/* ---------- SECTION TITLES ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 30px;
  letter-spacing: 0.01em;
}

/* ---------- VIDEO ---------- */
.video-section {
  padding: 40px 0;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c1a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  background: radial-gradient(
    80% 80% at 50% 40%,
    rgba(108, 123, 255, 0.14),
    transparent 70%
  );
}
.play-glyph {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: #fff;
  background: var(--panel);
  border: 1px solid var(--accent);
  box-shadow: 0 0 40px rgba(108, 123, 255, 0.5);
}
.video-placeholder p {
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(236, 235, 228, 0.7);
}

/* ---------- FEATURES ---------- */
.features {
  padding: 60px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition:
    transform 0.15s ease,
    border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.feature-card h3 {
  color: var(--accent-2);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: rgba(236, 235, 228, 0.82);
  font-size: 0.96rem;
}

/* ---------- NOTIFY ---------- */
.notify {
  padding: 60px 0;
  text-align: center;
}
.notify .release-badge {
  margin: 4px 0 18px;
}
.notify-sub {
  max-width: 540px;
  margin: 0 auto 26px;
  color: rgba(236, 235, 228, 0.8);
}
.notify-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.notify-form input {
  flex: 1 1 240px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.95rem;
}
.notify-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.25);
}
.notify-status {
  margin-top: 16px;
  min-height: 1.2em;
  font-family: var(--mono);
  font-size: 0.9rem;
}
.notify-status.ok {
  color: var(--accent-2);
}
.notify-status.err {
  color: var(--danger);
}

/* ---------- SOCIALS ---------- */
.socials {
  padding: 40px 0 70px;
  text-align: center;
}
.social-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-link {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.social-link:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  color: rgba(236, 235, 228, 0.55);
  font-size: 0.85rem;
}
.site-footer nav {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  justify-content: center;
}
.site-footer a {
  color: var(--accent);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 520px) {
  .hero {
    padding: 60px 0 36px;
  }
  .count-grid {
    gap: 8px;
  }
  .count-cell {
    padding: 16px 6px;
  }
}
