:root {
  --bg: #0b1016;
  --bg-elevated: #121a24;
  --card: #1a2433;
  --card-hover: #1c2736;
  --border: #273445;
  --text: #e8eef4;
  --muted: #8fa3b8;
  --accent: #6eb6ff;
  --accent-soft: rgba(110, 182, 255, 0.14);
  --accent-strong: #9fd0ff;
  --ok: #7dcea0;
  --warn: #e6c07b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --max: 880px;
  --nav-h: 3.4rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* bg-art-v4 Full-bleed fan history — desktop fixed; mobile uses scroll-safe layer + fan crop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/fan-history-v3.jpg") center 60% / cover no-repeat;
  opacity: 1;
  /* iOS/Safari: fixed bg layers often fail — overridden below */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (max-width: 768px) {
  body::before {
    position: absolute;
    min-height: 100%;
    height: 100%;
    background: url("/assets/fan-history-mobile.jpg") center bottom / cover no-repeat;
  }
  html, body {
    background-color: var(--bg);
  }
  /* Extra insurance: paint bg on body too for WebKit */
  body {
    background-image: url("/assets/fan-history-mobile.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent-strong); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 22, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #d7ebff 0%, #6eb6ff 45%, #2a4f7a 100%);
  box-shadow: 0 0 0 3px rgba(110, 182, 255, 0.18);
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.2rem 0;
}

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

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.1rem 2.5rem;
}

.hero {
  padding: 1.4rem 0 0.4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(110, 182, 255, 0.25);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.9rem;
}

.hero h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.lede {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
  margin: 0;
}

.hero-caption {
  text-shadow: 0 1px 16px rgba(0,0,0,0.7);
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.01em;
  max-width: 36rem;
  color: var(--muted);
  opacity: 0.88;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.6rem 0 1.2rem;
}

.card-link {
  display: block;
  background: linear-gradient(180deg, var(--card-hover), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.card-link:hover {
  border-color: rgba(110, 182, 255, 0.45);
  transform: translateY(-2px);
  color: inherit;
}

.card-link .icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  color: var(--accent);
}

.card-link h2 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  margin: 1.1rem 0;
  box-shadow: var(--shadow);
}

.card h2:first-child,
.card h3:first-child { margin-top: 0; }

h2 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin: 1.8rem 0 0.7rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.2rem 0 0.45rem;
}

.muted { color: var(--muted); }
.note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1rem 0;
}

.disclosure {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  margin: 1rem 0 0.2rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.2rem 0;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 540px;
}

th, td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.product {
  font-weight: 600;
}

.claim {
  color: var(--ok);
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid rgba(110, 182, 255, 0.35);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: rgba(110, 182, 255, 0.22);
  color: #fff;
}

.checklist {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.checklist li { margin: 0.35rem 0; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.compare-grid .card { margin: 0; }

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  margin-bottom: 0.55rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.1rem 2.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.site-footer p { margin: 0.35rem 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 700px) {
  .card-grid,
  .compare-grid { grid-template-columns: 1fr; }
  .nav-wrap { align-items: flex-start; flex-direction: column; gap: 0.55rem; }
  .nav { justify-content: flex-start; }
}




