/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --ice:         #1a3a5c;   /* dark text emphasis */
  --ice-dim:     #2e5a8a;   /* secondary dark emphasis */
  --blue:        #2e7bc4;   /* primary accent — matches game UI blue */
  --blue-dim:    #1a5a9a;   /* hover states */
  --blue-bright: #4a9de0;   /* highlights */
  --stone:       #cc2b2b;   /* red accent — section labels only */
  --stone-dim:   #a02020;   /* red hover */
  --dark:        #f0f4f8;   /* page bg (light blue-grey) — misnamed; was dark theme */
  --dark-mid:    #e2eaf2;   /* alternate section bg */
  --dark-card:   #ffffff;   /* card bg */
  --text:        #0e1e30;   /* primary text */
  --text-dim:    #4a6480;   /* secondary text */
  --rule:        rgba(46,123,196,0.15);  /* borders and dividers */
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: linear-gradient(to bottom, rgba(240,244,248,0.97), transparent);
  backdrop-filter: blur(2px);
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--blue); }

/* ── SECTION TYPOGRAPHY ── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 600px;
}

.section-body {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.8;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer span {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

footer a {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

footer a:hover { color: var(--blue); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(46,123,196,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(204,43,43,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* subtle ice texture rings */
.hero::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(200,223,240,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 160px rgba(46,123,196,0.04),
    0 0 0 320px rgba(46,123,196,0.025),
    0 0 0 480px rgba(46,123,196,0.012);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.75rem;
  position: relative;
}

.hero-title {
  position: relative;
  width: min(660px, 100%);
}

.hero-title-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 1rem;
  letter-spacing: 0.04em;
  position: relative;
}

/* ── SCREENSHOT BASE ── */
.screenshot {
  display: block;
  background: var(--dark-card);
  border: 1px solid rgba(46,123,196,0.24);
  border-radius: 28px;
  overflow: hidden;
  object-fit: cover;
  box-shadow: 0 40px 60px rgba(46,100,160,0.18);
}

/* ── PAGE (sub-pages: about, privacy, etc.) ── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
}

.page-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.page-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2rem;
}

.page-content p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-content ul:not(.policy-list),
.page-content ol {
  margin-top: 1.25rem;
  padding-left: 1.5rem;
  list-style-position: outside;
}

.page-content ul:not(.policy-list) li,
.page-content ol li {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-content ul:not(.policy-list) li + li,
.page-content ol li + li {
  margin-top: 0.35rem;
}

.page-content>p:not(.page-eyebrow) {
  margin-top: 1.0rem;
}

.page-content>h1+p {
  margin-top: 0;
}

.lineage p+p {
  margin-top: 1.0rem;
}

.page-content p + h2,
.page-content p + h3,
.page-content p + h4,
.page-content ul + h2,
.page-content ul + h3,
.page-content ul + h4 {
  margin-top: 2rem;
}

.policy-list {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.policy-list-item {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
}

.policy-list-item::before {
  position: absolute;
  left: 0;
  top: 0;
}

.policy-list-item-positive::before {
  content: '✅';
}

.policy-list-item-negative::before {
  content: '❌';
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  footer { flex-direction: column; text-align: center; }
}
