:root {
  --bg: #0c0e12;
  --bg-elevated: #141820;
  --text: #eef1f6;
  --muted: #8b95a8;
  --accent: #3dce7a;
  --accent-dim: #2a9f5c;
  --gold: #e8c547;
  --gold-soft: rgba(232, 197, 71, 0.15);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Fredoka", "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(61, 206, 122, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 197, 71, 0.06), transparent);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(12, 14, 18, 0.85);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.alpha-band {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent);
  padding: 1.75rem 0 2rem;
}

.alpha-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.35rem;
  color: var(--gold);
}

.alpha-band .alpha-lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 42rem;
  font-size: 0.98rem;
}

.alpha-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  max-width: 720px;
}

.alpha-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.alpha-form input {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
}

.alpha-form input:focus {
  outline: 2px solid rgba(61, 206, 122, 0.45);
  outline-offset: 1px;
}

.alpha-form .btn {
  height: 2.85rem;
  white-space: nowrap;
}

.alpha-status {
  margin: 0.85rem 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
}

.alpha-status.ok {
  color: var(--accent);
}

.alpha-status.err {
  color: #ff8b7a;
}

.alpha-fallback {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.alpha-fallback a {
  color: var(--accent);
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #062416;
}

.btn-primary:hover {
  background: #4ae08a;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

#mechanics,
#heroes,
#screens {
  padding: 3rem 0;
}

.hero-carousel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  outline: none;
}

.hero-carousel:focus-visible {
  box-shadow: 0 0 0 2px rgba(61, 206, 122, 0.45);
}

.hero-carousel-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.hero-carousel-card {
  display: grid;
  grid-template-columns: minmax(180px, 34%) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  min-height: 320px;
}

.hero-carousel-splash {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0c10;
  aspect-ratio: 3 / 4;
}

.hero-carousel-splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-carousel-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.35rem 0.25rem 0.35rem 0;
}

.hero-carousel-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  line-height: 1.15;
}

.hero-carousel-ability {
  margin: 0;
  color: #ff9a45;
  font-weight: 700;
  font-size: 1rem;
}

.hero-carousel-pos,
.hero-carousel-neg {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-carousel-pos {
  color: #59e07a;
}

.hero-carousel-neg {
  color: #ff7a6e;
}

.hero-carousel-lore {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-carousel-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-carousel-nav:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-carousel-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.hero-carousel-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.hero-carousel-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.hero-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mechanic-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.mechanic-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.mechanic-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.mechanic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.screenshot-frame {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band {
  margin: 2rem 0 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(61, 206, 122, 0.12), rgba(232, 197, 71, 0.08));
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-devs h3 {
  color: var(--text);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.dev-list {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
}

.recruit {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

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

  .hero-carousel-stage {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-carousel-nav {
    display: none;
  }

  .hero-carousel-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-carousel-splash {
    max-width: 280px;
    margin-inline: auto;
  }

  .hero-carousel-copy {
    padding: 0 0.15rem;
  }

  .hero-carousel-dots {
    justify-content: center;
    width: 100%;
  }

  .alpha-form {
    grid-template-columns: 1fr;
  }

  .alpha-form .btn {
    width: 100%;
  }
}
