/* Bit Battler — marketing site */

:root {
  --bg: #0a0a0c;
  --bg-elevated: #12121a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8ec;
  --text-muted: #8b8b9a;
  --accent: #3dff9c;
  --accent-dim: rgba(61, 255, 156, 0.15);
  --glow: rgba(61, 255, 156, 0.35);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --max: 640px;
  --max-wide: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--accent-dim), transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--bg) 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 4px
    );
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap--wide {
  width: min(100% - 2rem, var(--max-wide));
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

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

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

/* Hero */
.hero {
  padding: clamp(3rem, 10vw, 5rem) 0 clamp(4rem, 12vw, 6rem);
  text-align: center;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 255, 156, 0.25);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 28ch;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__panel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 40px var(--glow);
}

.hero__panel-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__panel a {
  font-weight: 600;
  word-break: break-all;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* Layout shell */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Legal / privacy */
.legal {
  padding: 2.5rem 0 4rem;
}

.legal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal__meta {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal article h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal article h2:first-of-type {
  margin-top: 0;
}

.legal article p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.legal article p:last-child {
  margin-bottom: 0;
}

.legal article ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.legal article li {
  margin-bottom: 0.5rem;
}

.legal article strong {
  color: var(--text);
}
