/* QuizSpark — bold 90s/2000s retro arcade */
:root {
  --bg: #0c0420;
  --bg-2: #14082e;
  --bg-3: #20104a;
  --ink: #f5e9ff;
  --ink-mute: #b9a8d4;
  --pink: #ff3d8b;
  --pink-glow: #ff66a8;
  --purple: #a855f7;
  --cyan: #22d3ee;
  --cyan-glow: #67e8f9;
  --yellow: #fde047;
  --lime: #a3e635;
  --orange: #fb923c;
  --accent: var(--pink);
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.4);
  --font-display: 'VT323', 'Courier New', monospace;
  --font-pixel: 'Press Start 2P', monospace;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 800px at 80% -10%, #2a0f5c 0%, transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, #4a1d8c 0%, transparent 55%),
    radial-gradient(800px 600px at 50% 110%, #1a0a3a 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Subtle CRT scanline overlay */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--pink); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; padding: 8px; background: var(--yellow); color: black; z-index: 9999; }

/* ============================== HEADER ============================== */
.site-header {
  background: rgba(12, 4, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--purple);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 30px rgba(168, 85, 247, .15);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: grid; place-items: center; font-size: 24px; color: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 61, 139, .6), inset 0 0 10px rgba(255, 255, 255, .2);
  text-shadow: 0 0 10px rgba(253, 224, 71, .8);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 61, 139, .6), inset 0 0 10px rgba(255, 255, 255, .2); }
  50% { box-shadow: 0 0 30px rgba(255, 61, 139, .9), inset 0 0 15px rgba(255, 255, 255, .3); }
}
.brand-name {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: .02em; color: var(--ink);
  text-shadow: 0 0 8px rgba(255, 61, 139, .5);
}
.brand-name-alt { color: var(--cyan); text-shadow: 0 0 8px rgba(34, 211, 238, .5); }
.brand-tag {
  font-family: var(--font-pixel); font-size: 8px;
  padding: 4px 8px; border-radius: 0; background: var(--cyan); color: #022;
  letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--cyan); box-shadow: 2px 2px 0 var(--purple);
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.site-nav a {
  color: var(--ink-mute); padding: 9px 14px; border-radius: 8px;
  font-weight: 600; font-size: 14px; transition: all .15s;
  display: inline-flex; align-items: center; gap: 5px;
}
.site-nav a:hover { color: white; background: rgba(168,85,247,.25); }
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white; box-shadow: 0 4px 12px rgba(255, 61, 139, .4);
}
.site-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 61, 139, .55); color: white; }
.nav-emoji { font-size: 14px; }

/* ============================== HERO ============================== */
.hero { padding: 56px 0 32px; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(255, 61, 139, .03) 40px 41px),
    repeating-linear-gradient(-45deg, transparent 0 40px, rgba(34, 211, 238, .03) 40px 41px);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-pixel); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--yellow);
  background: rgba(253, 224, 71, .1); padding: 8px 14px; border-radius: 0;
  border: 2px solid var(--yellow);
  margin-bottom: 22px;
  box-shadow: 3px 3px 0 var(--pink);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: .95; margin: 0 0 22px; letter-spacing: 0;
  font-weight: 400; color: white;
  text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--purple);
}
.hl {
  background: linear-gradient(120deg, var(--cyan), var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.lede { font-size: 1.15rem; color: var(--ink-mute); margin: 0 0 28px; max-width: 56ch; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats li {
  font-family: var(--font-display);
}
.hero-stats li strong {
  display: block; font-size: 2.8rem; color: var(--cyan);
  font-weight: 400; line-height: 1;
  text-shadow: 2px 2px 0 var(--purple);
}
.hero-stats li span {
  font-family: var(--font-pixel); font-size: 8px;
  color: var(--ink-mute); text-transform: uppercase; letter-spacing: .14em;
  margin-top: 6px; display: inline-block;
}
.hero-art {
  position: relative;
}
.hero-art img {
  border-radius: 16px;
  box-shadow:
    0 0 0 4px var(--bg),
    0 0 0 6px var(--pink),
    8px 8px 0 var(--purple),
    20px 20px 60px rgba(255, 61, 139, .4);
  transform: rotate(-2deg);
  transition: transform .3s;
}
.hero-art:hover img { transform: rotate(-1deg) translateY(-4px); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art img { transform: none; }
  .hero-art:hover img { transform: none; }
}

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px;
  font-weight: 800; font-size: 15px; font-family: var(--font-body);
  text-decoration: none; cursor: pointer; border: 0; transition: all .15s;
  letter-spacing: .02em;
}
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  box-shadow: 0 6px 0 #6b1a4a, 0 8px 24px rgba(255, 61, 139, .45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #6b1a4a, 0 12px 32px rgba(255, 61, 139, .55); color: white; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #6b1a4a, 0 4px 12px rgba(255, 61, 139, .45); }
.btn-ghost { background: transparent; color: var(--cyan); border: 2px solid var(--cyan); }
.btn-ghost:hover { background: var(--cyan); color: var(--bg); }

/* ============================== SECTIONS ============================== */
.section { padding: 64px 0; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(168,85,247,.06), transparent);
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h1, .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 12px;
  letter-spacing: 0; font-weight: 400; color: white;
  text-shadow: 3px 3px 0 var(--pink);
}
.section-head p { color: var(--ink-mute); max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }
.section-h {
  font-family: var(--font-display);
  font-size: 2rem; margin: 0 0 24px; color: white;
  text-shadow: 2px 2px 0 var(--cyan);
}
.section-foot { text-align: center; margin-top: 36px; }

/* ============================== CATEGORY GRID ============================== */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.cat-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 24px; color: var(--ink); transition: all .25s;
  overflow: hidden; min-height: 220px;
  display: flex; flex-direction: column; gap: 10px;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: .15; transition: opacity .25s;
}
.cat-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); color: var(--ink); }
.cat-card:hover::before { opacity: .25; }
.cat-card-emoji {
  font-size: 56px; line-height: 1; position: relative; z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.cat-card h3 {
  font-family: var(--font-display); font-size: 2rem;
  margin: 8px 0 4px; color: white; position: relative; z-index: 1;
  font-weight: 400;
  text-shadow: 2px 2px 0 var(--accent);
}
.cat-card p { margin: 0 0 8px; font-size: .95rem; color: var(--ink-mute); position: relative; z-index: 1; line-height: 1.5; }
.cat-count {
  font-family: var(--font-pixel); font-size: 9px;
  color: var(--accent); letter-spacing: .1em; text-transform: uppercase;
  margin-top: auto; position: relative; z-index: 1;
}

/* ============================== QUIZ CARDS ============================== */
.quiz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.quiz-card {
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden; color: var(--ink);
  transition: all .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.quiz-card:hover {
  transform: translateY(-4px); border-color: var(--accent); color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 0 2px var(--accent);
}
.quiz-card-thumb {
  aspect-ratio: 16/9; position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--bg-3) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.quiz-card-thumb::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,.05) 16px 17px);
}
.quiz-card-emoji {
  font-size: 64px; position: relative; z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.5));
  transition: transform .3s;
}
.quiz-card:hover .quiz-card-emoji { transform: scale(1.1) rotate(-5deg); }
.quiz-card-cat, .quiz-card-q {
  position: absolute; z-index: 2;
  font-family: var(--font-pixel); font-size: 8px;
  background: rgba(0,0,0,.7); color: white;
  padding: 5px 9px; border-radius: 4px;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
}
.quiz-card-cat { top: 12px; left: 12px; }
.quiz-card-q { top: 12px; right: 12px; background: var(--accent); border-color: var(--accent); color: white; }
.quiz-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.quiz-card-body h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; color: var(--ink); font-weight: 700; }
.quiz-card-body p { margin: 0; font-size: .88rem; color: var(--ink-mute); line-height: 1.5; }
.quiz-card-meta {
  font-family: var(--font-pixel); font-size: 8px;
  color: var(--accent); letter-spacing: .1em; text-transform: uppercase;
  margin-top: auto; padding-top: 8px;
}

/* ============================== PAGINATION ============================== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,.05); color: var(--ink-mute);
  border: 2px solid rgba(255,255,255,.08); min-width: 40px; text-align: center;
}
.pagination a:hover { color: white; background: rgba(168,85,247,.2); border-color: var(--accent); }
.pagination .current { background: var(--accent); color: white; border-color: var(--accent); }
.pagination .ellip { background: transparent; border: 0; color: var(--ink-mute); padding: 10px 4px; }

/* ============================== CATEGORY HERO ============================== */
.cat-hero { padding: 72px 0 48px; border-bottom: 2px solid rgba(168,85,247,.25); position: relative; }
.cat-hero-emoji {
  font-size: 80px; display: inline-block; margin-bottom: 16px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
}
.cat-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 0 0 16px;
  font-weight: 400; color: white;
  text-shadow: 3px 3px 0 var(--accent);
}
.cat-hero .lede { max-width: 70ch; }

/* ============================== QUIZ DETAIL ============================== */
.quiz-hero { padding: 56px 0 32px; }
.quiz-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 14px 0 18px;
  font-weight: 400; color: white;
  text-shadow: 3px 3px 0 var(--accent);
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-mute); font-size: 14px; margin-bottom: 12px;
  font-weight: 600;
}
.back-link:hover { color: var(--accent); }
.quiz-meta {
  display: flex; gap: 24px; margin: 20px 0 30px; flex-wrap: wrap; color: var(--ink-mute);
  font-family: var(--font-display); font-size: 1.2rem;
}
.quiz-meta span { padding: 8px 14px; background: rgba(0,0,0,.3); border-radius: 8px; border: 1px solid rgba(255,255,255,.08); }
.quiz-meta strong { color: var(--cyan); margin-right: 8px; }

.quiz-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 900px) { .quiz-detail-grid { grid-template-columns: 1fr; } }

/* ============================== PROSE ============================== */
.prose { color: var(--ink); max-width: 70ch; }
.prose h1 {
  font-family: var(--font-display); font-size: 2.6rem; margin: 0 0 20px;
  color: white; font-weight: 400;
  text-shadow: 2px 2px 0 var(--pink);
}
.prose h2 {
  font-family: var(--font-display); font-size: 1.8rem; margin: 36px 0 14px;
  color: var(--pink); font-weight: 400;
}
.prose h3 {
  font-family: var(--font-display); font-size: 1.4rem; margin: 28px 0 12px;
  color: var(--cyan); font-weight: 400;
}
.prose p, .prose li { color: var(--ink-mute); font-size: 1.02rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--ink); }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, .4); text-underline-offset: 3px; }
.prose a:hover { color: var(--pink); text-decoration-color: var(--pink); }
.prose a.xlink {
  display: inline;
  background: linear-gradient(180deg, transparent 60%, rgba(34, 211, 238, .18) 60%);
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(34, 211, 238, .55);
}
.prose a.xlink:hover {
  background: linear-gradient(180deg, transparent 55%, rgba(255, 61, 139, .25) 55%);
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.prose .xlink-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  gap: 10px;
}
.prose .xlink-list li {
  margin: 0;
  background: rgba(124, 58, 237, .08);
  border: 1px solid rgba(124, 58, 237, .35);
  border-left: 3px solid var(--cyan);
  padding: 10px 14px;
  border-radius: 6px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.prose .xlink-list li:hover {
  transform: translateX(4px);
  border-left-color: var(--pink);
  background: rgba(255, 61, 139, .08);
}
.prose .xlink-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.prose .xlink-list a::before {
  content: "▸ ";
  color: var(--cyan);
  font-family: 'VT323', monospace;
  margin-right: 4px;
}
.prose .xlink-list li:hover a::before { color: var(--pink); }

/* ============================== SIDEBAR ============================== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 5px solid var(--accent);
}
.side-card h4 {
  font-family: var(--font-display); margin: 0 0 14px;
  color: var(--accent); font-size: 1.3rem; font-weight: 400;
}
.side-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.side-card dt { color: var(--ink-mute); }
.side-card dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.08); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { font-size: 14px; line-height: 1.4; display: block; }

/* ============================== PBN BLOCK ============================== */
.pbn-block {
  background: linear-gradient(160deg, rgba(34, 211, 238, .06), rgba(168, 85, 247, .06));
  border: 2px solid rgba(34, 211, 238, .2);
  border-radius: var(--radius);
  padding: 20px;
}
.pbn-block h4 {
  font-family: var(--font-display); margin: 0 0 14px;
  color: var(--cyan); font-size: 1.3rem; font-weight: 400;
}
.pbn-block ul { list-style: none; padding: 0; margin: 0; }
.pbn-block li {
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
}
.pbn-block li:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.pbn-block a {
  display: block; font-weight: 600; color: var(--ink);
  font-size: 14px; line-height: 1.4; margin-bottom: 4px;
}
.pbn-block a:hover { color: var(--cyan); }
.pbn-meta {
  font-family: var(--font-pixel); font-size: 8px;
  color: var(--ink-mute); letter-spacing: .1em; text-transform: uppercase;
}

/* ============================== PLAY FORM ============================== */
.play-form { display: flex; flex-direction: column; gap: 20px; max-width: 780px; margin: 0 auto; }
.question-card {
  border: 0; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 2px solid rgba(255,255,255,.08);
  border-left: 6px solid var(--accent);
  position: relative;
}
.question-card legend {
  font-size: 1.15rem; font-weight: 700; padding: 0 0 18px;
  color: var(--ink); display: block; width: 100%; line-height: 1.4;
}
.qnum {
  display: inline-block;
  font-family: var(--font-pixel); font-size: 10px;
  background: var(--accent); color: white;
  font-weight: 400; padding: 6px 10px; border-radius: 4px;
  margin-right: 10px; letter-spacing: .1em;
  box-shadow: 2px 2px 0 var(--purple);
}
.choice {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px;
  border-radius: 10px; cursor: pointer; transition: all .15s;
  background: rgba(0,0,0,.25); border: 2px solid rgba(255,255,255,.06);
}
.choice:hover { background: rgba(168,85,247,.2); border-color: var(--accent); transform: translateX(4px); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; }
.choice input:checked + .choice-letter { background: var(--accent); color: white; }
.choice-letter {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border-radius: 6px;
  font-family: var(--font-pixel); font-weight: 400; font-size: 12px;
  transition: all .15s;
}
.choice-text { flex: 1; line-height: 1.4; }
.play-submit { text-align: center; padding: 24px 0 40px; }
.play-submit p { color: var(--ink-mute); font-size: .9rem; margin-top: 14px; }

/* ============================== RESULTS ============================== */
.results-hero { padding: 64px 0 48px; text-align: center; }
.results-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0 28px;
  font-weight: 400; color: white;
}
.score-ring {
  --pct: 50;
  width: 200px; height: 200px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--pct) * 1%), rgba(255,255,255,.08) 0);
  display: grid; place-items: center; margin: 0 auto 24px;
  box-shadow: 0 0 60px rgba(255, 61, 139, .4);
  position: relative;
}
.score-ring-inner {
  width: 168px; height: 168px; border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center; text-align: center;
  border: 2px solid rgba(255,255,255,.1);
}
.score-ring-inner strong {
  font-family: var(--font-display);
  font-size: 3rem; color: white; display: block;
  font-weight: 400; line-height: 1;
  text-shadow: 2px 2px 0 var(--accent);
}
.score-ring-inner span {
  font-family: var(--font-pixel); font-size: 10px;
  color: var(--ink-mute); margin-top: 8px; letter-spacing: .1em;
}
.score-title {
  font-family: var(--font-display);
  font-size: 2.2rem; color: var(--accent); margin: 0 0 10px; font-weight: 400;
  text-shadow: 2px 2px 0 var(--purple);
}
.results-cta { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

.answer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.answer-item {
  padding: 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 2px solid rgba(255,255,255,.08);
  border-left: 6px solid var(--ink-mute);
}
.answer-item.right { border-left-color: var(--lime); }
.answer-item.wrong { border-left-color: var(--pink); }
.answer-item h3 { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.4; }
.answer-item ul { list-style: none; padding: 0; margin: 0 0 14px; }
.answer-item li { padding: 10px 14px; border-radius: 8px; margin-bottom: 5px; display: flex; align-items: center; gap: 12px; color: var(--ink-mute); }
.answer-item li.is-correct { background: rgba(163, 230, 53, .12); color: var(--ink); }
.answer-item li.is-yours:not(.is-correct) { background: rgba(255, 61, 139, .15); color: var(--ink); }
.tag { margin-left: auto; font-size: 10px; padding: 3px 9px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); }
.tag-correct { background: var(--lime); color: #0a2410; }
.tag-wrong { background: var(--pink); color: white; }
.explain {
  font-size: .92rem; color: var(--ink-mute);
  padding: 12px 16px; background: rgba(34, 211, 238, .08);
  border-radius: 8px; border-left: 3px solid var(--cyan); margin: 0;
}

/* ============================== ABOUT STRIP ============================== */
.about-strip { text-align: center; }
.about-strip-inner {
  max-width: 760px; margin: 0 auto; padding: 48px 32px;
  background: linear-gradient(135deg, rgba(255,61,139,.12), rgba(168,85,247,.12));
  border-radius: 24px;
  border: 2px solid rgba(168,85,247,.3);
  box-shadow: 0 0 40px rgba(168, 85, 247, .15);
}
.about-strip h2 {
  font-family: var(--font-display);
  font-size: 2.4rem; margin: 0 0 16px; font-weight: 400; color: white;
  text-shadow: 2px 2px 0 var(--pink);
}
.about-strip p { color: var(--ink-mute); margin: 0 0 24px; font-size: 1.05rem; }

/* ============================== FOOTER ============================== */
.site-footer {
  background: #06011a;
  border-top: 4px solid var(--purple);
  margin-top: 80px; padding: 56px 0 28px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: -4px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--yellow), var(--pink));
  background-size: 200% 100%;
  animation: rainbow 6s linear infinite;
}
@keyframes rainbow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.footer-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 48px; align-items: start; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } .footer-cols { flex-wrap: wrap; } }
.footer-logo {
  font-family: var(--font-display); font-size: 2rem; color: var(--pink);
  font-weight: 400; text-shadow: 2px 2px 0 var(--purple);
}
.footer-logo span { color: var(--cyan); text-shadow: 2px 2px 0 var(--purple); }
.footer-brand p { color: var(--ink-mute); max-width: 42ch; margin: 8px 0 4px; font-size: .95rem; }
.footer-mini { font-size: .85rem !important; opacity: .7; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h4 {
  font-family: var(--font-pixel); font-size: 9px;
  color: var(--cyan); margin: 0 0 14px;
  text-transform: uppercase; letter-spacing: .14em;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { color: var(--ink-mute); font-size: 14px; }
.footer-cols a:hover { color: var(--pink); }
.footer-pbn a { color: var(--ink-mute); }
.copy {
  grid-column: 1 / -1; text-align: center;
  color: var(--ink-mute); font-size: 13px;
  margin: 36px 0 0; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-display); letter-spacing: .03em;
}

/* Last-updated stamp on content pages */
.last-updated {
  font-family: var(--font-pixel);
  font-size: .58rem;
  line-height: 1.6;
  color: var(--cyan);
  letter-spacing: .5px;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.last-updated time { color: var(--cyan-glow); }

/* Data / comparison tables in prose */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: .96rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(168, 85, 247, .28);
  vertical-align: top;
}
.data-table thead th {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--purple);
}
.data-table td { color: var(--ink-mute); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table strong { color: var(--ink); }

/* FAQ accordions */
.faq-item {
  border: 1px solid rgba(168, 85, 247, .28);
  border-radius: var(--radius);
  background: rgba(168, 85, 247, .06);
  margin-bottom: 12px;
  padding: 0 16px;
}
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.04rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > p {
  margin: 0;
  padding: 0 0 16px;
  color: var(--ink-mute);
  line-height: 1.7;
}

/* ---- Share your score (results page) ---- */
.share-row{margin-top:28px;display:flex;flex-direction:column;align-items:center;gap:12px}
.share-label{font-family:var(--font-pixel),'Press Start 2P',monospace;font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan)}
.share-btns{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.share-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:8px;border:2px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#fff;font-weight:700;font-size:.92rem;line-height:1;cursor:pointer;text-decoration:none;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.share-btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.12)}
.share-x:hover{border-color:#fff}
.share-fb:hover{border-color:#1877f2}
.share-wa:hover{border-color:#25d366}
.share-rd:hover{border-color:#ff4500}
.share-copy:hover{border-color:var(--cyan)}
.share-copy.copied{border-color:var(--lime);color:var(--lime)}
