/* AETHERFALL — landing page styles */
:root {
  --bg0: #06070d;
  --bg1: #0b0f1d;
  --bg2: #11182c;
  --panel: rgba(16, 22, 40, 0.72);
  --line: rgba(120, 160, 255, 0.14);
  --txt: #dfe7ff;
  --dim: #8b96b8;
  --cyan: #4dd2ff;
  --gold: #ffd24d;
  --red: #ff5a3c;
  --grad: linear-gradient(120deg, #4dd2ff 0%, #8f6bff 55%, #ffd24d 110%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg0);
  color: var(--txt);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 32px;
  background: rgba(6, 7, 13, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--txt); letter-spacing: 2px; }
.logo:hover { text-decoration: none; }
.logo-mark { color: var(--gold); font-size: 22px; filter: drop-shadow(0 0 8px rgba(255, 210, 77, .6)); }
.logo-text b { color: var(--cyan); }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--dim); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.nav nav a:hover { color: var(--txt); text-decoration: none; }
.nav-cta { margin-left: 8px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1px solid var(--line);
  color: var(--txt); background: rgba(30, 40, 70, 0.5);
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; background: rgba(48, 64, 110, 0.6); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-gold {
  background: linear-gradient(135deg, #ffd24d, #ff9a3c);
  color: #241a05; border: none;
  box-shadow: 0 4px 24px rgba(255, 190, 60, .35);
}
.btn-gold:hover { box-shadow: 0 6px 34px rgba(255, 190, 60, .5); }
.btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 12px; }
.ghost { background: transparent; }

/* ── hero section ── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(77, 210, 255, .16), transparent 60%),
    radial-gradient(ellipse 60% 45% at 80% 110%, rgba(255, 90, 60, .10), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 80%);
  overflow: hidden;
}
#hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 120px 24px 60px; max-width: 880px; }
.hero-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 4px;
  color: var(--cyan); text-transform: uppercase;
  padding: 6px 16px; border: 1px solid rgba(77, 210, 255, .35); border-radius: 999px;
  background: rgba(77, 210, 255, .07);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 86px); line-height: 1.02; font-weight: 900;
  letter-spacing: 1px; margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(77, 210, 255, .25);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { color: var(--dim); font-size: 19px; max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.hero-badges span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }

/* ── sections ── */
.section { max-width: 1100px; margin: 0 auto; padding: 90px 24px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; text-align: center; }
.sec-sub { color: var(--dim); text-align: center; margin-bottom: 44px; font-size: 17px; }

/* download */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.dl-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 34px 22px 26px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--txt); text-decoration: none;
  transition: transform .15s ease, border-color .2s, box-shadow .2s;
}
.dl-card:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(255, 210, 77, .5); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.dl-ic { font-size: 44px; line-height: 1; }
.dl-name { font-size: 20px; font-weight: 800; }
.dl-meta { color: var(--dim); font-size: 13px; }
.dl-btn {
  margin-top: 12px; padding: 9px 26px; border-radius: 9px; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, #ffd24d, #ff9a3c); color: #241a05;
}
.dl-card.or .dl-btn { background: rgba(77, 210, 255, .15); color: var(--cyan); border: 1px solid rgba(77,210,255,.4); }
.dl-note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 26px; }
.dl-note.error { color: var(--red); }

/* hero grid */
.hero-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.h-card {
  border-radius: 12px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--line); transition: transform .14s ease, border-color .2s;
}
.h-card:hover { transform: translateY(-3px); border-color: rgba(77, 210, 255, .45); }
.h-card canvas { display: block; width: 100%; height: auto; }
.h-info { padding: 10px 12px 12px; }
.h-name { font-weight: 800; font-size: 15px; }
.h-title { color: var(--dim); font-size: 12px; }
.h-class { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; display: inline-block; padding: 2px 8px; border-radius: 5px; background: rgba(255,255,255,.06); }

/* maps */
.map-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.map-card { padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.map-card canvas { border-radius: 12px; margin-bottom: 14px; background: #0a0f1c; }
.map-card h3 { font-size: 20px; margin-bottom: 8px; }
.map-card p { color: var(--dim); font-size: 14px; }

/* modes */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.mode-card { padding: 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mode-card h3 { font-size: 21px; margin-bottom: 10px; }
.mode-card p { color: var(--dim); font-size: 15px; }
.mode-card.ranked { border-top: 2px solid var(--gold); }
.mode-card.casual { border-top: 2px solid var(--cyan); }
.mode-card.turbo { border-top: 2px solid var(--red); }

/* footer */
.footer {
  border-top: 1px solid var(--line); padding: 30px 24px; text-align: center;
  color: var(--dim); font-size: 14px; display: grid; gap: 6px;
}

@media (max-width: 760px) {
  .nav { padding: 12px 16px; gap: 14px; }
  .nav nav { display: none; }
  .hero-inner { padding-top: 100px; }
}
