/* ═══════════════════════════════════════════════════════
   GHOSTWARE — Based on rooneymoon/game-store-website palette
   #0b1521 (bg deep) · #091b29 (surface) · #3b78e6 (primary)
   Extended with code/software terminal aesthetic
   ═══════════════════════════════════════════════════════ */

:root {
  --gs-bg:        #0b1521;
  --gs-surface:   #091b29;
  --gs-surface-2: #0e2436;
  --gs-line:      #143148;
  --gs-line-2:    #1e4266;
  --gs-primary:   #3b78e6;
  --gs-primary-h: #4a8bff;
  --gs-accent:    #3b78e6;
  --gs-code:      #22d3a8;
  --gs-danger:    #ef4444;
  --gs-text:      #e6edf3;
  --gs-text-2:    #8ea3b5;
  --gs-text-3:    #566a7d;
}

/* Override Bootstrap dark theme */
html, body {
  background-color: var(--gs-bg) !important;
  color: var(--gs-text);
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

body {
  background-image:
    radial-gradient(ellipse at top left, rgba(59,120,230,.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(34,211,168,.04), transparent 50%);
  background-attachment: fixed;
}

.gs-mono {
  font-family: 'JetBrains Mono', 'Consolas', monospace !important;
  letter-spacing: 0;
}

.gs-accent { color: var(--gs-primary) !important; }
.gs-heading {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ── NAVBAR ─────────────────────────────── */
.gs-nav {
  background: rgba(9,27,41,.85) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gs-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.gs-brand {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--gs-text);
}
.gs-brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gs-code);
  margin-left: 4px;
  font-weight: 500;
}
.gs-brand-icon {
  color: var(--gs-primary);
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(59,120,230,.4));
}
.gs-brand-lg {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
}
.navbar-nav .nav-link {
  color: var(--gs-text-2) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px !important;
  transition: color .15s;
}
.navbar-nav .nav-link:hover { color: var(--gs-text) !important; }
.navbar-nav .nav-link.active { color: var(--gs-primary) !important; }
.gs-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  color: var(--gs-text-2);
  font-size: 18px;
  transition: all .15s;
  text-decoration: none;
}
.gs-soc:hover {
  color: var(--gs-primary);
  border-color: var(--gs-primary);
  background: rgba(59,120,230,.08);
}

/* ── BUTTONS ────────────────────────────── */
.gs-btn {
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .2s;
  border: none;
  font-size: 15px;
}
.gs-btn-primary {
  background: var(--gs-primary);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(59,120,230,.35);
}
.gs-btn-primary:hover {
  background: var(--gs-primary-h);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(59,120,230,.5);
}
.gs-btn-ghost {
  background: transparent;
  color: var(--gs-text) !important;
  border: 1px solid var(--gs-line-2) !important;
}
.gs-btn-ghost:hover {
  background: var(--gs-surface-2);
  border-color: var(--gs-primary) !important;
  color: var(--gs-primary) !important;
}

/* ── HERO ───────────────────────────────── */
.gs-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--gs-line);
  background:
    linear-gradient(180deg, transparent, rgba(9,27,41,.6) 60%, var(--gs-bg)),
    linear-gradient(135deg, #0d1f2f, #0a1626);
}
.gs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* code-like grid */
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(59,120,230,.05) 39px, rgba(59,120,230,.05) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(59,120,230,.05) 39px, rgba(59,120,230,.05) 40px);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black, transparent);
  opacity: .6;
}
.gs-hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(59,120,230,.06) 50%, transparent 52%);
  background-size: 100% 8px;
  pointer-events: none;
  opacity: .25;
}
.gs-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--gs-text);
  text-shadow: 0 4px 40px rgba(59,120,230,.4);
}
.gs-hero-terminal {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(9,27,41,.6);
  border: 1px solid var(--gs-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--gs-text-2);
  letter-spacing: 0;
}
.gs-blink {
  animation: blink 1s steps(2) infinite;
  color: var(--gs-code);
}
@keyframes blink { 50% { opacity: 0; } }

.gs-stat {
  text-align: center;
  padding: 16px;
  background: rgba(9,27,41,.5);
  border: 1px solid var(--gs-line);
  border-radius: 8px;
}
.gs-stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--gs-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.gs-stat-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gs-text-3);
  letter-spacing: .12em;
}

/* ── SECTIONS ───────────────────────────── */
.gs-section {
  padding: 60px 0;
  background: var(--gs-bg);
}

/* ── FEATURED CARDS ─────────────────────── */
.gs-card {
  background: var(--gs-surface);
  border: 1px solid var(--gs-line);
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.gs-card:hover {
  border-color: var(--gs-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6), 0 0 0 1px var(--gs-primary);
}
.gs-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, hsl(var(--h) 40% 15%), hsl(var(--h) 50% 8%));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gs-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, hsl(var(--h) 60% 20% / .15) 20px, hsl(var(--h) 60% 20% / .15) 21px);
}
.gs-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(9,27,41,.9));
}
.gs-card-mark {
  font-family: 'Rajdhani', sans-serif;
  font-size: 140px;
  font-weight: 700;
  color: hsl(var(--h) 60% 55%);
  opacity: .35;
  line-height: 1;
  z-index: 1;
  position: relative;
  text-shadow: 0 4px 30px hsl(var(--h) 80% 50% / .5);
}
.gs-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: var(--gs-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
  z-index: 2;
}
.gs-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gs-card-genre {
  font-size: 11px;
  color: hsl(var(--h) 50% 60%);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gs-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gs-text);
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.gs-card-desc {
  font-size: 14px;
  color: var(--gs-text-2);
  margin-bottom: 12px;
  min-height: 40px;
}
.gs-card-meta {
  font-size: 12px;
  color: var(--gs-text-3);
  padding: 6px 10px;
  background: var(--gs-bg);
  border-radius: 4px;
  display: inline-block;
  border-left: 2px solid var(--gs-primary);
  margin-top: auto;
}

/* ── MINI CARDS (grid) ──────────────────── */
.gs-mini {
  background: var(--gs-surface);
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  overflow: hidden;
  transition: all .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.gs-mini:hover {
  border-color: var(--gs-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
}
.gs-mini:hover .gs-mini-dl {
  opacity: 1;
  transform: translateY(0);
}
.gs-mini--off { opacity: .4; }
.gs-mini--off:hover { opacity: .6; transform: none; }

.gs-mini-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, hsl(var(--h) 45% 14%), hsl(var(--h) 55% 8%));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gs-mini-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49%, hsl(var(--h) 60% 20% / .2) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, hsl(var(--h) 60% 20% / .2) 50%, transparent 51%);
  background-size: 30px 30px;
  opacity: .5;
}
.gs-mini-letter {
  font-family: 'Rajdhani', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: hsl(var(--h) 65% 60%);
  opacity: .5;
  z-index: 1;
  line-height: 1;
  text-shadow: 0 2px 12px hsl(var(--h) 80% 40% / .6);
}
.gs-mini-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gs-primary);
  background: rgba(9,27,41,.85);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.gs-mini-dl {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--gs-primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 2;
}
.gs-mini-off {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gs-danger);
  background: rgba(9,27,41,.85);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.gs-mini-body {
  padding: 10px 12px;
}
.gs-mini-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gs-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-mini-genre {
  font-size: 10px;
  color: var(--gs-text-3);
  letter-spacing: .05em;
}

/* ── GENRE CHIPS ────────────────────────── */
.gs-genre {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--gs-surface);
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  color: var(--gs-text);
  text-decoration: none;
  font-weight: 600;
  transition: all .2s;
}
.gs-genre:hover {
  border-color: var(--gs-primary);
  background: var(--gs-surface-2);
  color: var(--gs-primary);
}
.gs-genre-hash { color: var(--gs-primary); font-weight: 400; }
.gs-genre-arr { margin-left: auto; opacity: 0; transition: opacity .2s; }
.gs-genre:hover .gs-genre-arr { opacity: 1; }

/* ── CTA STRIP ──────────────────────────── */
.gs-cta {
  background: var(--gs-surface);
  border: 1px solid var(--gs-line);
  border-radius: 12px;
  padding: 32px 32px;
  position: relative;
  overflow: hidden;
}
.gs-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(59,120,230,.15), transparent 70%);
}
.gs-cta h2 {
  font-weight: 700;
  color: var(--gs-text);
  font-size: 32px;
}

/* ── FILTERS ────────────────────────────── */
.gs-cat-hero {
  background: linear-gradient(180deg, var(--gs-surface), var(--gs-bg));
  border-bottom: 1px solid var(--gs-line);
}
.gs-input {
  background: var(--gs-surface) !important;
  border: 1px solid var(--gs-line) !important;
  color: var(--gs-text) !important;
  font-size: 14px;
  padding: 10px 14px;
}
.gs-input:focus {
  background: var(--gs-surface) !important;
  border-color: var(--gs-primary) !important;
  box-shadow: 0 0 0 3px rgba(59,120,230,.15) !important;
  color: var(--gs-text) !important;
}
.gs-input-group .input-group-text {
  background: var(--gs-surface);
  border: 1px solid var(--gs-line);
  border-right: none;
  color: var(--gs-text-3);
}

/* ── GAME PAGE ──────────────────────────── */
.gs-game-hero {
  background:
    linear-gradient(135deg, hsl(var(--h) 40% 12%), hsl(var(--h) 30% 8%)),
    var(--gs-surface);
  border-bottom: 1px solid var(--gs-line);
  position: relative;
  overflow: hidden;
}
.gs-game-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, hsl(var(--h) 40% 20% / .1) 20px 21px);
}
.gs-game-hero > .container { position: relative; z-index: 1; }

.gs-game-icon {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: linear-gradient(135deg, hsl(var(--h) 60% 25%), hsl(var(--h) 55% 15%));
  border: 2px solid hsl(var(--h) 60% 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: hsl(var(--h) 90% 85%);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  box-shadow: 0 8px 32px hsl(var(--h) 60% 30% / .5);
}

.gs-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .06em;
}
.gs-status--available { color: var(--gs-code); background: rgba(34,211,168,.1); border: 1px solid rgba(34,211,168,.2); }
.gs-status--unavailable { color: var(--gs-danger); background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); }

/* ── PRODUCT CARDS ──────────────────────── */
.gs-prod {
  background: var(--gs-surface);
  border: 1px solid var(--gs-line);
  border-radius: 12px;
  overflow: hidden;
  border-left: 4px solid hsl(var(--h) 60% 50%);
  transition: border-color .2s;
}
.gs-prod:hover { border-color: var(--gs-primary); border-left-color: hsl(var(--h) 60% 50%); }

.gs-prod-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--gs-line);
}
.gs-prod-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--gs-primary);
  color: #fff;
  border-radius: 3px;
  letter-spacing: .08em;
}
.gs-prod-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gs-text);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.gs-prod-block {
  padding: 24px 28px;
  border-bottom: 1px solid var(--gs-line);
}
.gs-prod-block:last-child { border-bottom: none; }
.gs-prod-block-label {
  font-size: 12px;
  color: var(--gs-text-3);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.gs-feat-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--gs-primary);
  letter-spacing: .08em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gs-line);
}
.gs-feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gs-feat-list li {
  font-size: 13px;
  color: var(--gs-text-2);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gs-feat-list li i { font-size: 12px; }

.gs-req {
  background: var(--gs-bg);
  border: 1px solid var(--gs-line);
  border-radius: 6px;
  padding: 12px;
}
.gs-req-k {
  font-size: 10px;
  color: var(--gs-text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.gs-req-v {
  font-size: 14px;
  color: var(--gs-text);
  font-weight: 600;
}

/* ── GALLERY ────────────────────────────── */
.gs-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.gs-gallery-item {
  display: block;
  aspect-ratio: 16/10;
  background: var(--gs-bg);
  border: 1px solid var(--gs-line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.gs-gallery-item:hover {
  border-color: var(--gs-primary);
  transform: scale(1.03);
  z-index: 2;
}
.gs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── GALLERY ────────────────────────────── */
.gs-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.gs-gallery-item {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--gs-line);
  background: var(--gs-bg);
  transition: border-color .2s, transform .2s;
  position: relative;
}
.gs-gallery-item:hover {
  border-color: var(--gs-primary);
  transform: translateY(-2px);
}
.gs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gs-gallery-item:hover img { transform: scale(1.05); }

/* ── FOOTER ─────────────────────────────── */
.gs-footer {
  background: var(--gs-surface);
  border-top: 1px solid var(--gs-line);
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  .gs-hero { padding: 60px 0 40px; }
  .gs-hero-title { font-size: 44px; }
  .gs-mini-letter { font-size: 42px; }
  .gs-card-mark { font-size: 100px; }
  .gs-cta { padding: 24px; }
  .gs-cta h2 { font-size: 24px; }
  .gs-section { padding: 40px 0; }
}

/* Fix Bootstrap card overrides */
.card { background-color: var(--gs-surface) !important; }
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238ea3b5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* ═══════════════════════════════════════════════════════
   Production fixes: real images, product cards, details pages
   ═══════════════════════════════════════════════════════ */
.gs-card-thumb--image,
.gs-mini-thumb,
.gs-product-media,
.gs-product-main-shot,
.gs-game-icon--cover {
  background: linear-gradient(135deg, hsl(var(--h) 42% 13%), #070d16);
}

.gs-card-thumb--image img,
.gs-mini-img,
.gs-product-media img,
.gs-product-main-shot img,
.gs-game-icon--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-card-thumb--image img,
.gs-mini-img,
.gs-product-media img,
.gs-product-main-shot img {
  filter: saturate(1.08) contrast(1.05);
}

.gs-card-thumb--image::after,
.gs-product-media::after,
.gs-product-main-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,18,0) 35%, rgba(5,10,18,.85));
  pointer-events: none;
}

.gs-mini-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gs-mini-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(5,10,18,.72));
}
.gs-mini-rank,
.gs-mini-dl,
.gs-mini-off { z-index: 3; }
.gs-mini-letter--fallback {
  z-index: 2;
  opacity: .22;
  mix-blend-mode: screen;
}
.gs-mini:hover .gs-mini-img,
.gs-card:hover .gs-card-thumb--image img,
.gs-product-card:hover .gs-product-media img {
  transform: scale(1.055);
}
.gs-mini-img,
.gs-card-thumb--image img,
.gs-product-media img { transition: transform .45s ease; }

.gs-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,35,54,.96), rgba(8,18,30,.96));
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.gs-card-thumb { border-bottom: 1px solid rgba(255,255,255,.07); }
.gs-mini {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14,33,51,.98), rgba(8,17,28,.98));
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
}
.gs-mini-thumb { aspect-ratio: 16/10; }
.gs-mini-body { padding: 13px 14px 14px; }
.gs-mini-name { font-size: 15px; }

.gs-game-hero--image,
.gs-product-hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--gs-line);
  background:
    linear-gradient(90deg, rgba(7,13,22,.96), rgba(7,13,22,.78) 45%, rgba(7,13,22,.92)),
    var(--hero-img) center/cover no-repeat,
    linear-gradient(135deg, hsl(var(--h) 42% 12%), #070d16);
}
.gs-game-hero--image::after,
.gs-product-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 25%, hsl(var(--h) 80% 55% / .22), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 48px);
}
.gs-game-icon--cover {
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
}
.gs-game-icon--cover img { border-radius: inherit; }

.gs-product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(13,31,48,.98), rgba(7,15,26,.98));
  border: 1px solid rgba(77, 120, 170, .28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.gs-product-card:hover {
  transform: translateY(-6px);
  border-color: hsl(var(--h) 72% 58% / .72);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 0 1px hsl(var(--h) 72% 58% / .25);
}
.gs-product-media {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  text-decoration: none;
}
.gs-product-media-count {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  font-size: 11px;
  color: #fff;
  background: rgba(4,10,18,.76);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  padding: 5px 9px;
  border-radius: 999px;
}
.gs-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.gs-product-title {
  font-size: 21px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.gs-product-title a {
  color: var(--gs-text);
  text-decoration: none;
}
.gs-product-title a:hover { color: var(--gs-primary-h); }
.gs-product-desc {
  color: var(--gs-text-2);
  font-size: 14px;
  min-height: 62px;
  margin-bottom: 14px;
}
.gs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.gs-chip {
  max-width: 100%;
  color: #b8c9dc;
  background: rgba(59,120,230,.10);
  border: 1px solid rgba(59,120,230,.18);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-product-actions {
  display: flex;
  gap: 10px;
}

.gs-product-page-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: .95;
  color: var(--gs-text);
  letter-spacing: .015em;
  margin-bottom: 18px;
}
.gs-product-main-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.45), 0 0 0 1px hsl(var(--h) 70% 55% / .18);
}
.gs-prod-block--standalone {
  background: linear-gradient(180deg, rgba(13,31,48,.96), rgba(7,15,26,.96));
  border: 1px solid var(--gs-line);
  border-radius: 18px;
}
.gs-gallery--large {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gs-gallery--large .gs-gallery-item { border-radius: 14px; }

@media (max-width: 768px) {
  .gs-product-actions { flex-direction: column; }
  .gs-product-content { padding: 17px; }
  .gs-gallery--large { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
  .gs-game-icon { width: 74px; height: 74px; }
}


/* Compact, cleaner features */
.gs-chip-row {
  max-height: 54px;
  overflow: hidden;
  align-content: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}
.gs-chip {
  max-width: 48%;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #c4d5e9;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.gs-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: hsl(var(--h) 78% 60%);
  box-shadow: 0 0 10px hsl(var(--h) 78% 60% / .45);
}

.gs-prod-block-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.gs-block-title {
  margin: 0;
  color: var(--gs-text);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .01em;
}
.gs-feature-count {
  flex: 0 0 auto;
  color: var(--gs-text-3);
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
}
.gs-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gs-feature-box {
  min-width: 0;
  background: rgba(2,8,18,.32);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 13px 14px;
}
.gs-feature-box .gs-feat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  padding: 0 0 8px;
  font-size: 11px;
  color: hsl(var(--h) 82% 66%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-feature-box .gs-feat-head::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 2px;
  background: hsl(var(--h) 82% 58%);
  box-shadow: 0 0 14px hsl(var(--h) 82% 58% / .45);
}
.gs-feat-list--compact {
  display: grid;
  gap: 6px;
}
.gs-feat-list--compact li {
  min-width: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.28;
  color: #c0cce0;
}
.gs-feat-list--compact li span {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.gs-feat-list--compact li i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  font-size: 10px;
}

@media (max-width: 768px) {
  .gs-chip { max-width: 100%; }
  .gs-prod-block-top { flex-direction: column; gap: 10px; }
  .gs-feature-grid { grid-template-columns: 1fr; }
}

/* Fix repeated select arrows in catalog filters */
select.form-select.gs-input,
.form-select.gs-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: var(--gs-surface) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%238ea3b5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 44px !important;
}

select.form-select.gs-input::-ms-expand {
  display: none;
}

select.form-select.gs-input option {
  background: #0b1724;
  color: var(--gs-text);
}
