/* ═══════════════════════════════════════════════════════════════
   SoloKing.gg Store — "Cyber Forge" Theme
   Premium Rust Game Store — Headless PayNow Integration
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --bg-void:       #050a14;
  --bg-deep:       #0a1020;
  --bg-surface:    #0d1528;
  --bg-elevated:   #111d35;
  --bg-card:       rgba(13, 21, 40, 0.75);

  --neon:          #00d4ff;
  --neon-dim:      #0099cc;
  --neon-glow:     rgba(0, 212, 255, 0.35);
  --neon-subtle:   rgba(0, 212, 255, 0.08);

  --amber:         #f59e0b;
  --amber-glow:    rgba(245, 158, 11, 0.25);

  --border:        rgba(0, 212, 255, 0.1);
  --border-hover:  rgba(0, 212, 255, 0.3);
  --border-strong: rgba(0, 212, 255, 0.5);

  --text-1:  #e8f4f8;
  --text-2:  #8ba3b8;
  --text-3:  #4a6478;

  --green:   #00e676;
  --red:     #ff3d5a;
  --yellow:  #ffd600;

  --sale-red:   #ff3d5a;
  --sale-glow:  rgba(255, 61, 90, 0.3);
  --gift-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);

  --grad-neon:   linear-gradient(135deg, #00d4ff 0%, #0066ff 50%, #7c3aed 100%);
  --grad-card:   linear-gradient(160deg, rgba(0, 212, 255, 0.06) 0%, rgba(0, 0, 0, 0) 60%);
  --grad-hero:   linear-gradient(180deg, transparent 0%, var(--bg-void) 100%);

  --max-w: 1240px;
  --gap: 4rem;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-dim) var(--bg-deep);
}
body {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  background: var(--bg-void);
  color: var(--text-2);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

/* ─── Animated Background ─────────────────────────────────── */
.cyber-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.cyber-bg__grid {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  to { transform: translate(60px, 60px); }
}
.cyber-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: glowFloat 15s ease-in-out infinite alternate;
}
.cyber-bg__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  top: -200px; left: -100px;
}
.cyber-bg__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  bottom: -150px; right: -100px;
  animation-delay: -5s;
}
.cyber-bg__glow--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08), transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -10s;
}
@keyframes glowFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}
.cyber-bg__scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.008) 2px,
    rgba(0, 212, 255, 0.008) 4px
  );
}

/* ─── Navigation (identical to soloking.gg home) ──────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.85);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-1);
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav__name-img {
  height: 38px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 1;
  min-width: 0;
}
.nav__logo-badge {
  width: 42px; height: 42px; min-width: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-neon);
  border-radius: var(--r-md);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem; font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px var(--neon-glow);
  flex-shrink: 0;
}
.nav__name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  background: var(--grad-neon);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  -webkit-appearance: none; appearance: none;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.nav__link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-sm);
  transition: all 0.25s ease;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon-glow);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}
.nav__link:hover::after { width: 70%; }
.nav__link:hover {
  color: var(--neon);
  background: var(--neon-subtle);
}

/* Cart Button in Nav */
.cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--neon-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
}
.cart-btn:hover {
  color: var(--neon);
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}
.cart-btn__count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-neon);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 700;
  border-radius: 100px;
  padding: 0 4px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s var(--ease);
}
.cart-btn__count--visible {
  opacity: 1;
  transform: scale(1);
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  padding: 7rem 2rem 3rem;
  text-align: center;
}
.hero__container {
  max-width: 700px; margin: 0 auto;
}
.hero__badge {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neon);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.04);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}
.hero__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.hero__divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
}
.hero__divider span {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover));
}
.hero__divider span:last-child {
  background: linear-gradient(90deg, var(--border-hover), transparent);
}
.hero__divider svg { color: var(--text-3); opacity: 0.5; }

/* ─── Filters ──────────────────────────────────────────────── */
.filters {
  position: relative; z-index: 1;
  padding: 0 2rem 2rem;
}
.filters__container {
  max-width: var(--max-w); margin: 0 auto;
  text-align: center;
}
.filters__tags {
  display: inline-flex; flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.filter-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-tag:hover {
  color: var(--neon);
  border-color: var(--border-hover);
  background: rgba(0, 212, 255, 0.06);
}
.filter-tag--active {
  color: #fff;
  background: var(--grad-neon);
  border-color: transparent;
  box-shadow: 0 0 20px var(--neon-glow);
}

/* ─── Store Main ──────────────────────────────────────────── */
.store {
  position: relative; z-index: 1;
  padding: 0 2rem 4rem;
}
.store__container {
  max-width: var(--max-w); margin: 0 auto;
}

/* ─── Products ─────────────────────────────────────────────── */
.products {
  position: relative; z-index: 1;
  padding: 0 2rem 4rem;
}
.products__container {
  max-width: var(--max-w); margin: 0 auto;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─── Product Card ─────────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  position: relative;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-neon);
  opacity: 0; transition: opacity 0.4s ease;
}
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-card);
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 212, 255, 0.06),
    inset 0 1px 0 rgba(0, 212, 255, 0.1);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover::after  { opacity: 1; }

/* Sold out card */
.product-card--soldout {
  opacity: 0.5;
  pointer-events: none;
}
.product-card--soldout::before { display: none; }

.product-card__image {
  position: relative;
  width: 100%; height: 180px;
  background: var(--bg-deep);
  overflow: hidden;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__image img {
  transform: scale(1.05);
}
.product-card__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-elevated) 100%);
  color: var(--neon-dim); opacity: 0.4;
}

/* Tag label */
.product-card__label {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.2rem 0.7rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--grad-neon);
  border-radius: 100px;
  text-transform: uppercase;
  z-index: 2;
}

/* Sale / Discount badge */
.product-card__sale-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  color: #fff;
  background: var(--sale-red);
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 0 12px var(--sale-glow);
  animation: salePulse 2s ease-in-out infinite;
}
@keyframes salePulse {
  0%, 100% { box-shadow: 0 0 12px var(--sale-glow); }
  50% { box-shadow: 0 0 20px var(--sale-glow), 0 0 40px rgba(255, 61, 90, 0.15); }
}

/* Sold out overlay */
.product-card__soldout {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 10, 20, 0.7);
  z-index: 3;
}
.product-card__soldout-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 20px var(--sale-glow);
}

.product-card__body {
  padding: 1.25rem 1.5rem;
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column;
}
.product-card__name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  line-height: 1.35; color: var(--text-1);
  margin-bottom: 0.5rem;
}
.product-card__desc {
  font-size: 0.85rem; color: var(--text-2);
  line-height: 1.6; margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Price with discount */
.product-card__price-wrap {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.product-card__price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-glow);
}
.product-card__price--sale {
  color: var(--sale-red);
  text-shadow: 0 0 20px var(--sale-glow);
}
.product-card__price-original {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; font-weight: 500;
  color: var(--text-3);
  text-decoration: line-through;
}
.product-card__price-sub {
  font-size: 0.7rem; font-weight: 500;
  color: var(--text-3);
  display: block;
}
.product-card__buy {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--grad-neon);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  border: none; border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card__buy:hover {
  box-shadow: 0 0 25px var(--neon-glow);
  transform: translateY(-1px);
}
.product-card__unavailable {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-card__stock-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  padding: 0.2rem 0.6rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem; font-weight: 700;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.product-card__sold-out-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.4rem 1.2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem; font-weight: 800;
  color: var(--red);
  background: rgba(5, 10, 20, 0.85);
  border: 2px solid var(--red);
  border-radius: var(--r-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.product-card--sold-out {
  opacity: 0.55;
}
.product-card--sold-out:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

/* ─── Loading ──────────────────────────────────────────────── */
.loading {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 4rem 1rem; gap: 1.5rem;
}
.loading__ring {
  width: 48px; height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--neon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading__text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

/* Empty State */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 4rem 1rem; gap: 1rem;
  color: var(--text-3);
}
.empty-state svg { opacity: 0.3; }
.empty-state p { font-size: 0.92rem; font-weight: 600; }

/* ─── Cart Sidebar ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 10, 20, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay--open {
  opacity: 1; visibility: visible;
}
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 90vw;
  z-index: 201;
  background: var(--bg-deep);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -10px 0 60px rgba(0, 0, 0, 0.5);
}
.cart-sidebar--open {
  transform: translateX(0);
}
.cart-sidebar__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-sidebar__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-1);
}
.cart-sidebar__title svg { color: var(--neon); }
.cart-sidebar__close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--neon-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.cart-sidebar__close:hover {
  color: var(--neon);
  border-color: var(--border-hover);
}
.cart-sidebar__body {
  flex: 1; overflow-y: auto;
  padding: 1.5rem;
}
.cart-sidebar__items {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-dim) var(--bg-deep);
}
.cart-sidebar__items::-webkit-scrollbar { width: 5px; }
.cart-sidebar__items::-webkit-scrollbar-track { background: var(--bg-deep); }
.cart-sidebar__items::-webkit-scrollbar-thumb {
  background: var(--neon-dim);
  border-radius: 3px;
}
.cart-sidebar__empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  color: var(--text-3);
  font-size: 0.9rem;
  text-align: center;
}
.cart-sidebar__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}
.cart-sidebar__total {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
}
.cart-sidebar__total span:first-child {
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
}
.cart-sidebar__total span:last-child {
  font-size: 1.3rem; font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-glow);
}
.cart-sidebar__checkout {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  width: 100%; padding: 0.9rem;
  background: var(--grad-neon);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.cart-sidebar__checkout:hover {
  box-shadow: 0 0 30px var(--neon-glow);
  transform: translateY(-1px);
}
.cart-sidebar__clear {
  display: block; width: 100%;
  padding: 0.6rem;
  background: transparent;
  color: var(--text-3);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
}
.cart-sidebar__clear:hover {
  color: var(--red);
  border-color: rgba(255, 61, 90, 0.3);
}

/* Cart Empty */
.cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 1rem; gap: 1rem;
  color: var(--text-3);
}
.cart-empty p { font-size: 0.9rem; font-weight: 600; }

/* Cart Item */
.cart-item {
  display: flex; gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}
.cart-item:hover {
  border-color: var(--border-hover);
}
.cart-item__image {
  width: 60px; height: 60px; min-width: 60px;
  border-radius: var(--r-md);
  background: var(--bg-deep);
  overflow: hidden;
}
.cart-item__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.cart-item__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--neon-dim); opacity: 0.3;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.cart-item__price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem; font-weight: 600;
  color: var(--neon);
}
.cart-item__qty {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.4rem;
}
.cart-item__qty-btn {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--neon-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-2);
  font-size: 0.85rem; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-item__qty-btn:hover {
  color: var(--neon);
  border-color: var(--border-hover);
}
.cart-item__qty-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-1);
  min-width: 20px; text-align: center;
}
.cart-item__remove {
  display: flex; align-items: flex-start;
  background: none; border: none;
  color: var(--text-3); cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s ease;
}
.cart-item__remove:hover { color: var(--red); }

/* Cart Total */
.cart-total {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1rem;
}
.cart-total__label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
}
.cart-total__value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-glow);
}

/* Checkout Button */
.checkout-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  width: 100%; padding: 0.9rem;
  background: var(--grad-neon);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.checkout-btn:hover {
  box-shadow: 0 0 30px var(--neon-glow);
  transform: translateY(-1px);
}
.clear-cart-btn {
  display: block; width: 100%;
  padding: 0.6rem;
  background: transparent;
  color: var(--text-3);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
}
.clear-cart-btn:hover {
  color: var(--red);
  border-color: rgba(255, 61, 90, 0.3);
}

/* ─── Product Modal (enlarged) ────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay--open {
  opacity: 1; visibility: visible;
}
.modal {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  max-width: 800px; width: 100%;
  max-height: 90vh;
  display: flex; flex-direction: column;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.05);
  overflow: hidden;
}
.modal-overlay--open .modal {
  transform: scale(1) translateY(0);
}
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 10, 20, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.modal__close:hover {
  color: var(--neon);
  border-color: var(--border-hover);
}

/* Modal Content wrapper */
.modal__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Modal Header (badges row) */
.modal__header {
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.modal__badge {
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem; font-weight: 700;
  color: var(--neon);
  background: var(--neon-subtle);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal__badge--sold-out {
  color: var(--red);
  background: rgba(255, 61, 90, 0.1);
  border-color: rgba(255, 61, 90, 0.3);
}
.modal__badge--stock {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}
.modal__badge--label {
  color: var(--green);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
}
.modal__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--text-1);
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Server tabs */
.modal__server-tabs {
  display: flex; gap: 0.3rem;
  flex-wrap: wrap;
}
.modal__server-tab {
  padding: 0.3rem 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal__server-tab:hover {
  color: var(--text-2);
  border-color: var(--border-hover);
}
.modal__server-tab--active {
  color: #fff;
  background: var(--grad-neon);
  border-color: transparent;
  box-shadow: 0 0 12px var(--neon-glow);
}

/* Modal scrollable body */
.modal__body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-dim) var(--bg-deep);
}
.modal__body-scroll::-webkit-scrollbar { width: 6px; }
.modal__body-scroll::-webkit-scrollbar-track { background: var(--bg-deep); }
.modal__body-scroll::-webkit-scrollbar-thumb {
  background: var(--neon-dim);
  border-radius: 3px;
}

/* Modal description (supports HTML) */
.modal__desc {
  font-size: 0.92rem; color: var(--text-2);
  line-height: 1.7; margin-bottom: 1.25rem;
}
.modal__desc img {
  max-width: 100%;
  border-radius: var(--r-md);
  margin: 0.75rem 0;
}
.modal__desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
}
.modal__desc table td,
.modal__desc table th {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.modal__desc h2, .modal__desc h3, .modal__desc h4 {
  color: var(--text-1);
  margin: 1rem 0 0.5rem;
}
.modal__desc ul, .modal__desc ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.modal__desc li {
  margin-bottom: 0.25rem;
}

/* Modal meta tags */
.modal__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.modal__meta-tag {
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-2);
  background: var(--neon-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Modal image */
.modal__image {
  width: 100%; height: 220px;
  background: var(--bg-surface);
  overflow: hidden;
  flex-shrink: 0;
}
.modal__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--neon-dim); opacity: 0.3;
}

/* Modal Sale Ribbon */
.modal__sale-ribbon {
  position: absolute;
  top: 16px; left: -8px;
  z-index: 5;
  padding: 0.35rem 1.2rem 0.35rem 1rem;
  background: var(--sale-red);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px var(--sale-glow);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

/* Modal sticky footer */
.modal__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.modal__pricing {
  display: flex; flex-direction: column; gap: 0.15rem;
  margin-right: auto;
}
.modal__actions {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap;
}
.modal__price-sub {
  font-size: 0.75rem;
  color: var(--text-3);
}
.modal__price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-glow);
}
.modal__price--sale {
  color: var(--sale-red);
  text-shadow: 0 0 20px var(--sale-glow);
}
.add-to-cart-btn--disabled {
  background: var(--bg-elevated);
  color: var(--text-3);
  cursor: not-allowed;
  opacity: 0.6;
}
.add-to-cart-btn--disabled:hover {
  box-shadow: none;
  transform: none;
}
.modal__price-original {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-3);
  text-decoration: line-through;
}

/* Quantity Control */
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--neon-subtle);
  border: none;
  color: var(--text-2);
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.qty-btn:hover {
  color: var(--neon);
  background: rgba(0, 212, 255, 0.12);
}
.qty-value {
  width: 40px; text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-1);
}

/* Add to Cart Button */
.add-to-cart-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--grad-neon);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.add-to-cart-btn:hover {
  box-shadow: 0 0 30px var(--neon-glow);
  transform: translateY(-1px);
}

/* Gift Button */
.gift-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  background: var(--gift-purple);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gift-btn:hover {
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

/* ─── Gift Modal ──────────────────────────────────────────── */
.gift-modal {
  max-width: 440px;
  text-align: center;
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; align-items: center;
}
.gift-modal__icon {
  color: var(--neon);
  margin-bottom: 1rem;
}
.gift-modal__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}
.gift-modal__product {
  font-size: 0.9rem;
  color: var(--neon);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.gift-modal__desc {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
}
.gift-modal__input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  text-align: center;
}
.gift-modal__input:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 20px var(--neon-glow);
}
.gift-modal__input::placeholder {
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}
.gift-modal__actions {
  display: flex; gap: 0.75rem; width: 100%;
}
.gift-modal__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gift-modal__btn--confirm {
  background: var(--grad-neon);
  color: #fff;
}
.gift-modal__btn--confirm:hover {
  box-shadow: 0 0 25px var(--neon-glow);
  transform: translateY(-1px);
}
.gift-modal__btn--cancel {
  background: var(--bg-elevated);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.gift-modal__btn--cancel:hover {
  color: var(--text-1);
  border-color: var(--border-hover);
}

/* ─── Cart Auth (inside cart sidebar) ─────────────────────── */
.cart-sidebar__auth {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
/* ─── Cart Auth (Steam login/user) ──────────────────────── */
.cart-auth {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.cart-auth__user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}
.cart-auth__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--neon-dim);
  flex-shrink: 0;
  object-fit: cover;
}
.cart-auth__avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  color: var(--text-3);
  flex-shrink: 0;
}
.cart-auth__info {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.cart-auth__name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-auth__id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--neon-dim);
  opacity: 0.7;
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-auth__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  text-decoration: none;
}
.cart-auth__logout:hover {
  color: var(--red);
  border-color: rgba(255, 61, 90, 0.3);
  background: rgba(255, 61, 90, 0.05);
}
.cart-auth__login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #171a21 0%, #1b2838 100%);
  border: 1px solid rgba(102, 192, 244, 0.2);
  border-radius: var(--r-md);
  color: #66c0f4;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.cart-auth__login:hover {
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  border-color: rgba(102, 192, 244, 0.4);
  box-shadow: 0 0 20px rgba(102, 192, 244, 0.15);
}
.cart-auth__login svg {
  stroke: #66c0f4;
}

/* ─── Cart Item Gift Tag ─────────────────────────────────── */
.cart-item--gift {
  border-color: rgba(124, 58, 237, 0.3);
}
.cart-item--gift:hover {
  border-color: rgba(124, 58, 237, 0.5);
}
.cart-item__gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 4px;
  color: #a855f7;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item__gift-tag svg {
  flex-shrink: 0;
  color: #a855f7;
}

/* ─── Notification Container (bottom-right stacking) ─────── */
.notification-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  z-index: 500;
  pointer-events: none;
}
.notif {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  min-width: 260px;
  max-width: 380px;
  background: rgba(13, 21, 40, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(1rem) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
  position: relative;
  pointer-events: auto;
}
.notif--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.notif__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
}
.notif--success .notif__icon {
  background: rgba(0, 230, 118, 0.12);
  color: var(--green);
}
.notif--success {
  border-color: rgba(0, 230, 118, 0.15);
}
.notif--error .notif__icon {
  background: rgba(255, 61, 90, 0.12);
  color: var(--red);
}
.notif--error {
  border-color: rgba(255, 61, 90, 0.15);
}
.notif--info .notif__icon {
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon);
}
.notif--info {
  border-color: rgba(0, 212, 255, 0.15);
}
.notif__text {
  flex: 1;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
  min-width: 0;
}
.notif__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.notif__close:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.06);
}
.notif__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  animation: notif-progress 3.5s linear forwards;
}
.notif--success .notif__progress { background: var(--green); }
.notif--error .notif__progress { background: var(--red); }
.notif--info .notif__progress { background: var(--neon); }
@keyframes notif-progress {
  from { width: 100%; }
  to { width: 0%; }
}

/* ─── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  padding: 1rem 0;
}
.page-btn {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.page-btn:hover:not(.page-btn--disabled):not(.page-btn--active) {
  color: var(--neon);
  border-color: var(--border-hover);
  background: var(--neon-subtle);
}
.page-btn--active {
  background: var(--grad-neon);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px var(--neon-glow);
  cursor: default;
}
.page-btn--arrow {
  background: transparent;
}
.page-btn--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-dots {
  display: flex; align-items: center; justify-content: center;
  min-width: 28px; height: 38px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer__container {
  max-width: var(--max-w); margin: 0 auto;
}
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer__logo {
  width: 28px; height: 28px;
  object-fit: contain;
}
.footer__name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.08em;
}
.footer__copy, .footer__powered {
  font-size: 0.78rem; color: var(--text-3);
  font-weight: 500;
  margin-top: 0.25rem;
}
.footer__powered a {
  color: var(--neon-dim);
  text-decoration: none;
}
.footer__powered a:hover {
  color: var(--neon);
}


/* ─── Responsive ───────────────────────────────────────────── */

/* Large desktop (matches soloking.gg home) */
@media (min-width: 1400px) {
  :root { --max-w: 1400px; }
  .nav__logo-img { height: 50px; max-width: 72px; }
  .nav__name-img { height: 44px; max-width: 280px; }
  .nav__name { font-size: 1.3rem; }
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .hero__title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .modal { max-width: 90vw; }
}

/* Tablet portrait / small laptop (matches soloking.gg home) */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 10, 20, 0.98);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0; pointer-events: none;
    transition: all 0.3s var(--ease);
    z-index: 99;
  }
  .nav__menu--open {
    transform: translateY(0);
    opacity: 1; pointer-events: auto;
  }
  .nav__link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }
  .nav__logo-img { height: 36px; max-width: 50px; }
  .nav__name-img { height: 30px; max-width: 170px; }
  .nav__name { font-size: 1rem; }
  .cart-btn { margin: 0.5rem 1rem 0; }

  .hero { padding: 4rem 1.5rem 2.5rem; }
  .hero__title { font-size: clamp(1.6rem, 5.5vw, 2.5rem); }
  .hero__desc { font-size: 0.95rem; }
  .hero__badge { font-size: 0.65rem; }

  .filters__container { padding: 0 1rem; }
  .filters__tags { gap: 0.4rem; }
  .filter-tag { font-size: 0.7rem; padding: 0.4rem 0.8rem; }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .modal { margin: 0.75rem; max-height: calc(100vh - 1.5rem); max-width: calc(100vw - 1.5rem); }
  .modal__image { height: 160px; }
  .modal__footer { flex-direction: column; gap: 0.75rem; }
  .modal__pricing { margin-right: 0; }
  .modal__actions { width: 100%; }
  .qty-control { width: auto; }

  .cart-sidebar { width: 100%; max-width: 100vw; }

  .gift-modal { margin: 1rem; max-width: calc(100vw - 2rem); }
  .gift-modal__input { font-size: 0.85rem; }

  .notification-container {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }
  .notif {
    min-width: auto;
    max-width: 100%;
  }
}

/* Mobile (matches soloking.gg home) */
@media (max-width: 480px) {
  .nav__inner { padding: 0 1rem; height: 60px; }
  .nav__brand { gap: 0.5rem; }
  .nav__logo-img { height: 30px; max-width: 42px; }
  .nav__name-img { height: 24px; max-width: 130px; }
  .nav__name { font-size: 0.85rem; }
  .nav__menu { top: 60px; }

  .hero { padding: 3rem 1rem 2rem; }
  .hero__badge { font-size: 0.6rem; padding: 0.3rem 0.8rem; }
  .hero__title { font-size: clamp(1.3rem, 8vw, 2rem); }
  .hero__desc { font-size: 0.85rem; padding: 0 0.5rem; }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .product-card__image { height: 130px; }
  .product-card__body { padding: 0.6rem; }
  .product-card__name { font-size: 0.8rem; }
  .product-card__desc { font-size: 0.7rem; -webkit-line-clamp: 2; }
  .product-card__footer { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .product-card__price { font-size: 0.85rem; }
  .product-card__price-original { font-size: 0.7rem; }
  .product-card__buy { padding: 0.3rem 0.6rem; font-size: 0.65rem; }

  .modal { margin: 0.5rem; max-height: calc(100vh - 1rem); max-width: calc(100vw - 1rem); }
  .modal__image { height: 140px; }
  .modal__footer { gap: 0.6rem; }
  .modal__actions { flex-direction: column; width: 100%; }
  .qty-control { width: 100%; justify-content: center; }
  .add-to-cart-btn { width: 100%; }
  .gift-btn { width: 100%; }

  .gift-modal { margin: 0.75rem; max-width: calc(100vw - 1.5rem); padding: 1.5rem 1.25rem; }
  .gift-modal__title { font-size: 1rem; }
  .gift-modal__input { font-size: 0.8rem; padding: 0.7rem 0.8rem; }
  .gift-modal__btn { padding: 0.65rem 0.75rem; font-size: 0.82rem; }

  .cart-auth__avatar { width: 30px; height: 30px; }
  .cart-auth__name { font-size: 0.78rem; }
  .cart-auth__id { font-size: 0.6rem; }

  .pagination { gap: 0.25rem; }
  .page-btn { min-width: 32px; height: 32px; font-size: 0.75rem; }

  .store { padding: 0 1rem 3rem; }
}

/* Very small phones (matches soloking.gg home) */
@media (max-width: 360px) {
  .nav__inner { padding: 0 0.75rem; }
  .nav__logo-img { height: 26px; max-width: 36px; }
  .nav__name-img { height: 20px; max-width: 100px; }
  .nav__name { font-size: 0.75rem; }

  .products__grid {
    grid-template-columns: 1fr;
  }
  .product-card__image { height: 160px; }
}
