/* ============================================================
   HighRoad Software — Games Landing Page
   Dark gaming theme built on top of main.css design tokens
   © 2026 COBI Management SRL — Belgium
   ============================================================ */

/* ── Dark overrides ──────────────────────────────────────── */
.g-page { background: #06060e; color: #e4e4e7; }
.g-page .nav { background: rgba(6,6,14,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.g-page .nav.scrolled { background: rgba(6,6,14,.92); }
.g-page .footer { background: #06060e; border-top: 1px solid rgba(255,255,255,.06); }
.g-page .footer__tagline,
.g-page .footer__link,
.g-page .footer__legal { color: rgba(255,255,255,.5); }
.g-page .footer__link:hover { color: #fff; }
.g-page .footer__col-label { color: rgba(255,255,255,.7); }

/* ── Hero ────────────────────────────────────────────────── */
.g-hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
}
.g-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(139,92,246,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,130,246,.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(236,72,153,.10) 0%, transparent 50%);
  pointer-events: none;
  animation: g-glow 12s ease-in-out infinite alternate;
}
@keyframes g-glow {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 1;  transform: scale(1.05); }
}
.g-hero__inner { position: relative; z-index: 1; max-width: 800px; }
.g-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  margin-bottom: 28px;
}
.g-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800; line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}
.g-hero__title .g-grad {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.g-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.55);
  line-height: 1.65; max-width: 600px; margin: 0 auto 36px;
}

/* ── Stats band ──────────────────────────────────────────── */
.g-stats {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 32px 0;
  background: rgba(255,255,255,.015);
}
.g-stats__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 48px;
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}
.g-stat { text-align: center; }
.g-stat__val {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800; color: #fff;
}
.g-stat__label { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ── Section ─────────────────────────────────────────────── */
.g-section {
  padding: 80px 24px;
  max-width: 1200px; margin: 0 auto;
}
.g-section__header { text-align: center; margin-bottom: 48px; }
.g-section__eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #8b5cf6; margin-bottom: 12px;
}
.g-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; color: #fff; line-height: 1.15;
}
.g-section__sub {
  font-size: 1rem; color: rgba(255,255,255,.45);
  max-width: 540px; margin: 12px auto 0; line-height: 1.6;
}

/* ── Category filters ────────────────────────────────────── */
.g-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 40px; padding: 0 24px;
}
.g-filter {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.g-filter:hover,
.g-filter.active {
  color: #fff;
  border-color: #8b5cf6;
  background: rgba(139,92,246,.12);
}

/* ── Game cards ───────────────────────────────────────────── */
.g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.g-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.g-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,.25);
  box-shadow: 0 16px 48px rgba(139,92,246,.08), 0 0 0 1px rgba(139,92,246,.1);
}
.g-card__banner {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem;
  position: relative;
  overflow: hidden;
}
.g-card__banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
  background: linear-gradient(transparent, rgba(6,6,14,.9));
}
.g-card__body {
  padding: 20px;
  flex: 1;
  display: flex; flex-direction: column;
}
.g-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; color: #fff;
  margin-bottom: 6px;
}
.g-card__desc {
  font-size: .82rem; color: rgba(255,255,255,.4);
  line-height: 1.55; flex: 1;
  margin-bottom: 14px;
}
.g-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.g-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem; font-weight: 600;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
}
.g-tag--genre { background: rgba(139,92,246,.12); color: #a78bfa; }
.g-tag--party { background: rgba(236,72,153,.1); color: #f472b6; }
.g-tag--casino { background: rgba(245,158,11,.1); color: #fbbf24; }
.g-tag--arcade { background: rgba(34,211,238,.1); color: #22d3ee; }
.g-tag--trivia { background: rgba(52,211,153,.1); color: #34d399; }
.g-tag--adventure { background: rgba(251,146,60,.1); color: #fb923c; }
.g-tag--strategy { background: rgba(96,165,250,.1); color: #60a5fa; }

/* Banner gradients per genre */
.g-banner--casino   { background: linear-gradient(135deg, #1a0e2e 0%, #2d1b4e 50%, #4a1d3f 100%); }
.g-banner--party    { background: linear-gradient(135deg, #1a0a1e 0%, #2e1437 50%, #1a1a3e 100%); }
.g-banner--arcade   { background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0a2a3a 100%); }
.g-banner--trivia   { background: linear-gradient(135deg, #0a1e1a 0%, #0d3a2e 50%, #1a2e0d 100%); }
.g-banner--adventure{ background: linear-gradient(135deg, #1e150a 0%, #2e1f0d 50%, #3a1f0a 100%); }
.g-banner--strategy { background: linear-gradient(135deg, #0a0e1e 0%, #0d1a3a 50%, #0a1e2e 100%); }

/* ── Category sections ───────────────────────────────────── */
.g-category { margin-bottom: 64px; }
.g-category__header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.g-category__icon { font-size: 1.6rem; }
.g-category__title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: #fff;
}
.g-category__count {
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.3);
  margin-left: auto;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.g-faq { max-width: 720px; margin: 0 auto; }
.g-faq details {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.g-faq summary {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: #fff;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after {
  content: '+';
  font-size: 1.4rem; font-weight: 300; color: rgba(255,255,255,.3);
  transition: transform .2s;
}
.g-faq details[open] summary::after { content: '\2212'; }
.g-faq .g-faq__answer {
  padding-top: 12px;
  font-size: .9rem; color: rgba(255,255,255,.5);
  line-height: 1.7;
}

/* ── CTA band ────────────────────────────────────────────── */
.g-cta-band {
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(139,92,246,.08) 0%, transparent 60%);
}
.g-cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; color: #fff;
  margin-bottom: 12px;
}
.g-cta-band__sub {
  font-size: .95rem; color: rgba(255,255,255,.4);
  margin-bottom: 28px;
}
.g-cta-band .btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.g-cta-band .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,.3);
}

/* ── Legal pages (dark) ──────────────────────────────────── */
.g-page .page-hero { background: #06060e; border-bottom: 1px solid rgba(255,255,255,.06); }
.g-page .page-hero__label { color: #8b5cf6; }
.g-page .page-hero__title { color: #fff; }
.g-page .page-hero__meta { color: rgba(255,255,255,.4); }
.g-page .prose { color: rgba(255,255,255,.6); }
.g-page .prose h2 { color: #fff; margin-top: 2.5rem; }
.g-page .prose h3 { color: rgba(255,255,255,.85); }
.g-page .prose strong { color: rgba(255,255,255,.85); }
.g-page .prose a { color: #a78bfa; text-decoration: underline; text-underline-offset: 3px; }
.g-page .prose a:hover { color: #c4b5fd; }
.g-page .prose ul { list-style: disc; padding-left: 1.4em; }
.g-page .prose li { margin-bottom: .5em; }
.g-page .info-box {
  background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 2rem;
}
.g-page .info-box p { color: rgba(255,255,255,.7); margin: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .g-hero { min-height: 60vh; padding: 140px 20px 60px; }
  .g-stats__row { gap: 24px; }
  .g-section { padding: 48px 16px; }
  .g-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
  .g-card__banner { height: 110px; font-size: 2.6rem; }
}
@media (max-width: 480px) {
  .g-grid { grid-template-columns: 1fr; }
}
