@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Nunito:wght@400;600;700;800;900&family=Fira+Code:wght@400;500&display=swap');

/* =============================================
   PIXEL QUEST — CSS Design System
   Theme: Retro-Modern Gaming / Warm Dark
   ============================================= */

:root {
  /* Palette */
  --ink:        #0f0b1e;
  --ink-2:      #1a1530;
  --surface:    #221d3a;
  --surface-2:  #2d2850;
  --border:     rgba(255,220,80,0.15);
  --border-hover: rgba(255,220,80,0.5);

  --gold:       #ffd54f;
  --gold-glow:  rgba(255,213,79,0.35);
  --purple:     #b47aff;
  --purple-glow:rgba(180,122,255,0.3);
  --mint:       #4dffc3;
  --mint-glow:  rgba(77,255,195,0.25);
  --coral:      #ff6b6b;
  --coral-glow: rgba(255,107,107,0.25);
  --sky:        #64b5f6;

  /* Typography */
  --font-pixel: 'Press Start 2P', monospace;
  --font-body:  'Nunito', sans-serif;
  --font-code:  'Fira Code', monospace;

  /* Sizes */
  --header-h:   72px;
  --max-w:      1200px;
  --r-sm:       6px;
  --r-md:       12px;
  --r-lg:       20px;

  /* Easing */
  --ease:       0.22s cubic-bezier(.4,0,.2,1);
  --ease-spring:0.4s cubic-bezier(.34,1.56,.64,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: #e8e0ff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(180,122,255,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(77,255,195,0.05), transparent);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ---- LOADER ---- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
  animation: blink .9s step-end infinite;
}
.loader-bar-wrap {
  width: 260px; height: 8px;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  animation: loadFill 1.4s ease forwards;
  box-shadow: 0 0 10px var(--gold-glow);
}
.loader-msg {
  font-family: var(--font-code);
  font-size: .75rem;
  color: var(--purple);
  letter-spacing: .08em;
  animation: blink .7s step-end infinite;
}
@keyframes loadFill { from { width: 0 } to { width: 100% } }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--sm { padding: 40px 0; }

/* ---- HEADER ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(15,11,30,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.header.scrolled {
  background: rgba(15,11,30,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-pixel);
  font-size: .75rem;
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-pixel {
  width: 32px; height: 32px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 3px;
}
.logo-pixel span {
  border-radius: 1px;
  background: var(--purple);
}
.logo-pixel span:nth-child(2n) { background: var(--gold); }
.logo-pixel span:nth-child(3n) { background: var(--mint); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  font-size: .85rem; font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  color: #c8bfff;
  transition: color var(--ease), background var(--ease);
}
.nav a:hover, .nav a.active {
  color: var(--gold);
  background: rgba(255,213,79,.08);
}
.nav a.active { color: var(--gold); }

.header__cta .btn { font-size: .8rem; }

/* Hamburger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(15,11,30,.98);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 99;
  flex-direction: column; gap: 8px;
  transform: translateY(-10px); opacity: 0;
  transition: transform var(--ease), opacity var(--ease);
  pointer-events: none;
}
.mobile-nav.open {
  display: flex; transform: translateY(0); opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-size: .9rem; font-weight: 700;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  color: #c8bfff;
  border: 1px solid transparent;
  transition: all var(--ease);
}
.mobile-nav a:hover {
  color: var(--gold); border-color: var(--border);
  background: rgba(255,213,79,.06);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 800; font-size: .9rem;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  transition: all var(--ease-spring);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.07);
  opacity: 0; transition: opacity var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gold); color: #1a1530;
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px var(--gold-glow); }

.btn-outline {
  background: transparent; color: var(--gold);
  border-color: var(--border-hover);
}
.btn-outline:hover {
  background: rgba(255,213,79,.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-purple {
  background: var(--purple); color: var(--ink);
  border-color: var(--purple);
  box-shadow: 0 0 20px var(--purple-glow);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 6px 30px var(--purple-glow); }
.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---- TAGS / BADGES ---- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700; font-family: var(--font-code);
  padding: 3px 10px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .05em;
}
.tag-purple { background: rgba(180,122,255,.15); color: var(--purple); border: 1px solid rgba(180,122,255,.3); }
.tag-gold   { background: rgba(255,213,79,.12);  color: var(--gold);   border: 1px solid rgba(255,213,79,.3); }
.tag-mint   { background: rgba(77,255,195,.1);   color: var(--mint);   border: 1px solid rgba(77,255,195,.25); }
.tag-coral  { background: rgba(255,107,107,.1);  color: var(--coral);  border: 1px solid rgba(255,107,107,.25); }
.tag-sky    { background: rgba(100,181,246,.1);  color: var(--sky);    border: 1px solid rgba(100,181,246,.25); }

/* ---- CARDS ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--ease);
  position: relative;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  opacity: 0; transition: opacity var(--ease);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(180,122,255,.15), 0 0 0 1px rgba(255,213,79,.1);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }

/* ---- SECTION TITLES ---- */
.section-eyebrow {
  font-family: var(--font-code);
  font-size: .72rem; font-weight: 500;
  color: var(--mint);
  letter-spacing: .15em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint-glow);
}
.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(.9rem, 2.5vw, 1.5rem);
  color: #fff;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-desc { color: #a89fcc; font-size: 1rem; max-width: 560px; }

/* ---- STAR RATING ---- */
.stars { display: flex; gap: 3px; }
.stars span { color: var(--gold); font-size: .85rem; }
.stars span.empty { color: #3d3460; }

/* ---- PIXEL DIVIDER ---- */
.pixel-divider {
  width: 100%; height: 4px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--purple) 0, var(--purple) 8px,
    transparent 8px, transparent 12px,
    var(--gold) 12px, var(--gold) 20px,
    transparent 20px, transparent 24px
  );
  margin: 60px 0;
  opacity: .35;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(180,122,255,.18), transparent),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(77,255,195,.08), transparent),
    radial-gradient(ellipse 40% 30% at 50% 10%, rgba(255,213,79,.06), transparent);
}
/* Floating pixel decorations */
.hero__pixels {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero__pixel {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 1px;
  opacity: .4;
  animation: floatPixel linear infinite;
}
@keyframes floatPixel {
  0%   { transform: translateY(0) rotate(0deg); opacity:.4; }
  50%  { opacity: .2; }
  100% { transform: translateY(-80px) rotate(180deg); opacity: 0; }
}
.hero__content { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-code);
  font-size: .75rem; color: var(--mint);
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px; border-radius: 1px;
  background: var(--mint); box-shadow: 0 0 8px var(--mint-glow);
  animation: blink .8s step-end infinite;
}
.hero__title {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 3vw, 1.8rem);
  line-height: 1.5; margin-bottom: 24px;
  color: #fff;
}
.hero__title .hl { color: var(--gold); display: block; }
.hero__title .hl2 { color: var(--purple); }
.hero__desc {
  font-size: 1.05rem; color: #b8aee0;
  margin-bottom: 36px; line-height: 1.75;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero__stat-val {
  font-family: var(--font-pixel);
  font-size: 1.2rem; color: var(--gold);
  text-shadow: 0 0 15px var(--gold-glow);
}
.hero__stat-lbl { font-size: .8rem; color: #7869a8; margin-top: 4px; }

/* Hero illustration */
.hero__visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero__screen {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border: 2px solid var(--border-hover);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(180,122,255,.2), 0 0 0 1px rgba(255,213,79,.1);
  position: relative;
}
.hero__screen-bar {
  background: var(--surface-2);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.hero__screen-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero__screen-title {
  font-family: var(--font-code); font-size: .72rem;
  color: var(--gold); margin-left: auto;
}
.hero__screen-body { padding: 20px; }

/* Game preview cards in hero */
.game-preview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.game-preview-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px;
  transition: all var(--ease);
}
.game-preview-card:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
}
.gpc-icon { font-size: 1.8rem; margin-bottom: 8px; }
.gpc-title { font-size: .75rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.gpc-genre { font-size: .65rem; color: #7869a8; font-family: var(--font-code); }
.gpc-rating { display: flex; gap: 2px; margin-top: 8px; }
.gpc-rating span { font-size: .6rem; color: var(--gold); }

/* ---- FEATURED GAMES SECTION ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.game-card { display: flex; flex-direction: column; }
.game-card__cover {
  height: 180px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.game-card__cover-bg {
  position: absolute; inset: 0;
  transition: transform .4s ease;
}
.game-card:hover .game-card__cover-bg { transform: scale(1.05); }
.game-card__cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,11,30,.8), transparent);
}
.game-card__emoji {
  position: relative; z-index: 2; font-size: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.game-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.game-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.game-card__title {
  font-weight: 800; font-size: 1.1rem; color: #fff;
  margin-bottom: 6px;
}
.game-card__desc { font-size: .85rem; color: #9588bf; line-height: 1.55; flex: 1; }
.game-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.game-card__score {
  font-family: var(--font-pixel);
  font-size: .7rem; color: var(--gold);
}

/* ---- CATEGORIES ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease-spring);
  border: 1px solid transparent;
  position: relative; overflow: hidden;
}
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.03);
  opacity: 0; transition: opacity var(--ease);
}
.cat-card:hover { transform: translateY(-5px); }
.cat-card:hover::after { opacity: 1; }
.cat-card--guides  { background: linear-gradient(135deg, rgba(180,122,255,.18), rgba(180,122,255,.06)); border-color: rgba(180,122,255,.2); }
.cat-card--retro   { background: linear-gradient(135deg, rgba(255,213,79,.18), rgba(255,213,79,.06));   border-color: rgba(255,213,79,.2); }
.cat-card--reviews { background: linear-gradient(135deg, rgba(77,255,195,.15), rgba(77,255,195,.04));   border-color: rgba(77,255,195,.2); }
.cat-card--family  { background: linear-gradient(135deg, rgba(255,107,107,.15), rgba(255,107,107,.04)); border-color: rgba(255,107,107,.2); }
.cat-card:hover.cat-card--guides  { box-shadow: 0 12px 40px rgba(180,122,255,.2); border-color: rgba(180,122,255,.5); }
.cat-card:hover.cat-card--retro   { box-shadow: 0 12px 40px rgba(255,213,79,.2);   border-color: rgba(255,213,79,.5); }
.cat-card:hover.cat-card--reviews { box-shadow: 0 12px 40px rgba(77,255,195,.2);   border-color: rgba(77,255,195,.5); }
.cat-card:hover.cat-card--family  { box-shadow: 0 12px 40px rgba(255,107,107,.2);  border-color: rgba(255,107,107,.5); }
.cat-icon { font-size: 2.5rem; margin-bottom: 14px; line-height: 1; }
.cat-title { font-weight: 900; font-size: 1rem; color: #fff; margin-bottom: 6px; }
.cat-count { font-size: .78rem; color: #7869a8; font-family: var(--font-code); }
.cat-arrow {
  display: inline-flex; margin-top: 14px;
  font-size: .8rem; color: var(--gold); opacity: 0;
  transform: translateX(-8px); transition: all var(--ease);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ---- GUIDES LIST ---- */
.guides-list { display: flex; flex-direction: column; gap: 20px; }
.guide-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--ease);
  cursor: pointer;
}
.guide-item:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  transform: translateX(4px);
}
.guide-num {
  font-family: var(--font-pixel);
  font-size: .65rem; color: var(--purple);
  width: 36px; flex-shrink: 0; text-align: center;
  text-shadow: 0 0 8px var(--purple-glow);
}
.guide-icon { font-size: 1.8rem; flex-shrink: 0; }
.guide-info { flex: 1; }
.guide-title { font-weight: 800; color: #fff; margin-bottom: 4px; }
.guide-meta { font-size: .78rem; color: #7869a8; display: flex; gap: 16px; }
.guide-arrow { color: var(--gold); opacity: 0; transform: translateX(-8px); transition: all var(--ease); }
.guide-item:hover .guide-arrow { opacity: 1; transform: translateX(0); }

/* ---- NEWSLETTER ---- */
.newsletter {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-hover);
  border-radius: var(--r-lg);
  padding: 60px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 80px rgba(180,122,255,.1);
}
.newsletter::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,213,79,.06), transparent);
  pointer-events: none;
}
.newsletter__title {
  font-family: var(--font-pixel);
  font-size: clamp(.9rem, 2vw, 1.2rem);
  color: #fff; margin-bottom: 14px;
}
.newsletter__desc { color: #a89fcc; margin-bottom: 32px; }
.newsletter__form {
  display: flex; gap: 12px; max-width: 460px; margin: 0 auto;
}
.newsletter__input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  color: #fff; font-family: var(--font-body); font-size: .9rem;
  outline: none;
  transition: border-color var(--ease);
}
.newsletter__input:focus { border-color: var(--gold); }
.newsletter__input::placeholder { color: #5a5080; }

/* ---- REVIEWS ---- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card { padding: 24px; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.review-game-icon { font-size: 2rem; }
.review-score {
  font-family: var(--font-pixel);
  font-size: .9rem;
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
  background: rgba(255,213,79,.1);
  border: 1px solid rgba(255,213,79,.2);
  padding: 4px 10px; border-radius: var(--r-sm);
}
.review-title { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.review-text { font-size: .85rem; color: #9588bf; line-height: 1.6; margin-bottom: 16px; }
.review-footer { display: flex; justify-content: space-between; align-items: center; }
.review-author { font-size: .78rem; color: #6a5f90; font-family: var(--font-code); }

/* ---- FOOTER ---- */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: auto;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer__brand-desc { font-size: .88rem; color: #6a5f90; margin-top: 16px; line-height: 1.6; }
.footer__col-title {
  font-family: var(--font-code);
  font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .88rem; color: #7869a8;
  transition: color var(--ease);
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: .8rem; color: #4a4070; font-family: var(--font-code); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: .8rem; color: #4a4070; transition: color var(--ease); }
.footer__legal a:hover { color: var(--purple); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .8rem; color: #6a5f90; margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--purple); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: #3d3460; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(180,122,255,.12), transparent);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__tag { margin-bottom: 16px; }
.page-hero__title {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #fff; margin-bottom: 16px; line-height: 1.4;
}
.page-hero__desc { color: #a89fcc; max-width: 600px; font-size: 1rem; }

/* ---- FILTER TABS ---- */
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tab {
  font-size: .8rem; font-weight: 700; font-family: var(--font-code);
  padding: 8px 16px; border-radius: var(--r-sm);
  color: #7869a8; border: 1px solid var(--border);
  transition: all var(--ease); cursor: pointer;
  text-transform: uppercase; letter-spacing: .04em;
}
.filter-tab:hover, .filter-tab.active {
  background: rgba(255,213,79,.1);
  border-color: var(--gold); color: var(--gold);
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-mint { color: var(--mint); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ---- SCROLL TO TOP ---- */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--border-hover);
  color: var(--gold); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 50; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .burger { display: flex; }
  .newsletter { padding: 40px 24px; }
  .newsletter__form { flex-direction: column; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--header-h) + 32px) 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}