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

:root {
  --bg:      #0d1117;
  --bg2:     #111827;
  --bg3:     #1a2030;
  --bg4:     #212840;
  --purple:  #6d28d9;
  --purple2: #7c3aed;
  --purple3: #a78bfa;
  --green:   #10b981;
  --yellow:  #f59e0b;
  --red:     #ef4444;
  --text:    #e2e0f0;
  --text2:   #c4c2d4;
  --muted:   #7a788e;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);

  /* store colors */
  --steam-c:    #1b9ced;
  --epic-c:     #aaaaaa;
  --gog-c:      #8b5cf6;
  --humble-c:   #cc2929;
  --fanatical-c:#ff6b35;
  --gmg-c:      #80c000;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle film grain texture */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* ensure hero content never hides behind fixed header */
.hero > .wrap {
  padding-top: calc(60px + 30px + 32px); /* header + ticker + extra */
  position: relative; z-index: 2;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple2); border-radius: 3px; }

a { color: inherit; text-decoration: none; }

/* ── Shared ── */
.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative; z-index: 1;
}

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 60px;
  background: rgba(13,17,23,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 48px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.site-logo {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-nav {
  display: flex; gap: 24px; margin-left: 8px;
}
.site-nav a {
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color .18s; text-decoration: none;
}
.site-nav a:hover { color: var(--text); }
.nav-shop-link {
  color: var(--purple3) !important;
  font-weight: 600 !important;
}
.nav-shop-link:hover {
  color: #fff !important;
}
.header-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--muted);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.live-label { font-weight: 600; color: var(--green); }
.updated-label { color: var(--muted); }

/* ── Ticker ── */
.ticker {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 290;
  height: 30px;
  background: rgba(109,40,217,0.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center;
  overflow: hidden;
}
.ticker-tag {
  flex-shrink: 0;
  font-size: .68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 14px; height: 100%;
  display: flex; align-items: center;
  background: rgba(0,0,0,0.2);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.ticker-scroll { flex: 1; overflow: hidden; }
.ticker-text {
  display: inline-block; white-space: nowrap;
  font-size: .78rem; font-weight: 500; letter-spacing: .2px;
  animation: scroll-ticker 70s linear infinite;
  padding-left: 100%;
}
@keyframes scroll-ticker { from{transform:translateX(0)} to{transform:translateX(-100%)} }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 32px 72px;
  overflow: visible;
}
/* Real game art background — set by JS */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  filter: blur(6px) brightness(.5) saturate(1.3);
  transform: scale(1.04);
  transition: background-image 1.5s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,17,23,0.5) 0%,
    rgba(13,17,23,0.2) 35%,
    rgba(13,17,23,0.6) 65%,
    rgba(13,17,23,1) 100%
  );
}
.hero-body {
  position: relative; z-index: 2;
  max-width: 640px;
  width: 100%;
}
.hero-wordmark {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  line-height: 1;
  margin-bottom: 14px;
  user-select: none;
  position: relative;
  overflow: visible;
  display: block;
}
.hero-wordmark::after {
  content: 'GAMORIA';
  position: absolute; left: 0; top: 0;
  background: linear-gradient(135deg, rgba(167,139,250,0.55), rgba(109,40,217,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(8px);
  z-index: -1;
}
.hero-label {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--purple3);
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 4px;
  background: rgba(167,139,250,0.06);
}
.hero-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.4px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-p {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  line-height: 1.65; max-width: 520px; margin-bottom: 32px;
}

/* Search */
.hero-search { max-width: 500px; }
.search-wrap {
  position: relative;
  display: flex;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border2);
  border-radius: 8px; overflow: visible;
  backdrop-filter: blur(12px);
  transition: border-color .25s, box-shadow .25s;
}
.search-wrap:focus-within {
  border-color: var(--purple2);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.search-wrap input {
  flex: 1; background: none; border: none; outline: none;
  padding: 13px 16px; color: #fff; font-size: .95rem;
  font-family: 'Inter', sans-serif; border-radius: 8px 0 0 8px;
}
.search-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.search-wrap button {
  background: var(--purple2); color: #fff; border: none;
  padding: 13px 22px; font-size: .875rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .2s;
  border-radius: 0 8px 8px 0;
}
.search-wrap button:hover { background: #6d28d9; }

/* Autocomplete dropdown */
.ac-dropdown {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #1a2030; border: 1px solid var(--border2);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 200;
}
.ac-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; cursor: pointer;
  transition: background .12s;
}
.ac-item:hover { background: rgba(124,58,237,0.15); }
.ac-img {
  width: 44px; height: 25px; object-fit: cover;
  border-radius: 3px; flex-shrink: 0;
}
.ac-img-ph {
  width: 44px; height: 25px; border-radius: 3px; flex-shrink: 0;
  background: var(--bg4); display: flex; align-items: center;
  justify-content: center; font-size: .65rem; font-weight: 700;
  color: var(--muted); letter-spacing: .5px;
}
.ac-name { font-size: .875rem; color: var(--text); }

/* Hero meta stats */
.hero-meta {
  display: flex; align-items: stretch; gap: 0;
  margin-top: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  max-width: 420px;
  backdrop-filter: blur(8px);
}
.hm-item {
  display: flex; flex-direction: column; gap: 3px;
  flex: 1; padding: 14px 18px;
}
.hm-item strong {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.hm-item span { font-size: .68rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: .8px; }
.hm-sep { width: 1px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ── Genre bar ── */
.genre-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: relative; z-index: 1;
  overflow-x: auto;
}
.genre-list {
  display: flex; gap: 8px; flex-wrap: nowrap;
  align-items: center;
}
.genre-pill {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .3px;
  border: 1px solid transparent;
  background: var(--bg3); color: var(--muted);
  cursor: pointer; transition: all .18s; white-space: nowrap;
  flex-shrink: 0;
}
.genre-pill:hover {
  background: var(--bg4); color: var(--text);
  border-color: var(--border2);
}
.genre-pill.active {
  background: rgba(109,40,217,0.18);
  border-color: rgba(124,58,237,0.6);
  color: var(--purple3);
}

/* ── Main layout ── */
.main-layout { padding: 40px 0 60px; }

/* Filter bar */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.filter-chips { display: flex; gap: 2px; flex-wrap: wrap; }
.fchip {
  padding: 7px 16px;
  font-family: 'Syne', sans-serif;
  font-size: .8rem; font-weight: 700;
  border: none; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted);
  cursor: pointer; transition: color .15s, border-color .15s;
  white-space: nowrap; letter-spacing: .2px;
}
.fchip:hover { color: var(--text); }
.fchip.active {
  color: var(--purple3);
  border-bottom-color: var(--purple2);
}
.result-count { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ── Spotlight (featured 4 top deals) ── */
.spotlight-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.spotlight-row:empty { display: none; }

.deal-card-lg {
  position: relative;
  border-radius: 10px; overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  text-decoration: none; color: inherit; display: block;
}
.deal-card-lg:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.lg-thumb {
  width: 100%; height: 210px; object-fit: cover; display: block;
  background: var(--bg4); transition: transform .35s;
}
.deal-card-lg:hover .lg-thumb { transform: scale(1.04); }
.lg-thumb-placeholder {
  width: 100%; height: 210px;
  background: linear-gradient(135deg, var(--bg4), rgba(109,40,217,0.15));
  display: flex; align-items: center; justify-content: center;
}
.lg-thumb-placeholder span {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  color: rgba(167,139,250,0.3); letter-spacing: 4px;
}
.lg-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--purple2); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .5px;
  padding: 3px 9px; border-radius: 4px;
}
.lg-badge.free  { background: var(--green); }
.lg-featured-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.7);
  font-size: .62rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 4px;
}
.lg-body { padding: 16px 18px 18px; }
.lg-title { font-weight: 700; font-size: 1rem; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-bottom { display: flex; align-items: center; justify-content: space-between; }
.lg-prices { display: flex; flex-direction: column; gap: 1px; }
.lg-was { font-size: .72rem; color: var(--muted); text-decoration: line-through; }
.lg-now { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--purple3); }
.lg-now.free { color: var(--green); }
.lg-store { font-size: .72rem; font-weight: 600; color: var(--muted); padding: 3px 9px; border-radius: 4px; background: var(--bg4); border: 1px solid var(--border); }

/* ── Deals grid ── */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.deal-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
}
.deal-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}

.card-img-wrap { position: relative; width: 100%; height: 170px; overflow: hidden; background: var(--bg4); }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.deal-card:hover .card-img { transform: scale(1.04); }
.card-img-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg4), rgba(109,40,217,0.1));
  display: flex; align-items: center; justify-content: center;
}
.card-img-ph span {
  font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800;
  color: rgba(167,139,250,0.25); letter-spacing: 3px;
}

.card-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--purple2); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 5px;
}
.card-badge.free { background: var(--green); }

.card-body { padding: 14px 16px 16px; }
.card-title {
  font-weight: 600; font-size: .95rem; line-height: 1.4;
  color: var(--text); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.card-prices { display: flex; flex-direction: column; gap: 2px; }
.card-was { font-size: .75rem; color: var(--muted); text-decoration: line-through; }
.card-now { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--purple3); line-height: 1; }
.card-now.free { color: var(--green); }
.card-store { font-size: .72rem; font-weight: 600; color: var(--muted); }

.card-rating { margin-top: 10px; }
.rpill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 4px;
}
.rpill.vp { background: rgba(16,185,129,.1); color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.rpill.p  { background: rgba(167,139,250,.1); color: var(--purple3); border: 1px solid rgba(167,139,250,.2); }
.rpill.m  { background: rgba(245,158,11,.1); color: var(--yellow); border: 1px solid rgba(245,158,11,.2); }
.rpill.np { background: rgba(239,68,68,.1); color: var(--red); border: 1px solid rgba(239,68,68,.2); }

/* ── States ── */
.state-loading {
  grid-column: 1/-1; display: flex; flex-direction: column;
  align-items: center; gap: 14px; padding: 80px 0; color: var(--muted); font-size: .875rem;
}
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border2); border-top-color: var(--purple2);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.state-empty {
  grid-column: 1/-1; text-align: center;
  padding: 80px 0; color: var(--muted); font-size: .9rem;
}

/* Load more */
.load-more-wrap { text-align: center; margin-top: 36px; }
.load-more {
  background: none; border: 1px solid var(--border2);
  color: var(--text2); padding: 11px 36px;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; border-radius: 7px; transition: all .2s;
}
.load-more:hover { background: rgba(109,40,217,0.1); border-color: rgba(124,58,237,0.5); }

/* ── Search section ── */
.search-section { padding: 40px 0 60px; background: var(--bg2); border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; }
.section-title em { font-style: normal; color: var(--purple3); }
.btn-close {
  background: none; border: 1px solid var(--border); color: var(--muted);
  padding: 6px 14px; font-size: .8rem; font-weight: 600;
  cursor: pointer; border-radius: 6px; transition: all .18s;
}
.btn-close:hover { border-color: var(--border2); color: var(--text); }

/* ── Stone background wrap ── */
.stone-bg-wrap {
  position: relative;
  isolation: isolate;
}
.stone-bg-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('black-stone_1194-5746.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(2px) brightness(0.18) saturate(0.7);
  z-index: -1;
}

/* ── About + Footer background ── */
.about-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  position: relative;
  isolation: isolate;
}
.about-section::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: url('frantisek-g-XXuVXLy5gHU-unsplash.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.15) saturate(0.6);
}
.about-section > .wrap { position: relative; }
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.about-left .section-title { margin-bottom: 20px; }
.about-lead {
  font-size: 1rem; color: var(--text2); line-height: 1.75; margin-bottom: 16px;
}
.about-sub {
  font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px;
}
.about-note {
  font-size: .78rem; color: var(--muted); line-height: 1.6; opacity: .7;
}
.about-note a { color: var(--purple3); text-decoration: underline; }
.about-right { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.about-feature {
  display: flex; gap: 18px; align-items: flex-start;
}
.af-line {
  flex-shrink: 0; width: 2px; height: 48px; margin-top: 3px;
  background: linear-gradient(to bottom, var(--purple2), rgba(109,40,217,0));
  border-radius: 2px;
}
.about-feature strong {
  display: block; font-size: .95rem; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.about-feature p { font-size: .855rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
  position: relative;
  isolation: isolate;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: url('frantisek-g-XXuVXLy5gHU-unsplash.jpg');
  background-size: cover;
  background-position: center bottom;
  filter: blur(3px) brightness(0.12) saturate(0.5);
}
.footer-inner { display: flex; gap: 60px; justify-content: space-between; padding-bottom: 40px; }
.footer-brand { flex: 0 0 280px; }
.footer-brand .site-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span {
  font-size: .68rem; font-weight: 600; color: var(--muted);
  padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.footer-cols { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  font-size: .68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.footer-col a { font-size: .82rem; color: var(--muted); transition: color .18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.footer-bottom span { font-size: .72rem; color: var(--muted); opacity: .65; }

/* ── Modal ── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(13,17,23,0.88);
  backdrop-filter: blur(14px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 10px; width: 100%; max-width: 780px; max-height: 88vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 28px 80px rgba(0,0,0,0.65);
}
.modal-x {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--muted); width: 30px; height: 30px;
  border-radius: 6px; cursor: pointer; font-size: .82rem;
  display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.modal-x:hover { color: var(--text); background: rgba(255,255,255,0.1); }

/* Modal content */
.m-hero { position: relative; width: 100%; height: 240px; overflow: hidden; border-radius: 10px 10px 0 0; background: var(--bg4); }
.m-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-hero-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800;
  letter-spacing: 6px; color: rgba(167,139,250,0.2);
  background: linear-gradient(135deg, var(--bg4), rgba(109,40,217,0.18));
}

/* Price history in modal */
.ph-wrap { padding: 16px 0 4px; }
.ph-title {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.ph-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 9px;
}
.ph-label {
  font-size: .75rem; color: var(--muted); width: 130px; flex-shrink: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph-track {
  flex: 1; height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.ph-bar { height: 100%; border-radius: 3px; transition: width .4s ease; }
.ph-bar.ph-normal  { background: rgba(255,255,255,0.2); }
.ph-bar.ph-current { background: var(--purple2); }
.ph-bar.ph-atl     { background: var(--green); }
.ph-val {
  font-size: .78rem; font-weight: 600; width: 110px;
  text-align: right; flex-shrink: 0;
}
.ph-val.ph-normal  { color: var(--muted); }
.ph-val.ph-current { color: var(--purple3); }
.ph-val.ph-atl     { color: var(--green); }
.ph-val em { font-style: normal; font-size: .7rem; opacity: .8; }

.m-body { padding: 22px 24px 26px; }
.m-title { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.m-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.m-tag {
  font-size: .7rem; font-weight: 600; padding: 3px 9px;
  border-radius: 4px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); color: var(--muted);
}

.m-rating {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 18px;
}
.m-rating-label { font-size: .7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.m-bar-bg { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.m-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--purple2), var(--green)); transition: width .9s ease; }
.m-rating-text { font-size: .8rem; font-weight: 600; }

.m-deals-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.m-deals { display: flex; flex-direction: column; gap: 8px; }

.m-deal-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: 7px; padding: 12px 14px;
}
.m-deal-row.best { border-color: rgba(124,58,237,0.4); background: rgba(109,40,217,0.07); }
.m-store { font-size: .875rem; font-weight: 600; flex: 1; }
.m-prices { display: flex; align-items: center; gap: 8px; }
.m-was { font-size: .75rem; color: var(--muted); text-decoration: line-through; }
.m-now { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--purple3); }
.m-now.free { color: var(--green); }
.m-pct { font-size: .72rem; font-weight: 700; background: var(--purple2); color: #fff; padding: 2px 7px; border-radius: 3px; }
.m-best-pill { font-size: .62rem; font-weight: 700; color: var(--green); background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); padding: 2px 7px; border-radius: 3px; }
.m-btn {
  background: var(--purple2); color: #fff; border: none;
  padding: 7px 16px; font-size: .82rem; font-weight: 600;
  cursor: pointer; border-radius: 6px; transition: background .18s;
  text-decoration: none; white-space: nowrap; display: inline-block;
}
.m-btn:hover { background: var(--purple); }

.m-deals-loading { display: flex; align-items: center; gap: 10px; padding: 14px 0; color: var(--muted); font-size: .85rem; }
.m-deals-loading .spinner { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1280px) {
  .spotlight-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .spotlight-row { grid-template-columns: 1fr 1fr; }
  .about-grid    { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; gap: 32px; }
  .footer-brand  { flex: none; }
  .hero { padding: 120px 24px 60px; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .spotlight-row { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .footer-cols { gap: 24px; }
  .m-body { padding: 16px 16px 20px; }
}
