/* ATG STORE - Black, dark matter, purple, white & gold */

/* ========== GLOBAL BACKGROUND — flat dark only; no gradients, side fades, or overlays ========== */
html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: auto;
  background-color: #0a0a0f !important;
  background-image: none !important;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background-color: #0a0a0f !important;
  background-image: none !important;
  overflow-x: hidden;
}
html,
body,
body.cart-page,
body.cart-page-gameseal-body,
body.cart-page-modern,
body.cart-page-futuristic,
body.account-page,
body.product-page {
  background-color: #0a0a0f !important;
  background-image: none !important;
}
.page,
.site,
.app,
.main-wrapper,
#root {
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
}
main.content,
#home,
.content {
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
}
html::before,
html::after,
body::before,
body::after,
main.content::before,
main.content::after,
.content::before,
.content::after {
  display: none !important;
}
/* Section/layout wrappers: transparent so body gradient shows (same as BROWSE section tone) */
.products,
#product-wallpaper-section,
.pc-platform-section::before,
.pc-platform-section::after {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
/* .browse-by-platform-block and .trending-games-section when .neon-section keep their layered background */
.pc-platform-section::before,
.pc-platform-section::after {
  display: none !important;
}

/* Flying image + cart bump (atgxstore reference) */
.flying-img {
  position: fixed;
  z-index: 9999;
  border-radius: 50%;
  border: 2px solid #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
}
.cart-bump {
  color: #a855f7 !important;
}
.cart-bump .cart-icon-gaming,
.cart-bump svg {
  color: #a855f7 !important;
}

:root {
  --black: #000000;
  --dark-matter: #0a0a0c;
  --dark-matter-2: #0e0e12;
  --dark-matter-3: #141418;
  --bg-dark: #000000;
  --bg-card: #0a0a0c;
  --bg-nav: #0a0a0c;
  --bg-top-bar: #0a0a0c;
  --bg-search-bar: #0e0e12;
  --accent: #a855f7;
  --accent-hover: #c084fc;
  --accent-bright: #e9d5ff;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  --gold: #d4af37;
  --gold-light: #e8c547;
  --gold-dark: #b8962e;
  --gold-gradient: linear-gradient(135deg, #b8962e 0%, #d4af37 50%, #e8c547 100%);
  --text: #ffffff;
  --text-muted: #a1a1aa;
  --border: #1c1c22;
  --success: #a855f7;
  --green: #a855f7;
  /* LED glow removed — no colored glow */
  --led-accent: #a855f7;
  --led-white: rgba(255, 255, 255, 0.95);
  --led-gold: rgba(212, 175, 55, 0.6);
  --led-glow: transparent;
  --led-glow-soft: transparent;
  --led-glow-gold: transparent;
  /* Unic LED colors — glow removed */
  --unic-cyan: #00d4aa;
  --unic-purple: #a855f7;
  --unic-pink: #f472b6;
  --unic-cyan-rgb: 0, 212, 170;
  --unic-purple-rgb: 168, 85, 247;
  --unic-pink-rgb: 244, 114, 182;
  /* UI polish */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Price UI: tabular figures for aligned, stable numbers */
  --price-font: Arial, Helvetica, sans-serif;
  --font-heading: Arial, Helvetica, sans-serif;
  --font-display: Arial, Helvetica, sans-serif;
}
/* Price display: consistent tabular numbers and hierarchy */
.price-display,
.cart-item-price,
.cart-subtotal-value,
.cart-total-value,
.checkout-total-value,
.checkout-summary-price,
.current-price {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.5);
}

/* Full-screen dark background: edge to edge, no side bars (details in block above) */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

/* Fit all screens: body grows with content so footer is always visible */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}
#home,
main.content,
.content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  background: transparent;
}
main.content,
main {
  flex: 1;
  min-height: 0;
  padding-bottom: 0.75rem;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
video, iframe {
  max-width: 100%;
}
.pre-wrap, .scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Centered container — default for pages that don't use the main store layout */
.container,
.container-fluid {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 4vw, 2.5rem);
  padding-right: clamp(0.75rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

/* Main content container — desktop: full-width balanced block (min(1400px, 92%)) */
.browse-by-platform-block .container,
.pc-platform-section .container,
.trending-games-section .container,
.best-selling-section .container,
.popular-section .container,
.flash-section .container,
.pc-platform-section .cyber-section .container,
.main-footer .container,
.product-section-footer .container {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

.trending-container,
.pc-platform-section .trending-container,
.trending-games-section .trending-container {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

/* Desktop (1200px+): force full container width, 3 equal cards, 24px gap, no shrinking */
@media (min-width: 1200px) {
  .browse-by-platform-block .container,
  .pc-platform-section .container,
  .trending-games-section .container,
  .best-selling-section .container,
  .popular-section .container,
  .flash-section .container,
  .pc-platform-section .cyber-section .container,
  .pc-platform-section > section .container,
  .pc-platform-section > section:first-of-type .container,
  .trending-container,
  .pc-platform-section .trending-container,
  .trending-games-section .trending-container {
    width: min(1400px, 92%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .trending-grid-shell .row,
  .trending-grid-shell .row.g-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    min-width: 0;
  }
  .trending-grid-shell .row.g-4 > [class*="col-"],
  .trending-grid-shell .row > [class*="col-"],
  .trending-grid-shell .row.g-4 > * {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .pc-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
  }
  .pc-product-grid .product-card,
  .trending-grid-shell .product-card,
  .trending-grid-shell .game-card {
    width: 100%;
    min-width: 0;
  }
  .trending-grid-shell {
    width: 100%;
    max-width: 100%;
  }
  .trending-grid-shell .game-image-container,
  .trending-grid-shell .game-card .game-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 220px;
  }
  .trending-grid-shell .game-image,
  .trending-grid-shell .game-card .game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(1400px, 92%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .product-grid > * {
    width: 100%;
    min-width: 0;
  }
}

/* Responsive: prevent tiny layout or huge empty space when zooming out */
.products,
#product-wallpaper-section,
.pc-platform-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
/* TRENDING / product card grid: 3 cols desktop, 2 tablet, 1 mobile — equal width, no overflow */
.trending-grid-shell .row,
.trending-grid-shell .row.g-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}
.trending-grid-shell .row.g-4 > [class*="col-"],
.trending-grid-shell .row > [class*="col-"],
.trending-grid-shell .row.g-4 > * {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .trending-grid-shell .row,
  .trending-grid-shell .row.g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
/* ========== TABLET / iPAD (769px–1024px) — 2 cols, proper card width, no overflow ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .trending-grid-shell .row,
  .trending-grid-shell .row.g-4,
  .pc-platform-section [id$="-product-grid"],
  .pc-platform-section .trending-grid-shell .row.g-4,
  .pc-platform-section .trending-grid-shell [id$="-product-grid"],
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ea-app-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #epic-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #rockstar-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #gog-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #battlenet-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ubisoft-platform-wallpaper .trending-games-section [id$="-product-grid"],
  .product-grid,
  #product-wallpaper-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
  .trending-grid-shell .row.g-4 > *,
  .pc-platform-section [id$="-product-grid"] > *,
  .game-card,
  .trending-uni,
  .epic-game-card,
  .trending-product-card {
    min-width: 0;
    width: 100%;
  }
  .game-image-container,
  .trending-uni__img-wrap,
  .epic-game-card .epic-card__thumb,
  .epic-game-card .tg-card__img {
    aspect-ratio: 16 / 9;
    min-height: 120px;
    max-height: 200px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .game-image-container img,
  .game-image,
  .trending-uni__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .game-title,
  .trending-uni__title,
  .epic-card__title,
  .trending-card-title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 0;
  }
  .game-card .card-content,
  .trending-uni__main {
    padding: 1rem 1.1rem !important;
    min-width: 0;
  }
  .btn-gaming-primary,
  .trending-uni__cta,
  .epic-game-card .epic-card__cta {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  /* Prevent cards from shrinking too much — min card width ~200px */
  .trending-grid-shell .row.g-4 > *,
  .pc-platform-section [id$="-product-grid"] > *,
  .game-card,
  .trending-uni,
  .epic-game-card {
    min-width: min(200px, 100%);
  }
  /* Readable font sizes on tablet */
  .trending-uni__title { font-size: 0.88rem !important; }
  .trending-uni__price { font-size: 1rem !important; }
  .game-title { font-size: 1rem !important; }
}
@media (max-width: 768px) {
  .trending-grid-shell .row,
  .trending-grid-shell .row.g-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .trending-grid-shell .row,
  .trending-grid-shell .row.g-4 {
    gap: 1rem;
  }
}

/* ========== TABLET / iPad (769px–1024px): 2 columns, proper spacing, readable cards ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .trending-grid-shell .row,
  .trending-grid-shell .row.g-4,
  .pc-platform-section .trending-grid-shell [id$="-product-grid"],
  .pc-platform-section .trending-grid-shell .row.g-4,
  .pc-platform-section [id$="-product-grid"],
  .product-grid,
  .pc-product-grid,
  #product-wallpaper-section .product-grid,
  #product-wallpaper-section .row.g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
  .trending-grid-shell .row.g-4 > *,
  .pc-platform-section [id$="-product-grid"] > *,
  .pc-platform-section .trending-grid-shell [id$="-product-grid"] > * {
    min-width: 0;
    max-width: 100%;
  }
  /* Card: prevent squeeze, allow content to breathe */
  .trending-games-section .game-card,
  .trending-games-section .game-card.trending-uni,
  .trending-games-section .epic-game-card,
  .trending-games-section .tg-card,
  .trending-games-section .trending-product-card,
  .pc-platform-section .game-card,
  .pc-platform-section .game-card.trending-uni {
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }
  /* Image: correct aspect ratio */
  .trending-games-section .game-image-container,
  .trending-games-section .game-card .game-image-container,
  .trending-games-section .epic-card__thumb,
  .trending-games-section .epic-game-card .tg-card__img,
  .pc-platform-section .game-image-container,
  .pc-platform-section .trending-uni__img-wrap {
    aspect-ratio: 16 / 9 !important;
    min-height: 120px !important;
    max-height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .trending-games-section .epic-card__thumb img,
  .trending-games-section .epic-game-card .tg-card__img img,
  .game-image-container img,
  .game-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  /* Title: wrap, no vertical cut-off */
  .trending-games-section .game-title,
  .trending-games-section .epic-card__title,
  .trending-games-section .tg-card__title,
  .trending-games-section .trending-uni__title,
  .pc-platform-section .game-title,
  .pc-platform-section .trending-uni__title {
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    min-height: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
  }
  /* Card content: padding, no overflow */
  .trending-games-section .game-card .card-content,
  .trending-games-section .epic-card__content,
  .trending-games-section .tg-card__content,
  .pc-platform-section .game-card .card-content,
  .pc-platform-section .trending-uni__main {
    padding: 1rem 1.1rem !important;
    min-width: 0 !important;
  }
  /* Price & button: stay inside card */
  .trending-games-section .game-card .price-box,
  .trending-games-section .epic-card__price-wrap,
  .pc-platform-section .game-card .price-box,
  .pc-platform-section .trending-uni__price-wrap {
    min-width: 0 !important;
  }
  /* Button: full width on tablet */
  .trending-games-section .game-card .btn-gaming-primary,
  .trending-games-section .epic-card__cta,
  .trending-games-section .tg-card__cta,
  .pc-platform-section .trending-uni__cta,
  .pc-platform-section .game-card .btn-gaming-primary {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    padding: 0.6rem 1rem !important;
  }
}

.scroll-container {
  max-width: 100%;
  min-width: 0;
}
.scroll-inner {
  min-width: 0;
}
.scroll-container .scroll-inner {
  max-width: none;
}
.cyber-banner-frame,
.browse-banner-frame {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Tablet: full width, balanced padding */
@media (max-width: 1024px) {
  .browse-by-platform-block .container,
  .pc-platform-section .container,
  .trending-games-section .container,
  .best-selling-section .container,
  .popular-section .container,
  .flash-section .container,
  .trending-container {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
  }
  .trending-header-left { max-width: 100%; }
}
@media (max-width: 992px) {
  .container,
  .container-fluid,
  .trending-container,
  .browse-by-platform-block .container,
  .trending-games-section .container {
    padding-left: clamp(0.75rem, 3vw, 1.5rem);
    padding-right: clamp(0.75rem, 3vw, 1.5rem);
  }
}
/* Mobile: full width, prevent overflow */
@media (max-width: 768px) {
  .browse-by-platform-block .container,
  .pc-platform-section .container,
  .trending-games-section .container,
  .best-selling-section .container,
  .popular-section .container,
  .flash-section .container,
  .trending-container,
  .main-footer .container,
  .product-section-footer .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 480px) {
  .browse-by-platform-block .container,
  .pc-platform-section .container,
  .trending-games-section .container,
  .best-selling-section .container,
  .popular-section .container,
  .flash-section .container,
  .trending-container,
  .main-footer .container,
  .product-section-footer .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .product-section-footer {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  /* Platform buttons: allow wrap and prevent overflow */
  #home-platform-buttons,
  #pc-platform-buttons,
  #ea-app-platform-buttons,
  #epic-platform-buttons,
  #rockstar-platform-buttons,
  #gog-platform-buttons,
  #battlenet-platform-buttons,
  #ubisoft-platform-buttons,
  #xbox-platform-buttons,
  #psn-platform-buttons,
  #nintendo-platform-buttons {
    padding: 0 !important;
    gap: 0.5rem !important;
  }
  .pc-platform-tab,
  .home-platform-btn {
    font-size: 0.75rem !important;
    padding: 0 0.5rem !important;
    min-height: 44px !important;
    white-space: nowrap;
  }
}

/* Focus visible for accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.9);
  outline-offset: 2px;
}

input:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.6);
  outline-offset: 0;
}

/* ========== NEW MINIMAL MENU BAR ========== */
.store-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #171717;
  border-bottom: 1px solid #262626;
  box-sizing: border-box;
}

.store-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1.5rem;
  max-width: 100%;
  min-height: 56px;
}

.store-nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.store-nav-logo:hover {
  color: #fafafa;
}

.store-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.store-nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #a3a3a3;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.store-nav-link:hover {
  color: #fff;
  background: #262626;
}

.store-nav-links .store-nav-link.category-pill.active {
  color: #fff;
  background: #262626;
}

.store-nav-deals {
  color: #eab308 !important;
}

.store-nav-deals:hover {
  background: rgba(234, 179, 8, 0.1) !important;
  color: #facc15 !important;
}

.store-nav-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.store-nav-search {
  width: 140px;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  color: #fff;
  background: #262626;
  border: 1px solid #404040;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
}

.store-nav-search::placeholder {
  color: #737373;
}

.store-nav-search:focus {
  border-color: #525252;
}

.store-nav-currency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e5e5;
  background: #262626;
  border: 1px solid #404040;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.store-nav-currency:hover {
  background: #333;
  border-color: #525252;
}

.store-nav-currency .chevron {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.2s;
}

.store-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e5e5;
  background: #262626;
  border: 1px solid #404040;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.store-nav-cart:hover {
  background: #333;
  border-color: #525252;
}

.store-nav-cart i {
  font-size: 0.9rem;
  opacity: 0.9;
}

.store-nav-cart-count {
  min-width: 1.2rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #171717;
  background: #eab308;
  border-radius: 999px;
}

.store-nav-cart-total {
  color: #a3a3a3;
  font-size: 0.8125rem;
}

.store-nav-account {
  position: relative;
}

.store-nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-nav-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.15s;
}

.store-nav-login:hover {
  color: #fff;
}

.store-nav-register {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: #eab308;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.store-nav-register:hover {
  background: #facc15;
  color: #171717;
}

.store-nav-account-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e5e5;
  background: #262626;
  border: 1px solid #404040;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.store-nav-account-btn:hover {
  background: #333;
  border-color: #525252;
}

.store-nav .profile-menu {
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 200px;
  background: #262626;
  border: 1px solid #404040;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.store-nav .currency-menu {
  background: #262626;
  border: 1px solid #404040;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ========== TWO-TIER GAMING MENU (image style) — same color for All, PC, Xbox, PSN, Nintendo, Points ========== */
.game-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, #1e2028 0%, #181a22 35%, #14161e 70%, #101218 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 188, 210, 0.2);
  box-sizing: border-box;
  box-shadow: 0 2px 28px rgba(0, 0, 0, 0.5), 0 0 50px rgba(200, 210, 230, 0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.game-header-top {
  background: linear-gradient(90deg, rgba(30, 32, 40, 0.98) 0%, rgba(24, 26, 34, 0.98) 50%, rgba(20, 22, 30, 0.98) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.game-top-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  flex-wrap: wrap;
  transform: translateX(-70px);
}

.game-top-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.game-top-link:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(124, 58, 237, 0.14) 100%);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.28), 0 0 36px rgba(167, 139, 250, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 14px rgba(196, 181, 253, 0.45), 0 0 28px rgba(139, 92, 246, 0.2);
}

.game-top-active {
  color: #a855f7 !important;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.game-top-cta {
  color: #ffb020 !important;
}

.game-top-cta:hover {
  color: #ffc040 !important;
}

.game-top-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.7);
  flex-shrink: 0;
}

.game-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  min-height: 58px;
  max-width: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(28, 30, 38, 0.96) 0%, rgba(22, 24, 32, 0.96) 50%, rgba(18, 20, 28, 0.96) 100%);
}

.game-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-width: 0;
  overflow: visible;
}

.game-logo {
  font-size: 1.35rem;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  color: #b794f6;
  transition: color 0.2s ease;
}

.game-logo:hover {
  color: #c4b5fd;
}

.game-logo i {
  font-size: 1.75rem;
}

/* Electric flicker — very subtle, single soft pulse per cycle */
@keyframes electric-flicker {
  0%, 85%, 100% { filter: brightness(1); }
  90% { filter: brightness(1.04); }
  92% { filter: brightness(0.99); }
  95%, 100% { filter: brightness(1); }
}

/* Water wave text — single animation for both ATG & STORE */
@keyframes water-wave-gradient {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 25%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 75%; }
}

/* Shimmer — premium sweep, smooth fade in/out */
@keyframes loading-shimmer {
  0% { opacity: 0; transform: translateX(-80%) skewX(-10deg); }
  8% { opacity: 0.85; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  92% { opacity: 0.85; }
  100% { opacity: 0; transform: translateX(180%) skewX(-10deg); }
}

/* Menubar: hover-only LED (unselected pills) — breathing halo + top diode */
@keyframes atg-pill-led-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(139, 92, 246, 0.32),
      0 0 8px rgba(167, 139, 250, 0.35),
      0 0 20px rgba(124, 58, 237, 0.22),
      0 0 32px rgba(34, 211, 238, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 0 16px rgba(109, 40, 217, 0.06);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(233, 213, 255, 0.55),
      0 0 18px rgba(167, 139, 250, 0.72),
      0 0 36px rgba(139, 92, 246, 0.42),
      0 0 52px rgba(34, 211, 238, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 22px rgba(167, 139, 250, 0.1);
  }
}

@keyframes atg-pill-led-diode {
  0%, 100% {
    opacity: 0.55;
    filter: brightness(0.95);
  }
  40% {
    opacity: 1;
    filter: brightness(1.35) drop-shadow(0 0 6px rgba(244, 240, 255, 0.9));
  }
  55% {
    opacity: 1;
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(34, 211, 238, 0.85));
  }
}

@keyframes atg-pill-led-icon {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(196, 181, 253, 0.55)); }
  50% { filter: drop-shadow(0 0 8px rgba(244, 240, 255, 0.85)) drop-shadow(0 0 12px rgba(34, 211, 238, 0.45)); }
}

.game-site-name {
  font-family: Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-style: italic;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transform: translateX(-90px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: electric-flicker 5s ease-in-out infinite;
}

/* Shimmer — refined gradient band, smooth easing */
.game-site-name::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 0;
  width: 40%;
  height: 140%;
  background: linear-gradient(100deg, transparent 0%, transparent 28%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.22) 52%, transparent 72%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  animation: loading-shimmer 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

/* ATG — water wave inside text (white → soft lavender flow) */
.game-site-atg {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 25%, #ede9fe 50%, #e9d5ff 75%, #f5f3ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  margin-right: -0.08em;
  animation: water-wave-gradient 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.1)) drop-shadow(1px 1px 0 rgba(0,0,0,0.38)) drop-shadow(2px 2px 0 rgba(0,0,0,0.3)) drop-shadow(3px 3px 8px rgba(0,0,0,0.4));
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* STORE — water wave inside text (purple flow, synced with ATG) */
.game-site-store {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 25%, #8b5cf6 50%, #7c3aed 75%, #a78bfa 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  margin-left: -0.08em;
  animation: water-wave-gradient 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.3)) drop-shadow(0 0 12px rgba(139, 92, 246, 0.12)) drop-shadow(1px 1px 0 rgba(0,0,0,0.38)) drop-shadow(2px 2px 0 rgba(0,0,0,0.3)) drop-shadow(3px 3px 8px rgba(0,0,0,0.4));
  transform: translateZ(0);
  backface-visibility: hidden;
}

.game-pill {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #12101a 0%, #0e0c14 50%, #100e18 100%);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 999px;
  padding: 0.6rem 0.5rem 0.6rem 0.9rem;
  min-height: 44px;
  flex: 0 0 auto;
  width: max-content;
  max-width: 720px;
  margin: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.06);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), flex 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease, box-shadow 0.2s ease, padding 0.4s ease;
}

.game-pill:focus-within {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.25), 0 0 20px rgba(139, 92, 246, 0.08);
}

.game-pill-segments {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-width: 0;
}

.game-segment,
a.game-segment {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
a.game-segment {
  text-decoration: none;
}

.game-segment i {
  font-size: 1.05rem;
  opacity: 0.9;
}

.game-segment:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.game-segment:hover i {
  color: inherit;
}

/* Stable pill size — hover uses same 2px border as active (no layout jump) */
.game-segment.category-pill {
  position: relative;
  z-index: 0;
  overflow: visible;
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s ease, border-color 0.22s ease, text-shadow 0.22s ease;
}

/* Thin LED strip — only for items you are NOT selecting (hover preview) */
.game-segment.category-pill:not(.active)::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  top: 3px;
  height: 2px;
  border-radius: 99px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 211, 238, 0.25) 18%,
    rgba(233, 213, 255, 0.95) 42%,
    rgba(167, 139, 250, 1) 55%,
    rgba(34, 211, 238, 0.5) 72%,
    transparent 100%
  );
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.game-segment.category-pill.active::after {
  display: none;
}

/* Hover on unselected: animated LED halo + top diode bar */
.game-segment.category-pill:not(.active):hover {
  color: #fdfcff;
  background: linear-gradient(165deg, rgba(22, 18, 36, 0.92) 0%, rgba(14, 12, 24, 0.88) 45%, rgba(18, 14, 32, 0.92) 100%);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 16px rgba(167, 139, 250, 0.55), 0 0 28px rgba(34, 211, 238, 0.2);
  border-color: rgba(186, 170, 255, 0.55);
  animation: atg-pill-led-breathe 2.1s ease-in-out infinite;
}

.game-segment.category-pill:not(.active):hover::after {
  opacity: 1;
  transform: scaleX(1);
  animation: atg-pill-led-diode 1.7s ease-in-out infinite;
}

.game-segment.category-pill:not(.active):hover i {
  color: #faf5ff;
  animation: atg-pill-led-icon 1.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .game-segment.category-pill:not(.active):hover {
    animation: none;
    box-shadow:
      0 0 0 1px rgba(167, 139, 250, 0.45),
      0 0 16px rgba(124, 58, 237, 0.32),
      0 0 28px rgba(34, 211, 238, 0.14),
      inset 0 0 16px rgba(167, 139, 250, 0.08);
  }
  .game-segment.category-pill:not(.active):hover::after {
    animation: none;
    opacity: 0.9;
    transform: scaleX(1);
  }
  .game-segment.category-pill:not(.active):hover i {
    animation: none;
    filter: drop-shadow(0 0 6px rgba(196, 181, 253, 0.65));
  }
}

/* Active/selected: rich dark purple with clear glow */
.game-segment.category-pill.active {
  color: #fff;
  text-shadow: 0 0 12px rgba(233, 213, 255, 0.5), 0 1px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 38%, #6d28d9 72%, #5b21b6 100%);
  border: 2px solid rgba(216, 180, 254, 0.65);
  border-radius: 999px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(139, 92, 246, 0.35),
    0 0 24px rgba(109, 40, 217, 0.48),
    0 0 40px rgba(34, 211, 238, 0.12),
    0 4px 20px rgba(0, 0, 0, 0.32);
}

/* Active + hover: stronger LED ring */
.game-segment.category-pill.active:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.55), 0 0 22px rgba(196, 181, 253, 0.65);
  border-color: rgba(244, 240, 255, 0.95);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(167, 139, 250, 0.5),
    0 0 18px rgba(167, 139, 250, 0.7),
    0 0 38px rgba(124, 58, 237, 0.45),
    0 0 56px rgba(34, 211, 238, 0.22),
    0 4px 20px rgba(0, 0, 0, 0.32);
}

/* Search icon inside list like Points – same row, same look as segments */
.game-pill-search-icon {
  padding: 0.45rem 0.4rem;
  min-width: auto;
  width: auto;
  height: auto;
  min-height: auto;
  border-radius: 999px;
}

.game-pill-search-icon i {
  font-size: 0.95rem;
  opacity: 0.9;
}

.game-pill-search-icon:hover {
  color: #f5f3ff;
  background: rgba(15, 12, 28, 0.55);
  text-shadow: 0 0 10px rgba(196, 181, 253, 0.75);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.45), 0 0 28px rgba(34, 211, 238, 0.15), inset 0 0 12px rgba(167, 139, 250, 0.06);
}

/* Search mode: hide segments + search icon, show search bar inside same pill */
.game-pill-search-wrap {
  display: none;
  align-items: center;
  flex: 1;
  min-width: 0;
  width: 100%;
  gap: 0.6rem;
  padding: 0;
}

.game-pill.search-open {
  flex: 1;
  width: 100%;
  max-width: 720px;
  padding: 0.6rem 0.5rem 0.6rem 0.85rem;
  min-height: 44px;
  animation: thunderPillGlow 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes thunderPillGlow {
  0%, 8%, 20%, 32%, 50% { border-color: rgba(167, 139, 250, 0.2); box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(139, 92, 246, 0.08); }
  5%  { border-color: rgba(200, 220, 255, 0.95); box-shadow: 0 0 0 2px rgba(255,255,255,0.7), 0 0 24px rgba(147, 197, 253, 0.8), 0 0 48px rgba(96, 165, 250, 0.4), 0 4px 20px rgba(0,0,0,0.3); }
  14% { border-color: rgba(167, 139, 250, 0.5); box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3), 0 0 16px rgba(167, 139, 250, 0.25), 0 4px 20px rgba(0,0,0,0.35); }
  26% { border-color: rgba(200, 220, 255, 0.85); box-shadow: 0 0 0 2px rgba(255,255,255,0.5), 0 0 20px rgba(147, 197, 253, 0.6), 0 0 40px rgba(96, 165, 250, 0.25), 0 4px 20px rgba(0,0,0,0.3); }
  38%, 70%, 100% { border-color: rgba(167, 139, 250, 0.35); box-shadow: 0 4px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(139, 92, 246, 0.2), 0 0 18px rgba(139, 92, 246, 0.12); }
}

.game-pill.search-open .game-pill-segments {
  display: none;
}

/* Search bar: purple gaming LED electric glow */
.game-pill.search-open .game-pill-search-wrap {
  display: flex;
  width: 100%;
  min-height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(196, 181, 253, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 14px rgba(167, 139, 250, 0.5), 0 0 28px rgba(139, 92, 246, 0.35), 0 0 44px rgba(124, 58, 237, 0.2);
  animation: searchBarRevealGaming 2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             purpleLedPulse 2.5s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes purpleLedPulse {
  0%, 100% {
    border-color: rgba(196, 181, 253, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 14px rgba(167, 139, 250, 0.5), 0 0 28px rgba(139, 92, 246, 0.35), 0 0 44px rgba(124, 58, 237, 0.2);
  }
  50% {
    border-color: rgba(233, 213, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 0 2px rgba(167, 139, 250, 0.6), 0 0 20px rgba(167, 139, 250, 0.7), 0 0 40px rgba(139, 92, 246, 0.45), 0 0 60px rgba(124, 58, 237, 0.25), 0 0 80px rgba(124, 58, 237, 0.12);
  }
}

@keyframes searchBarRevealGaming {
  from {
    opacity: 0;
    transform: translateX(-24px) scaleX(0.96);
    filter: blur(2px) brightness(0.75);
  }
  4% {
    opacity: 0.5;
    filter: blur(1px) brightness(2.1) contrast(1.12);
  }
  8%, 18% {
    filter: blur(0) brightness(1);
  }
  24% {
    filter: blur(0) brightness(1.85) contrast(1.06);
  }
  30%, 60% {
    opacity: 0.85;
    filter: blur(0) brightness(1);
  }
  to {
    opacity: 1;
    transform: translateX(0) scaleX(1);
    filter: blur(0) brightness(1);
  }
}

.game-pill-search-wrap .game-search-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  font-size: 1rem;
  line-height: 1.35;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
}

.game-pill-search-wrap .game-search-input:focus {
  color: #fff;
}

/* Purple gaming LED stronger when search input focused (electric) */
.game-pill.search-open .game-pill-search-wrap:focus-within {
  border-color: rgba(233, 213, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 0 2px rgba(167, 139, 250, 0.8), 0 0 22px rgba(167, 139, 250, 0.75), 0 0 44px rgba(139, 92, 246, 0.5), 0 0 70px rgba(124, 58, 237, 0.35), 0 0 100px rgba(124, 58, 237, 0.18);
  animation: searchBarRevealGaming 2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             purpleLedPulse 2.5s ease-in-out infinite;
}

.game-pill-search-wrap .game-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.game-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.game-search-close i {
  font-size: 0.9rem;
}

.game-search-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Currency next to search pill (in center) */
.game-currency-by-search {
  flex-shrink: 0;
  margin-left: calc(0.5rem + 65px);
}

.game-header-center .game-wishlist-btn {
  flex-shrink: 0;
  margin-left: 0.5rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.game-header-center .game-wishlist-btn:hover {
  background: rgba(244, 114, 182, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f472b6;
}

.game-header-center .game-cart-btn {
  flex-shrink: 0;
  margin-left: 0.5rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.game-header-center .game-cart-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.game-header-center .game-cart-btn.game-cart-has-items:hover {
  color: #a855f7;
}

.game-header-center .game-profile-wrap {
  flex-shrink: 0;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-header-center .game-auth-guest {
  display: none;
}

.game-header-center .game-auth-guest[hidden] {
  display: none;
}

.game-header-center .game-login-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  min-height: 38px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.game-header-center .game-login-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.game-header-center .game-signup-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  min-height: 38px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.5);
}

.game-header-center .game-profile-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
  box-shadow: none;
}

.game-header-center .game-profile-btn:hover {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
  color: #e9d5ff;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
}

.game-header-center .game-currency {
  padding: 0.45rem 0.7rem;
  min-height: 38px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.game-header-center .game-currency:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-width: 0;
}

.game-currency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}

.game-currency:hover {
  color: #fff;
}

.game-currency .chevron {
  font-size: 0.6rem;
  opacity: 0.8;
}

.game-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

button.game-icon-btn {
  padding: 0;
}

.game-icon-btn:hover {
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
}

.game-icon-btn[aria-label="Search"]:hover {
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.15);
}

.game-wishlist-btn:hover {
  transform: none;
}

.game-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
a.game-cart-btn {
  cursor: pointer;
  box-sizing: border-box;
}

.game-cart-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.game-cart-btn.game-cart-has-items:hover {
  color: #a855f7;
}

.game-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 22px;
  height: 22px;
  font-size: 0.8rem;
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0a0a0c;
  background: #a855f7;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6), 0 0 20px rgba(168, 85, 247, 0.25);
  animation: cart-badge-glow 2s ease-in-out infinite;
}

@keyframes cart-badge-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(168, 85, 247, 0.6), 0 0 20px rgba(168, 85, 247, 0.25); }
  50% { box-shadow: 0 0 16px rgba(168, 85, 247, 0.8), 0 0 28px rgba(168, 85, 247, 0.35); }
}

.game-cart-btn:not(.game-cart-has-items) .game-cart-badge {
  display: none;
}

.game-cart-total-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.game-profile-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-auth-guest {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-login-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.game-login-link:hover {
  color: #fff;
}

.game-signup-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0c;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
}

.game-signup-link:hover {
  opacity: 0.95;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.game-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.4);
  transition: box-shadow 0.2s;
}

.game-profile-btn:hover {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.game-profile-btn:active {
  transform: none;
}

.game-profile-btn i {
  font-size: 1rem;
}

.game-header .profile-menu {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 200px;
  z-index: 300;
  background: rgba(26, 25, 31, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.game-header .currency-menu {
  background: rgba(26, 25, 31, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .game-pill {
    max-width: 100%;
  }
  .game-pill-segments {
    flex-wrap: wrap;
  }
  .game-segment span {
    display: none;
  }
  .game-segment {
    padding: 0.5rem;
  }
}

.game-mobile-support-btn {
  display: none;
}

/* Mobile & tablet (iPad Mini, iPad Pro): hide desktop header; show mobile bar + hamburger menu */
@media (max-width: 1024px) {
  .game-header {
    display: none !important;
  }
  .game-header-top {
    display: none;
  }
  .game-header-main {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    gap: 0;
    min-height: auto;
    border-top: none;
  }
  .game-mobile-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    min-height: 48px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffb020;
    background: rgba(255, 176, 32, 0.12);
    border: 1px solid rgba(255, 176, 32, 0.35);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    order: 5;
    margin: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .game-mobile-support-btn:hover {
    background: rgba(255, 176, 32, 0.2);
    color: #ffc040;
  }
  .game-header-center {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto auto auto auto auto;
    gap: 0.4rem;
    align-items: center;
  }
  .game-site-name {
    transform: none;
    font-size: 1.4rem;
    order: 1;
    justify-self: start;
  }
  .game-currency-by-search {
    order: 2;
    margin: 0;
  }
  .game-header-center .game-wishlist-btn {
    order: 3;
    margin: 0;
  }
  .game-header-center .game-cart-btn {
    order: 4;
    margin: 0;
  }
  .game-header-center .game-profile-wrap {
    order: 6;
    margin: 0;
  }
  .game-pill {
    order: 7;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin: 0.5rem 0 0 0;
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    min-height: 44px;
    border-radius: 12px;
  }
  .game-pill-segments {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  .game-pill-segments::-webkit-scrollbar {
    display: none;
  }
  .game-segment {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    flex-shrink: 0;
    min-height: 40px;
  }
  .game-segment span {
    display: inline;
  }
  .game-segment i {
    display: none;
  }
  .game-pill-search-icon span {
    display: none;
  }
  .game-pill-search-icon i {
    display: inline-block;
  }
  .game-icon-btn,
  .game-cart-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 0.6rem;
    border-radius: 12px;
  }
  .game-cart-badge {
    min-width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }
  .game-auth-guest .game-login-link,
  .game-auth-guest .game-signup-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .game-header .profile-menu {
    min-width: 200px;
    padding: 0.5rem;
  }
  .game-header .profile-menu .profile-menu-item {
    padding: 0.75rem 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .currency-btn.game-currency {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    min-height: 48px;
  }

  /* ---- Mobile bar (hamburger + logo + account) ---- */
  .mob-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 58px;
    height: 58px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: 0;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    background: linear-gradient(135deg, rgba(30, 32, 40, 0.98) 0%, rgba(24, 26, 34, 0.98) 35%, rgba(20, 22, 30, 0.98) 70%, rgba(16, 18, 26, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(180, 188, 210, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  }
  .mob-bar-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fafafa;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: 12px;
  }
  .mob-bar-hamburger:hover,
  .mob-bar-hamburger:focus {
    background: rgba(255, 255, 255, 0.08);
  }
  .mob-hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.2s ease;
  }
  body.mob-menu-open .mob-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.mob-menu-open .mob-hamburger-line:nth-child(2) {
    opacity: 0;
  }
  body.mob-menu-open .mob-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mob-bar-logo {
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    letter-spacing: -0.02em;
  }
  .mob-bar-logo .game-site-store {
    background: linear-gradient(135deg, #c4b5fd, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .mob-bar-cart,
  .mob-bar-account {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: #fafafa;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: 12px;
    text-decoration: none;
  }
  .mob-bar-account i {
    font-size: 1.6rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1), color 0.25s ease, filter 0.25s ease;
  }
  .mob-bar-account:hover i,
  .mob-bar-account:focus i {
    transform: scale(1.1);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  }
  .mob-bar-account:active i {
    transform: scale(0.95);
  }
  .mob-bar-account:hover,
  .mob-bar-account:focus {
    background: rgba(255, 255, 255, 0.1);
  }
  .mob-bar-cart:hover,
  .mob-bar-cart:focus {
    background: rgba(255, 255, 255, 0.08);
  }
  .mob-bar-cart-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #a78bfa;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mob-bar-cart-badge[data-count="0"] {
    display: none;
  }
  /* ---- Mobile bar: PC, Xbox, PSN, Nintendo strip ---- */
  .mob-bar-cats {
    display: flex !important;
    position: fixed;
    top: calc(58px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 999;
    height: 46px;
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 0.5rem;
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
    gap: 0.4rem;
  }
  .mob-bar-cat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0 0.4rem;
    min-height: 36px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  }
  .mob-bar-cat span,
  .mob-bar-cat i {
    text-decoration: none;
  }
  .mob-bar-cat span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .mob-bar-cat i {
    flex-shrink: 0;
    width: 1.1em;
    font-size: 1.05rem;
    text-align: center;
    transition: transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
  }
  .mob-bar-cat:hover i,
  .mob-bar-cat:focus i,
  .mob-bar-cat.active i {
    transform: scale(1.08);
  }
  .mob-bar-cat:active {
    transform: scale(0.98);
  }
  .mob-bar-cat:hover,
  .mob-bar-cat:focus {
    background: rgba(139, 92, 246, 0.18);
    color: #f5f3ff;
    text-shadow: 0 0 12px rgba(196, 181, 253, 0.55);
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.25), 0 0 28px rgba(34, 211, 238, 0.1);
  }
  .mob-bar-cat.active {
    background: linear-gradient(180deg, rgba(109, 40, 217, 0.45) 0%, rgba(91, 33, 182, 0.38) 100%);
    color: #faf5ff;
    text-shadow: 0 0 10px rgba(233, 213, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.45), 0 0 18px rgba(109, 40, 217, 0.35);
  }
  /* ---- Mobile search bar (below strip) ---- */
  .mob-search-bar {
    display: none;
    position: fixed;
    top: calc(58px + 46px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 999;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(12, 12, 16, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .mob-search-bar.is-open {
    display: flex;
  }
  .mob-search-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 1rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fafafa;
    transition: border-color 0.2s, background 0.2s;
  }
  .mob-search-input:focus {
    outline: none;
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
  }
  .mob-search-input::placeholder {
    color: #71717a;
  }
  .mob-search-close {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-search-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fafafa;
  }
  /* ---- Drawer overlay ---- */
  .mob-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  body.mob-menu-open .mob-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  /* ---- Drawer panel ---- */
  .mob-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1002;
    width: min(300px, 85vw);
    max-width: 300px;
    background: #0f0f14;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    padding-left: env(safe-area-inset-left);
  }
  body.mob-menu-open .mob-menu-drawer {
    transform: translateX(0);
  }
  .mob-menu-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 56px;
  }
  .mob-menu-drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fafafa;
  }
  .mob-menu-drawer-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-menu-drawer-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fafafa;
  }
  .mob-menu-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0;
  }
  .mob-menu-label {
    display: block;
    padding: 0.5rem 1.25rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #71717a;
  }
  .mob-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: none;
    background: transparent;
    color: #fafafa;
    font-size: 1rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
    text-decoration: none;
    box-sizing: border-box;
  }
  .mob-menu-item:hover,
  .mob-menu-item:focus {
    background: rgba(255, 255, 255, 0.06);
  }
  .mob-menu-item i {
    width: 20px;
    text-align: center;
    color: #a78bfa;
  }
  .mob-menu-link {
    color: #fafafa;
  }
  /* ---- Bottom nav ---- */
  .mob-bottom-nav {
    display: flex !important;
    align-items: stretch;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    background: rgba(12, 12, 16, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  }
  .mob-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 0.5rem 0.35rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    min-height: 56px;
    transition: color 0.2s ease;
  }
  .mob-bottom-nav-item:hover,
  .mob-bottom-nav-item:focus {
    color: #c4b5fd;
  }
  .mob-bottom-nav-item:active {
    color: #a78bfa;
  }
  .mob-bottom-nav-item i {
    font-size: 1.35rem;
    transition: transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1), color 0.2s ease;
  }
  .mob-bottom-nav-item:hover i,
  .mob-bottom-nav-item:focus i {
    transform: scale(1.1);
  }
  .mob-bottom-nav-item:active i {
    transform: scale(0.95);
  }
  .mob-bottom-nav-item span:not(.mob-bottom-nav-badge) {
    letter-spacing: 0.03em;
  }
  .mob-bottom-nav-badge {
    position: absolute;
    top: 6px;
    right: 50%;
    transform: translate(14px, 0);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
  }
  .mob-bottom-nav-badge[data-count="0"] {
    display: none;
  }
  /* Content spacing for fixed bars: bar + strip + safe area; minimal bottom so footer sits tight */
  .content {
    padding-top: calc(106px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 1rem !important;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  body.mob-search-open .content {
    padding-top: calc(158px + env(safe-area-inset-top, 0px)) !important;
  }
  html {
    scroll-padding-top: calc(106px + env(safe-area-inset-top, 0px));
  }
  body {
    overflow-x: hidden;
    /* Reserve space at bottom so footer can scroll above fixed mob-bottom-nav */
    padding-bottom: max(70px, calc(66px + env(safe-area-inset-bottom)));
  }
  body.mob-menu-open {
    overflow: hidden;
  }
}

/* Hide mobile bar and bottom nav on desktop (above iPad) */
@media (min-width: 1025px) {
  .mob-bar,
  .mob-bar-cats,
  .mob-search-bar,
  .mob-menu-overlay,
  .mob-menu-drawer,
  .mob-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .game-header-main {
    padding: 0.6rem 0.75rem;
  }
  .game-site-name {
    font-size: 1.25rem;
  }
  .game-segment {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
  }
  .game-segment span {
    display: inline;
  }
}

.top-menu-bar {
  display: none;
}

.top-menu-bar.top-bar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.center-menu-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.center-menu-center {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.center-menu-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: 0;
  overflow: visible;
}

.center-menu-right-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: visible;
  flex-shrink: 0;
}

/* ATG-style: minimal currency/cart/welcome - no heavy glow */
.center-menu-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.center-menu-icon-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.language-dropdown {
  position: relative;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.25rem;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}

.language-menu button:hover {
  background: rgba(255,255,255,0.08);
}

.center-menu-search-wrap {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 15, 18, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  min-width: 200px;
}

/* When search is open: hide everything except search bar (like before) */
.center-menu-bar.search-open .center-menu-left {
  display: none;
}

.center-menu-bar.search-open .center-menu-right {
  display: none;
}

.center-menu-bar.search-open .search-categories-wrap {
  flex: 1 1 100%;
  max-width: none;
  justify-content: center;
}

.center-menu-bar.search-open .center-menu-nav {
  flex: 1;
  width: 100%;
  justify-content: center;
}

.center-menu-nav.search-open .category-pill,
.center-menu-nav.search-open .menu-item-gifts,
.center-menu-nav.search-open .menu-item-points,
.center-menu-nav.search-open .search-btn-main {
  display: none;
}

/* Search bar: smooth slide-in when you press search icon */
.center-menu-nav.search-open .center-menu-search-wrap {
  display: flex;
  flex: 0 1 auto;
  width: 100%;
  min-width: 280px;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transform-origin: center;
  animation: searchBarSlide 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes searchBarSlide {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.center-menu-search-wrap input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.center-menu-search-wrap input::placeholder {
  color: var(--text-muted);
}

.center-menu-search-wrap input:focus {
  outline: none;
}

.search-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.search-close-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.center-menu-search-icon svg {
  display: block;
}

/* Search - ATG-style: minimal, same as other nav (atgxstore.com) */
.center-menu-nav .search-btn-main {
  width: 36px;
  height: 36px;
  margin-left: 0.5rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}

.center-menu-nav .search-btn-main:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.center-menu-nav .search-btn-main svg {
  display: block;
  width: 18px;
  height: 18px;
}

.center-menu-logo {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  font-style: italic;
  margin-right: 1rem;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.center-menu-logo:hover {
  opacity: 0.9;
}

.center-menu-logo .logo-atg {
  color: #fff;
  margin-right: 0.25rem;
}

.center-menu-logo .logo-store {
  color: #e2e8f0;
  font-weight: 700;
}

.center-menu-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

/* Platform pills - ATG-style: text-only with dot separators (atgxstore.com) */
.center-menu-bar .category-pill {
  padding: 0.4rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0;
  transition: color 0.2s ease;
  color: var(--text-muted);
  background: transparent;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Dot separator between pills (ATG style) */
.center-menu-bar .category-pill:not(:last-child)::after {
  content: '';
  display: inline-block;
  margin-left: 0.6rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
  vertical-align: middle;
}

.center-menu-bar .category-pill:hover {
  color: #fff;
  background: transparent;
}

.center-menu-bar .category-pill.active {
  color: #fff;
  background: transparent;
}

.center-menu-bar .category-pill.active::after,
.center-menu-bar .category-pill:hover::after {
  background: currentColor;
  opacity: 0.7;
}

/* Hide icons in main bar - ATG uses text only */
.center-menu-bar .cat-icon {
  display: none;
}

.center-menu-nav .menu-sep {
  color: rgba(148, 163, 184, 0.4);
  font-weight: 300;
  padding: 0 0.35rem;
  user-select: none;
}

/* Main nav bar - logo, search/categories, currency, icons, profile */
.main-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.logo-wrap {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.logo-atg {
  color: #fff;
  margin-right: 0.2rem;
}

.logo-store {
  background: linear-gradient(90deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Categories + search container */
.search-categories-wrap {
  flex: 1;
  min-width: 200px;
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  gap: 0.35rem;
}

.search-categories-wrap:focus-within {
  border: none;
  box-shadow: none;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.category-pill:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.category-pill.active {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.cat-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.search-categories-wrap .search-btn {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.search-categories-wrap .search-btn:hover {
  background: var(--border);
}

/* Right side: currency, wishlist, cart, profile - always visible on first row */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.currency-dropdown {
  position: relative;
}

.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.currency-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.currency-btn .chevron {
  opacity: 0.7;
  transition: transform 0.2s;
}

.currency-dropdown.open .currency-btn .chevron {
  transform: rotate(180deg);
}

.currency-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.currency-menu[hidden] {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
}

.currency-menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}

.currency-menu button:hover {
  background: rgba(255,255,255,0.08);
}

/* ATG-style: minimal icon buttons (cart etc.) */
.nav-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-icon-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Anchor targets for top bar links (no visible layout) */
.anchor-scroll {
  display: block;
  height: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}

/* ATG-style: Current Loot label + cart (atgxstore.com) */
.menu-cart-wrap.atg-cart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.menu-cart-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.menu-cart-wrap:hover .menu-cart-label {
  color: var(--text);
}

.cart-btn-wrap {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  font-size: 0.8rem;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 0 12px var(--led-glow-gold);
}

.profile-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

/* ATG-style: Welcome + icon (atgxstore.com) */
.profile-btn.profile-btn-welcome {
  width: auto;
  min-width: 40px;
  padding: 0.4rem 0.75rem;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.profile-btn .menu-welcome-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.profile-btn .profile-btn-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.profile-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Profile dropdown — compact menu bar (like before) */
.profile-dropdown-wrap {
  position: relative;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.12);
  z-index: 200;
  backdrop-filter: blur(8px);
  font-family: Arial, sans-serif;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.profile-menu[hidden] {
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s;
}

/* Admin nav: hidden until script.js adds .atg-show-admin-dashboard (valid staff JWT only). */
.profile-menu-item.profile-menu-item-admin,
#profile-admin-dashboard.profile-menu-item-admin {
  display: none !important;
}
.profile-menu-item.profile-menu-item-admin.atg-show-admin-dashboard,
#profile-admin-dashboard.profile-menu-item-admin.atg-show-admin-dashboard {
  display: flex !important;
}

.profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.profile-menu-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.9;
}

.profile-menu-item-wallet {
  cursor: default;
  justify-content: space-between;
}

.profile-menu-item-wallet:hover {
  background: none;
}

.wallet-badge {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #0a0e17;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-btn:hover {
  color: var(--accent-hover);
}

.admin-link-wrap {
  text-align: center;
  padding: 0.5rem;
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
}

.admin-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
}

.admin-link:hover {
  color: var(--accent);
}

.support-modal-content {
  max-width: 420px;
}

.support-user-messages {
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.8rem;
  background: var(--bg-dark);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.support-msg {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.support-msg.admin .support-sender {
  color: var(--accent);
}

.support-sender {
  font-weight: 600;
  margin-right: 0.3rem;
}

.empty-support {
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
}

#support-form {
  display: flex;
  gap: 0.5rem;
}

#support-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-dark);
  color: var(--text);
  font-family: inherit;
}

#support-form button {
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #0a0e17;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(168, 85, 247, 0.2);
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-hover), 0 0 40px rgba(168, 85, 247, 0.1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-content h2 {
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.modal-content input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.modal-content input:focus {
  border-color: var(--accent);
}

.modal-content button[type="submit"] {
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #0a0e17;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

.modal-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ═══ Cart Drawer — dark + purple LED ═══ */
#cart-sidebar.cart-sidebar,
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  max-width: 100%;
  height: 100%;
  background: #0d0d12;
  border-left: 2px solid rgba(168, 85, 247, 0.5);
  border-radius: 8px 0 0 8px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(168, 85, 247, 0.08);
  overflow: hidden;
  visibility: hidden;
}

#cart-sidebar.cart-sidebar[aria-hidden="false"],
.cart-sidebar[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(168, 85, 247, 0.12);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Cart header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(180, 190, 210, 0.25);
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.06);
}

.cart-header-left {
  display: flex;
  align-items: center;
}

.cart-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.cart-header .cart-items-badge {
  font-weight: 400;
  color: rgba(192, 132, 252, 0.9);
  font-size: 1rem;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 6px;
  color: #c084fc;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cart-close:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

/* Scroll area — takes remaining space so footer stays at bottom */
.cart-scroll-container {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem 1.5rem;
}

.cart-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.cart-scroll-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.cart-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 3px;
}

.cart-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.6);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Empty state */
.cart-items .empty-cart {
  margin: 0;
  padding: 2rem 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.cart-items .empty-cart::before {
  content: '';
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border: 2px dashed rgba(168, 85, 247, 0.4);
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.1);
}

/* Cart item cards */
.gaming-cart-item,
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gaming-cart-item:hover,
.cart-item:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.12);
}

.cart-item-left {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.cart-img-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.2);
  flex-shrink: 0;
}

.cart-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-discount {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.cart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info,
.cart-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.cart-item-qty-row {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.1);
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.08);
  border: none;
  color: #c084fc;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-qty-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
}

.cart-qty-num {
  min-width: 32px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e8f0;
}

.cart-item-qty-price-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}
.cart-item-price-right {
  flex-shrink: 0;
}
.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cart-item-price {
  font-weight: 700;
  font-size: 1rem;
  color: #c084fc;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.cart-item-remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
}

/* You may also like */
.cart-you-may-also {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(168, 85, 247, 0.25);
}

.cart-you-may-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.cart-recommend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-recommend-item:last-child {
  border-bottom: none;
}

.cart-recommend-img-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.2);
  flex-shrink: 0;
}

.cart-recommend-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-recommend-discount {
  position: absolute;
  bottom: 2px;
  left: 2px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  transform: rotate(-4deg);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.cart-recommend-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-recommend-name {
  font-size: 0.85rem;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-recommend-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.cart-recommend-add {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 6px;
  color: #c084fc;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cart-recommend-add:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.6);
  color: #fff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

/* Cart footer — pinned to bottom of cart, lifted a little from edge */
.cart-footer {
  padding: 1.35rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  margin-top: auto;
  box-shadow: 0 -0 20px rgba(168, 85, 247, 0.06);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.cart-total-value,
.cart-total-row .value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #c084fc;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}

.cart-total {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #c084fc;
}

/* Checkout button — secure checkout style (rectangular gradient purple + checkmark) */
.cart-checkout-btn,
.cart-sidebar .cart-checkout-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.15);
}
.cart-checkout-btn span {
  flex: 0 0 auto;
}
.cart-checkout-btn .fa-check {
  flex-shrink: 0;
  font-size: 1em;
  opacity: 0.95;
}

.cart-checkout-btn:hover,
.btn-gaming-checkout:hover,
.btn-checkout:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.5), 0 0 48px rgba(168, 85, 247, 0.2);
}

.btn-checkout:hover {
  opacity: 1;
}

/* ═══ Cart full page (PC) — Current Loot ═══ */
body.cart-page {
  background-color: #0a0a0f;
  background-image: none;
  min-height: 100vh;
}
.cart-page .cart-page-content {
  padding: 2rem 1.5rem 4rem;
  max-width: 920px;
  margin: 0 auto;
}
.cart-page-section {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 18, 26, 0.98) 0%, rgba(12, 12, 18, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(168, 85, 247, 0.06);
}
.cart-page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6), rgba(192, 132, 252, 0.5), transparent);
  opacity: 0.9;
}
.cart-page-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.cart-page-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c084fc;
  font-size: 1.4rem;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.12);
}
.cart-page-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cart-page-header .cart-items-badge {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-top: 0.35rem;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}
.cart-page-body {
  padding: 1.35rem 1.75rem;
  max-height: 55vh;
  min-height: 140px;
  overflow-y: auto;
}
.cart-page-body::-webkit-scrollbar {
  width: 8px;
}
.cart-page-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.cart-page-body::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 4px;
}
.cart-page-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: none;
}
.cart-page-items .gaming-cart-item,
.cart-page-items .cart-item {
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  align-items: center;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cart-page-items .gaming-cart-item:hover,
.cart-page-items .cart-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.08);
}
.cart-page-items .cart-img-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border-color: rgba(168, 85, 247, 0.15);
}
.cart-page-items .cart-item-name {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.6rem;
}
.cart-page-items .cart-item-qty-row {
  border-radius: 8px;
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.06);
}
.cart-page-items .cart-qty-btn {
  width: 30px;
  height: 30px;
  font-size: 1rem;
  border-radius: 6px;
}
.cart-page-items .cart-qty-num {
  min-width: 36px;
  font-weight: 600;
}
.cart-page-items .cart-item-price {
  font-size: 1.05rem;
  font-weight: 800;
}
.cart-page-items .cart-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 0.85rem;
}
.cart-page-footer {
  padding: 1.5rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.cart-page-footer .cart-total-row {
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 0;
}
.cart-page-footer .cart-total-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}
.cart-page-footer .cart-total-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c084fc;
  letter-spacing: -0.02em;
}
.cart-page .cart-checkout-btn {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 14px;
  border: none;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.35), 0 0 40px rgba(168, 85, 247, 0.1);
  gap: 0.6rem;
}
.cart-page .cart-checkout-btn:hover {
  box-shadow: 0 6px 32px rgba(168, 85, 247, 0.45), 0 0 50px rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}
.cart-page-continue {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.2s;
}
.cart-page-continue:hover {
  color: #c084fc;
}
.cart-page-items .empty-cart {
  padding: 2.5rem 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}
.cart-page-items .empty-cart::before {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-color: rgba(168, 85, 247, 0.35);
  border-radius: 50%;
}

/* ═══ Cart — LIQUID ELITE: pills, orbs, soft shapes ═══ */
.cart-page .cart-page-content {
  padding: 2.75rem 1.5rem 5rem;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}
.cart-page .cart-page-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 50% at 50% -20%, rgba(168, 85, 247, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cart-page .cart-page-content > * {
  position: relative;
  z-index: 1;
}
.cart-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  flex-wrap: wrap;
}
.cart-progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-progress-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  line-height: 1;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.cart-progress-step-active .cart-progress-num {
  background: linear-gradient(145deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2), 0 0 40px rgba(168, 85, 247, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(1.08);
}
.cart-progress-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}
.cart-progress-step-active .cart-progress-text {
  color: rgba(255, 255, 255, 0.95);
}
.cart-progress-line {
  width: 44px;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-radius: 999px;
}
.cart-two-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.cart-view-main {
  flex: 1;
  min-width: 0;
  padding: 0;
  border-top: none;
}
.cart-view-main .cart-view-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 50%, #f5d0fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cart-view-main .cart-view-title::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 0.5rem;
  vertical-align: middle;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  -webkit-text-fill-color: unset;
}
.cart-view-main .cart-items-badge {
  margin: 0.5rem 0 1.75rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.cart-view-list {
  flex: 1;
  padding: 0;
}
.cart-two-col .cart-page-items {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
/* Cart item: PILL / capsule */
.cart-two-col .cart-page-items .gaming-cart-item,
.cart-two-col .cart-page-items .cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cart-two-col .cart-page-items .gaming-cart-item::before,
.cart-two-col .cart-page-items .cart-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 70%;
  background: linear-gradient(180deg, #a855f7, #ec4899);
  border-radius: 0 999px 999px 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.cart-two-col .cart-page-items .gaming-cart-item:hover,
.cart-two-col .cart-page-items .cart-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: scale(1.01);
}
.cart-two-col .cart-page-items .gaming-cart-item:hover::before,
.cart-two-col .cart-page-items .cart-item:hover::before {
  opacity: 1;
}
.cart-two-col .cart-page-items .cart-img-wrapper {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid rgba(168, 85, 247, 0.25);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.35s ease;
}
.cart-two-col .cart-page-items .gaming-cart-item:hover .cart-img-wrapper,
.cart-two-col .cart-page-items .cart-item:hover .cart-img-wrapper {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2), 0 0 30px rgba(168, 85, 247, 0.2), 0 10px 32px rgba(0, 0, 0, 0.35);
}
.cart-two-col .cart-page-items .cart-item-name {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 0.45rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}
.cart-two-col .cart-page-items .cart-item-qty-price-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: nowrap;
}
.cart-two-col .cart-page-items .cart-item-qty-price-row .cart-item-price {
  flex-shrink: 0;
}
.cart-two-col .cart-page-items .cart-item-qty-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 9999px;
}
.cart-two-col .cart-page-items .cart-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #c4b5fd;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.25s ease;
}
.cart-two-col .cart-page-items .cart-qty-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
}
.cart-two-col .cart-page-items .cart-qty-num {
  min-width: 40px;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1;
}
.cart-two-col .cart-page-items .cart-item-price {
  font-family: var(--price-font);
  font-size: 1.38rem;
  font-weight: 800;
  color: #e9d5ff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 9999px;
  min-width: 5.5rem;
  text-align: right;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.cart-two-col .cart-page-items .cart-item-remove {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  margin-left: auto;
  transition: all 0.25s ease;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
}
.cart-two-col .cart-page-items .cart-item-remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.2);
}
/* Summary: super-rounded + total pill */
.cart-view-summary-card {
  background: rgba(18, 16, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  padding: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  position: relative;
  overflow: hidden;
}
.cart-view-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 100%);
  opacity: 0.9;
  border-radius: 32px 32px 0 0;
}
.cart-summary-heading {
  margin: 0;
  padding: 1.85rem 1.85rem 1.1rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.cart-summary-inner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0 1.85rem 2.1rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
}
.cart-summary-subtotal .cart-total-label,
.cart-summary-subtotal .cart-subtotal-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.4;
}
.cart-summary-subtotal .cart-subtotal-value {
  font-family: var(--price-font);
  font-weight: 700;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}
.cart-summary-total-row {
  padding: 1.4rem 1.6rem;
  margin: 0.3rem 0 0 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.12) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.1) inset, 0 8px 28px rgba(0, 0, 0, 0.2);
}
.cart-summary-total-row .cart-total-label {
  font-size: 1.08rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.cart-summary-total-row .cart-total-value {
  font-family: var(--price-font);
  font-size: 2rem;
  font-weight: 800;
  color: #e9d5ff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 0 36px rgba(168, 85, 247, 0.35);
}
.cart-view-summary-card .cart-checkout-btn {
  width: 100%;
  margin: 1.1rem 0 0 0;
  padding: 1.4rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #a855f7 0%, #c026d3 45%, #ec4899 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.35s ease;
  box-shadow: 0 10px 36px rgba(168, 85, 247, 0.4);
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.cart-view-summary-card .cart-checkout-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 14px 44px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}
.cart-view-summary-card .cart-checkout-btn .fa-lock {
  font-size: 0.9em;
  opacity: 0.95;
}
.cart-view-summary-card .cart-checkout-btn:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}
.cart-view-summary-card .cart-checkout-btn:active {
  transform: translateY(0);
}
.cart-view-summary-card .cart-page-continue {
  display: block;
  text-align: center;
  margin: 0.75rem 0 0 0;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}
.cart-view-summary-card .cart-page-continue:hover {
  color: #c4b5fd;
}
.cart-view-summary-card .cart-page-continue:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
  border-radius: 9999px;
}

.cart-summary-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.cart-summary-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  border-radius: 9999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.35);
}
.cart-summary-banner i {
  font-size: 1rem;
  opacity: 0.95;
}
.cart-summary-banner strong {
  font-weight: 800;
}
.cart-summary-row.cart-summary-savings .cart-total-label {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.cart-savings-value {
  font-family: var(--price-font);
  font-size: 1rem;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: -0.02em;
}
.cart-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.25rem 0;
}
.cart-discount-code-link {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0.5rem 0 0 0;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.cart-discount-code-link:hover {
  color: #c4b5fd;
}
.cart-trust-card {
  padding: 1.4rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.cart-trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.cart-trust-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-trust-logo i {
  color: #a855f7;
  font-size: 1rem;
}
.cart-trust-stars {
  color: #a855f7;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.cart-trust-text {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.cart-item-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  flex-shrink: 0;
}
.cart-two-col .cart-page-items .cart-item-price-was {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.cart-two-col .cart-page-items .cart-item-price-now {
  font-family: var(--price-font);
  font-size: 1.28rem;
  font-weight: 800;
  color: #e9d5ff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cart-two-col .cart-page-items .empty-cart {
  padding: 4.5rem 2.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(168, 85, 247, 0.3);
  border-radius: 32px;
}
.cart-two-col .cart-page-items .empty-cart::before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border: 2px dashed rgba(168, 85, 247, 0.4);
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.08);
}

/* ═══ Cart — Premium (clear hierarchy, strong CTA, refined cards) ═══ */
.cart-page-driffle .cart-page-content {
  max-width: 1160px;
  padding: 2.5rem 1.5rem 5rem;
}
.cart-page-driffle .cart-page-content::before {
  display: none;
}
.cart-page-driffle .cart-progress {
  margin-bottom: 2.5rem;
  padding: 0.9rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
}
.cart-page-driffle .cart-progress-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  border: 2px solid transparent;
  box-shadow: none;
  transform: none;
  transition: all 0.25s ease;
}
.cart-page-driffle .cart-progress-step-active .cart-progress-num {
  background: linear-gradient(145deg, #8b5cf6 0%, #a855f7 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.45);
}
.cart-page-driffle .cart-progress-step:not(.cart-progress-step-active) .cart-progress-num {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.06);
}
.cart-page-driffle .cart-progress-text {
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.5);
}
.cart-page-driffle .cart-progress-step-active .cart-progress-text {
  color: #fff;
}
.cart-page-driffle .cart-progress-line {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
.cart-page-driffle .cart-view-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.cart-page-driffle .cart-view-title::after {
  display: none;
}
.cart-page-driffle .cart-seller-line {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  line-height: 1.5;
}
.cart-page-driffle .cart-seller-line strong {
  color: #e9d5ff;
  font-weight: 600;
}
.cart-page-driffle .cart-items-badge {
  margin: 0.5rem 0 1.75rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: none;
  letter-spacing: 0;
}
.cart-page-driffle .cart-two-col .cart-page-items {
  gap: 1.5rem;
}
.cart-page-driffle .cart-page-items .gaming-cart-item,
.cart-page-driffle .cart-page-items .cart-item {
  border-radius: 16px;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.cart-page-driffle .cart-page-items .gaming-cart-item::before,
.cart-page-driffle .cart-page-items .cart-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #8b5cf6, #a855f7, #c026d3);
  opacity: 0.85;
  display: block;
}
.cart-page-driffle .cart-page-items .gaming-cart-item:hover,
.cart-page-driffle .cart-page-items .cart-item:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.cart-page-driffle .cart-page-items .cart-img-wrapper {
  width: 100px;
  height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  overflow: hidden;
}
.cart-page-driffle .cart-page-items .cart-img-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.cart-page-driffle .cart-page-items .cart-item-info {
  min-width: 0;
  flex: 1;
}
.cart-page-driffle .cart-page-items .cart-item-name {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}
.cart-page-driffle .cart-page-items .cart-item-discount-applied {
  font-size: 0.875rem;
  color: #c4b5fd;
  margin-bottom: 0.75rem;
}
.cart-page-driffle .cart-page-items .cart-item-qty-price-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.6rem;
}
.cart-page-driffle .cart-page-items .cart-item-qty-row {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.cart-page-driffle .cart-page-items .cart-item-remove {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  background: transparent;
  border: none;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.cart-page-driffle .cart-page-items .cart-item-remove:hover {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.15);
}
.cart-page-driffle .cart-page-items .cart-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.cart-page-driffle .cart-page-items .cart-qty-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
}
.cart-page-driffle .cart-page-items .cart-qty-num {
  min-width: 44px;
  padding: 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border-radius: 10px;
  margin: 0 0.25rem;
  text-align: center;
}
.cart-page-driffle .cart-page-items .cart-item-price,
.cart-page-driffle .cart-page-items .cart-item-price-block {
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  text-align: right;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.cart-page-driffle .cart-page-items .cart-item-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #e9d5ff;
}
.cart-page-driffle .cart-page-items .cart-item-price-was {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}
.cart-page-driffle .cart-page-items .cart-item-price-now {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e9d5ff;
}
.cart-page-driffle .cart-view-summary-card {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cart-page-driffle .cart-view-summary-card::before {
  height: 6px;
  border-radius: 20px 20px 0 0;
  opacity: 1;
  background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 50%, #c026d3 100%);
}
.cart-page-driffle .cart-summary-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.03em;
  padding: 2rem 2rem 1.25rem;
}
.cart-page-driffle .cart-summary-inner {
  padding: 0 2rem 2.25rem;
  gap: 1.1rem;
}
.cart-page-driffle .cart-summary-row {
  gap: 0.75rem;
}
.cart-page-driffle .cart-summary-subtotal .cart-total-label,
.cart-page-driffle .cart-summary-subtotal .cart-subtotal-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
}
.cart-page-driffle .cart-summary-row.cart-summary-savings .cart-savings-value {
  color: #a78bfa;
  font-weight: 700;
}
.cart-page-driffle .cart-summary-divider {
  margin: 0.5rem 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.cart-page-driffle .cart-summary-total-block {
  margin-top: 1rem;
  padding: 1.75rem 1.5rem;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.cart-page-driffle .cart-summary-total-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #8b5cf6, #c026d3);
  border-radius: 4px 0 0 4px;
}
.cart-page-driffle .cart-summary-total-block .cart-total-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
}
.cart-page-driffle .cart-summary-total-block .cart-total-value {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}
.cart-page-driffle .cart-price-not-final {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-top: 0.6rem;
  letter-spacing: 0.02em;
}
.cart-page-driffle .cart-price-not-final i {
  font-size: 0.9rem;
  opacity: 0.9;
}
.cart-page-driffle .cart-checkout-btn {
  border-radius: 14px;
  margin-top: 1.75rem;
  padding: 1.4rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 35%, #a855f7 70%, #c026d3 100%);
  box-shadow: 0 10px 36px rgba(124, 58, 237, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}
.cart-page-driffle .cart-checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  filter: brightness(1.08);
}
.cart-page-driffle .cart-checkout-btn:active {
  transform: translateY(-1px);
}
.cart-page-driffle .cart-checkout-btn .fa-lock {
  display: none;
}
.cart-page-driffle .cart-checkout-btn .fa-arrow-right {
  margin-left: 0.6rem;
  font-size: 0.95em;
  opacity: 0.95;
}
.cart-page-driffle .cart-legal-text {
  margin: 1.5rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}
.cart-page-driffle .cart-legal-text a {
  color: #93c5fd;
  text-decoration: none;
}
.cart-page-driffle .cart-legal-text a:hover {
  text-decoration: underline;
  color: #bfdbfe;
}
.cart-page-driffle .cart-discount-code-link {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}
.cart-page-driffle .cart-discount-code-link:hover {
  color: #c4b5fd;
}
.cart-page-driffle .cart-page-continue {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}
.cart-page-driffle .cart-page-continue:hover {
  color: #c4b5fd;
}
.cart-page-driffle .cart-trust-card {
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-page-driffle .cart-trust-badge {
  color: #a855f7;
  font-size: 1.5rem;
}
.cart-page-driffle .cart-trust-header,
.cart-page-driffle .cart-trust-text {
  display: none;
}
.cart-page-driffle .cart-summary-banner {
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
}
.cart-page-driffle .cart-summary-total-row {
  display: none;
}
.cart-page-driffle .cart-two-col .cart-page-items .empty-cart {
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 4rem 2.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.02);
}
.cart-page-driffle .cart-two-col .cart-page-items .empty-cart::before {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-color: rgba(168, 85, 247, 0.4);
}
@media (max-width: 768px) {
  .cart-page-driffle .cart-page-items .cart-item-qty-price-row {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .cart-page-driffle .cart-summary-total-block .cart-total-value {
    font-size: 2.25rem;
  }
  .cart-page-driffle .cart-view-title {
    font-size: 1.9rem;
  }
}

/* ═══ Cart — Gameseal: site color adaptation (dark-matter + accent + gold) ═══ */
body.cart-page-gameseal-body {
  background: var(--dark-matter);
}
.cart-page-gameseal .cart-page-content {
  background: var(--dark-matter);
}
.cart-page-gameseal .cart-page-content {
  max-width: 1100px;
  padding: 2rem 1.5rem 4rem;
}
.cart-page-gameseal .cart-page-content::before {
  display: none;
}
/* Cart page simple header (cart.html) */
.cart-page-header-simple {
  padding: 1.25rem 1.5rem 0.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.cart-page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.cart-page-back-link:hover {
  color: #c084fc;
}
.cart-page-main-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
/* Cart step actions */
.cart-step-1-actions,
.cart-step-2-actions {
  margin-top: 1.5rem;
}
.cart-step-2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.cart-step-2-actions .btn-back {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.cart-step-2-actions .btn-back:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.cart-step-2-actions .cart-checkout-btn {
  flex: 1;
  min-width: 200px;
}
/* Payment block (cart.html step 2) */
.cart-payment-block {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}
.cart-payment-instructions-label {
  margin: 0 0 0.75rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-payment-send {
  margin: 0 0 0.5rem 0;
  color: rgba(255, 255, 255, 0.85);
}
.cart-payment-phone-wrap {
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cart-payment-phone {
  color: #22d3ee;
  font-size: 1.15rem;
}
.cart-payment-copy-btn {
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-payment-copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.cart-payment-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.cart-payment-summary {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-payment-summary .cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.8);
}
.cart-payment-summary .cart-summary-total-row {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 700;
}
.cart-payment-summary .cart-summary-total-row .cart-total-value {
  color: #c084fc;
}

/* ═══ Cart page improved UI (cart.html with menu bar) ═══ */
.cart-page-content-improved {
  padding-top: 1rem;
  padding-bottom: 5rem;
}
.cart-hero {
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.cart-hero-title {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-heading, Arial, Helvetica, sans-serif);
}
.cart-hero-tagline {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}
.cart-page-section-improved {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}
.cart-two-col-improved {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .cart-two-col-improved {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .cart-step-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 2rem;
  }
  .cart-step-main {
    flex: 1;
    min-width: 0;
  }
  .cart-summary-sidebar {
    flex: 0 0 340px;
    position: sticky;
    top: 1.5rem;
  }
}
.cart-step-wrap {
  width: 100%;
}
.cart-step-main .cart-view-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-step-main .cart-view-title-icon {
  display: inline-block;
  width: 6px;
  height: 1.1em;
  background: linear-gradient(180deg, #a855f7, #c084fc);
  border-radius: 2px;
  vertical-align: middle;
}
.cart-step-main .cart-items-badge {
  margin: 0 0 1.25rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}
.cart-summary-secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(16, 185, 129, 0.95);
  margin: 1rem 0 0 0;
  padding: 0.5rem 0;
}
.cart-summary-secure i {
  flex-shrink: 0;
}
.cart-fee-free {
  color: #a855f7 !important;
}
.cart-step-2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.cart-step-2-actions .btn-back {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.cart-step-2-actions .btn-back:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.cart-step-2-actions .cart-checkout-btn {
  flex: 1;
  min-width: 180px;
}
.cart-payment-cards {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 1.25rem 0;
  flex-wrap: wrap;
}
.cart-payment-option {
  flex: 1;
  min-width: 120px;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cart-payment-option i {
  font-size: 1.5rem;
  opacity: 0.8;
}
.cart-payment-option-selected {
  background: rgba(168, 85, 247, 0.15);
  border-color: #a855f7;
  color: #fff;
  position: relative;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
}
.cart-payment-option-selected .fa-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.9rem;
  color: #c084fc;
}
.cart-payment-block-improved {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
}

/* ═══ Cart page — MODERN theme (unique, clean, one accent) ═══ */
:root {
  --cart-modern-bg: #070708;
  --cart-modern-surface: #0f0f11;
  --cart-modern-card: #121214;
  --cart-modern-border: rgba(255, 255, 255, 0.06);
  --cart-modern-text: #fafafa;
  --cart-modern-muted: rgba(255, 255, 255, 0.5);
  --cart-modern-accent: #06b6d4;
  --cart-modern-accent-hover: #22d3ee;
  --cart-modern-accent-soft: rgba(6, 182, 212, 0.15);
}

body.cart-page-modern {
  background: var(--cart-modern-bg);
  min-height: 100vh;
}

.cart-page-content-modern {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cart-modern-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    var(--cart-modern-bg);
}
.cart-modern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
}

.cart-hero-modern {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 0 1.5rem 2rem;
  max-width: 100%;
}
.cart-hero-modern .cart-hero-step {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cart-modern-accent);
  margin-bottom: 0.5rem;
}
.cart-hero-title-modern {
  margin: 0 0 0.4rem 0;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--cart-modern-text);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
}
.cart-hero-tagline-modern {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--cart-modern-muted);
  letter-spacing: 0.01em;
}

.cart-page-modern .cart-page-section,
.cart-page-section-modern {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 2.5rem;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.cart-page-modern .cart-page-section::before {
  display: none;
}

/* Progress — minimal pill steps */
.cart-page-modern .cart-progress-modern.cart-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0;
}
.cart-page-modern .cart-progress-modern .cart-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.cart-page-modern .cart-progress-modern .cart-progress-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--cart-modern-card);
  border: 1px solid var(--cart-modern-border);
  color: var(--cart-modern-muted);
  transition: all 0.25s ease;
}
.cart-page-modern .cart-progress-modern .cart-progress-step-active .cart-progress-circle {
  background: var(--cart-modern-accent);
  border-color: var(--cart-modern-accent);
  color: var(--cart-modern-bg);
  box-shadow: 0 0 0 3px var(--cart-modern-accent-soft);
}
.cart-page-modern .cart-progress-modern .cart-progress-step-completed .cart-progress-circle {
  background: var(--cart-modern-accent-soft);
  border-color: var(--cart-modern-accent);
  color: var(--cart-modern-accent);
}
.cart-page-modern .cart-progress-modern .cart-progress-line {
  width: 48px;
  height: 2px;
  background: var(--cart-modern-border);
  border-radius: 0;
  margin: 0 0.25rem;
  align-self: flex-start;
  margin-top: 21px;
}
.cart-page-modern .cart-progress-modern .cart-progress-line-completed {
  background: var(--cart-modern-accent);
  opacity: 0.6;
}
.cart-page-modern .cart-progress-modern .cart-progress-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cart-modern-muted);
}
.cart-page-modern .cart-progress-modern .cart-progress-step-active .cart-progress-text {
  color: var(--cart-modern-text);
}

/* Two col layout */
.cart-page-modern .cart-two-col-improved {
  margin-top: 1rem;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .cart-page-modern .cart-step-wrap {
    gap: 1.75rem;
  }
  .cart-page-modern .cart-summary-sidebar {
    flex: 0 0 320px;
  }
}

/* Step main — clean cards */
.cart-page-modern .cart-step-main .cart-view-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cart-modern-muted);
}
.cart-page-modern .cart-step-main .cart-view-title-icon {
  display: none;
}
.cart-page-modern .cart-step-main .cart-items-badge {
  font-size: 0.85rem;
  color: var(--cart-modern-muted);
  margin-bottom: 1rem;
}

/* Cart items — minimal cards */
.cart-page-modern .cart-page-items .gaming-cart-item,
.cart-page-modern .cart-page-items .cart-item {
  background: var(--cart-modern-card);
  border: 1px solid var(--cart-modern-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cart-page-modern .cart-page-items .gaming-cart-item:hover,
.cart-page-modern .cart-page-items .cart-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.cart-page-modern .cart-page-items .gaming-cart-item::before,
.cart-page-modern .cart-page-items .cart-item::before {
  display: none;
}
.cart-page-modern .cart-page-items .cart-img-wrapper {
  border-radius: 12px;
  border-color: var(--cart-modern-border);
}
.cart-page-modern .cart-page-items .cart-item-name {
  color: var(--cart-modern-text);
  font-weight: 600;
}
.cart-page-modern .cart-page-items .cart-item-price,
.cart-page-modern .cart-page-items .cart-item-price-now {
  color: var(--cart-modern-accent);
  font-weight: 700;
}

/* Summary card — left accent stripe */
.cart-page-modern .cart-view-summary-card {
  background: var(--cart-modern-card);
  border: 1px solid var(--cart-modern-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}
.cart-page-modern .cart-view-summary-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cart-modern-accent);
  opacity: 1;
  border-radius: 0;
}
.cart-page-modern .cart-summary-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cart-modern-muted);
  padding: 1.5rem 1.5rem 0.75rem;
}
.cart-page-modern .cart-summary-inner {
  padding: 0 1.5rem 1.5rem;
  gap: 0.85rem;
}
.cart-page-modern .cart-summary-subtotal .cart-total-label,
.cart-page-modern .cart-summary-subtotal .cart-subtotal-value {
  color: var(--cart-modern-muted);
  font-size: 0.9rem;
}
.cart-page-modern .cart-summary-total-row {
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--cart-modern-border);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.cart-page-modern .cart-summary-total-row .cart-total-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cart-modern-muted);
}
.cart-page-modern .cart-summary-total-row .cart-total-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cart-modern-accent);
  text-shadow: none;
}
.cart-page-modern .cart-summary-secure {
  color: var(--cart-modern-accent);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cart-modern-border);
}
.cart-page-modern .cart-fee-free {
  color: var(--cart-modern-accent) !important;
}

/* Primary button — solid accent */
.cart-page-modern .cart-view-summary-card .cart-checkout-btn,
.cart-page-modern .cart-checkout-btn {
  background: var(--cart-modern-accent);
  border: none;
  border-radius: 14px;
  color: var(--cart-modern-bg);
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cart-page-modern .cart-view-summary-card .cart-checkout-btn:hover,
.cart-page-modern .cart-checkout-btn:hover {
  background: var(--cart-modern-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}

/* Back button */
.cart-page-modern .cart-step-2-actions .btn-back {
  background: transparent;
  border: 1px solid var(--cart-modern-border);
  color: var(--cart-modern-muted);
}
.cart-page-modern .cart-step-2-actions .btn-back:hover {
  background: var(--cart-modern-card);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--cart-modern-text);
}

/* Payment options — clean tiles */
.cart-page-modern .cart-payment-option {
  background: var(--cart-modern-card);
  border: 1px solid var(--cart-modern-border);
  border-radius: 14px;
  color: var(--cart-modern-muted);
}
.cart-page-modern .cart-payment-option-selected {
  background: var(--cart-modern-accent-soft);
  border-color: var(--cart-modern-accent);
  color: var(--cart-modern-text);
  box-shadow: 0 0 0 1px var(--cart-modern-accent);
}
.cart-page-modern .cart-payment-option-selected .fa-check {
  color: var(--cart-modern-accent);
}

/* Payment instructions block */
.cart-page-modern .cart-payment-block-improved {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 14px;
}
.cart-page-modern .cart-payment-phone {
  color: var(--cart-modern-accent);
}

/* Empty cart */
.cart-page-modern .cart-page-items .empty-cart {
  background: var(--cart-modern-card);
  border: 1px dashed var(--cart-modern-border);
  border-radius: 16px;
  color: var(--cart-modern-muted);
  padding: 3rem 2rem;
}

/* Gameseal cart progress — tracker style (icon circles + labels below + grid bg, cyan active like reference) */
.cart-page-gameseal .cart-progress.cart-progress-tracker,
.cart-page-gameseal .cart-progress-tracker {
  margin-bottom: 1.15rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.6rem 0.75rem 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  background: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.cart-page-gameseal .cart-progress-tracker .cart-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.cart-page-gameseal .cart-progress-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-matter-3);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
}
.cart-page-gameseal .cart-progress-step-active .cart-progress-circle {
  background: linear-gradient(145deg, #00c9a7 0%, #00d4aa 45%, #00b89a 100%);
  color: #0a0a0c;
  border: none;
  box-shadow:
    0 0 0 1px rgba(0, 212, 170, 0.4),
    0 0 10px rgba(0, 212, 170, 0.4),
    0 0 20px rgba(0, 212, 170, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.cart-page-gameseal .cart-progress-tracker .cart-progress-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.25;
  text-align: center;
  max-width: 4.5rem;
}
.cart-page-gameseal .cart-progress-step-active .cart-progress-text {
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 212, 170, 0.35), 0 0 10px rgba(0, 212, 170, 0.12);
}
.cart-page-gameseal .cart-progress-tracker .cart-progress-line {
  width: 8rem;
  min-width: 8rem;
  max-width: 8rem;
  flex: 0 0 8rem;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0;
  box-shadow: none;
  align-self: flex-start;
  margin-top: 20px;
}
.cart-page-gameseal .cart-progress-step-active + .cart-progress-line {
  background: linear-gradient(90deg, rgba(0, 212, 170, 0.6), rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 6px rgba(0, 212, 170, 0.2);
  width: 9.5rem;
  min-width: 9.5rem;
  max-width: 9.5rem;
  flex: 0 0 9.5rem;
}
@media (min-width: 769px) {
  .cart-page-gameseal .cart-progress-tracker {
    padding: 0.75rem 1.6rem 0.6rem;
    gap: 1.6rem;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
  .cart-page-gameseal .cart-progress-tracker .cart-progress-line {
    width: 9.5rem;
    min-width: 9.5rem;
    max-width: 9.5rem;
    flex: 0 0 9.5rem;
    margin-top: 23px;
    height: 1.5px;
  }
  .cart-page-gameseal .cart-progress-step-active + .cart-progress-line {
    width: 11rem;
    min-width: 11rem;
    max-width: 11rem;
    flex: 0 0 11rem;
  }
  .cart-page-gameseal .cart-progress-circle {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }
  .cart-page-gameseal .cart-progress-tracker .cart-progress-text {
    font-size: 0.74rem;
    max-width: 5rem;
  }
}
/* ---- Cart header: Prism Shard + Eclipse blooms (unique art block) ---- */
.cart-page-gameseal .cart-view-header-sheath {
  position: relative;
  margin-bottom: 1.75rem;
  /* Cut corner silhouette — not a boring rectangle */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 18px) 100%, 0 100%);
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 170, 0.35) 0%,
    rgba(168, 85, 247, 0.45) 35%,
    rgba(244, 114, 182, 0.35) 70%,
    rgba(168, 85, 247, 0.25) 100%
  );
  box-shadow:
    0 0 32px rgba(0, 212, 170, 0.12),
    0 0 48px rgba(168, 85, 247, 0.18),
    0 0 64px rgba(244, 114, 182, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.45);
}
.cart-page-gameseal .cart-view-header-art {
  position: absolute;
  inset: 2px;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0;
  /* Dual eclipse blooms */
  background:
    radial-gradient(ellipse 80% 60% at 12% 25%, rgba(0, 212, 170, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 75%, rgba(244, 114, 182, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
}
.cart-page-gameseal .cart-view-header-art::before {
  /* Corner brackets — top-left + bottom-right HUD */
  content: '';
  position: absolute;
  inset: 0;
  border: none;
  background:
    linear-gradient(var(--unic-cyan), var(--unic-cyan)) 0 0 / 28px 2px no-repeat,
    linear-gradient(var(--unic-cyan), var(--unic-cyan)) 0 0 / 2px 22px no-repeat,
    linear-gradient(var(--unic-pink), var(--unic-pink)) 100% 100% / 28px 2px no-repeat,
    linear-gradient(var(--unic-pink), var(--unic-pink)) 100% 100% / 2px 22px no-repeat;
  filter: drop-shadow(0 0 10px rgba(0, 212, 170, 0.25));
}
.cart-page-gameseal .cart-view-header-art::after {
  /* Slow scan shimmer — one moving line */
  content: '';
  position: absolute;
  left: -30%;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(168, 85, 247, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 100%
  );
  animation: cartHeaderScan 8s ease-in-out infinite;
}
@keyframes cartHeaderScan {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(220%); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-page-gameseal .cart-view-header-art::after {
    animation: none;
    opacity: 0.25;
    left: 20%;
    width: 25%;
  }
}
.cart-page-gameseal .cart-view-header {
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, rgba(14, 14, 18, 0.97) 0%, rgba(10, 10, 12, 0.98) 40%, rgba(20, 20, 24, 0.96) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 1.75rem 1.5rem 1.85rem;
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.cart-page-gameseal .cart-view-header-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--unic-cyan);
  text-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
  margin-bottom: 0.35rem;
  opacity: 0.92;
}
.cart-page-gameseal .cart-view-header .cart-view-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0 0.5rem 0;
  line-height: 1.15;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  border-bottom: none;
}
.cart-page-gameseal .cart-view-header .cart-title-your {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: baseline;
}
.cart-page-gameseal .cart-view-header .cart-title-cart {
  background: linear-gradient(100deg, var(--text) 0%, var(--accent-bright) 45%, var(--unic-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.35));
}
.cart-page-gameseal .cart-view-header .cart-view-title::after {
  /* Prism underline */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 180px;
  height: 2px;
  background: linear-gradient(90deg, var(--unic-cyan), var(--accent), var(--unic-pink));
  border-radius: 2px;
  opacity: 0.85;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.45), 0 0 8px rgba(0, 212, 170, 0.3);
}
.cart-page-gameseal .cart-view-title {
  background: none;
}
.cart-page-gameseal .cart-view-main .cart-items-badge {
  display: none;
}
@media (min-width: 769px) {
  .cart-page-gameseal .cart-view-header-sheath {
    margin-bottom: 2rem;
    padding: 3px;
    box-shadow:
      0 0 40px rgba(0, 212, 170, 0.14),
      0 0 56px rgba(168, 85, 247, 0.2),
      0 0 72px rgba(244, 114, 182, 0.1),
      0 20px 56px rgba(0, 0, 0, 0.5);
  }
  .cart-page-gameseal .cart-view-header {
    padding: 1.75rem 2.25rem 1.75rem 2.35rem;
  }
  .cart-page-gameseal .cart-view-header .cart-view-title {
    font-size: 1.95rem;
  }
  .cart-page-gameseal .cart-view-header-art::before {
    background:
      linear-gradient(var(--unic-cyan), var(--unic-cyan)) 0 0 / 36px 2px no-repeat,
      linear-gradient(var(--unic-cyan), var(--unic-cyan)) 0 0 / 2px 28px no-repeat,
      linear-gradient(var(--unic-pink), var(--unic-pink)) 100% 100% / 36px 2px no-repeat,
      linear-gradient(var(--unic-pink), var(--unic-pink)) 100% 100% / 2px 28px no-repeat;
  }
}
.cart-page-gameseal .cart-seller-line {
  display: none;
}
.cart-page-gameseal .cart-items-badge {
  margin: 0.35rem 0 1.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cart-page-gameseal .cart-two-col .cart-page-items {
  gap: 1rem;
}
.cart-page-gameseal .cart-page-items .gaming-cart-item,
.cart-page-gameseal .cart-page-items .cart-item {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: visible;
  align-items: flex-start;
}
.cart-page-gameseal .cart-page-items .gaming-cart-item::before,
.cart-page-gameseal .cart-page-items .cart-item::before {
  display: none;
}
.cart-page-gameseal .cart-page-items .gaming-cart-item:hover,
.cart-page-gameseal .cart-page-items .cart-item:hover {
  box-shadow: var(--shadow-hover);
}
.cart-page-gameseal .cart-page-items .cart-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: none;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-page-gameseal .cart-page-items .cart-img-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.cart-page-gameseal .cart-page-items .cart-item-left {
  align-items: flex-start;
}
.cart-page-gameseal .cart-page-items .cart-item-info {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 0;
}
.cart-page-gameseal .cart-page-items .cart-item-name {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.15rem;
  line-height: 1.35;
}
.cart-page-gameseal .cart-page-items .cart-item-discount-applied {
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.cart-page-gameseal .cart-page-items .cart-item-qty-price-row {
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 0.25rem;
}
.cart-page-gameseal .cart-page-items .cart-item-price-right {
  flex-shrink: 0;
}
.cart-page-gameseal .cart-page-items .cart-item-qty-row {
  border-radius: var(--radius-md);
  background: var(--dark-matter-2);
  border: 1px solid var(--border);
  padding: 0.25rem;
}
.cart-page-gameseal .cart-page-items .cart-item-remove {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--text-muted);
  background: transparent;
  border: none;
}
.cart-page-gameseal .cart-page-items .cart-item-remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
}
.cart-page-gameseal .cart-page-items .cart-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--text-muted);
  background: var(--dark-matter-3);
  border: 1px solid var(--border);
}
.cart-page-gameseal .cart-page-items .cart-qty-btn:hover {
  background: var(--dark-matter-2);
  color: var(--accent-hover);
}
.cart-page-gameseal .cart-page-items .cart-qty-num {
  min-width: 40px;
  padding: 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--dark-matter-3);
  color: var(--text);
  border: 1px solid var(--border);
  margin: 0 0.2rem;
}
.cart-page-gameseal .cart-page-items .cart-item-price,
.cart-page-gameseal .cart-page-items .cart-item-price-block {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: right;
}
.cart-page-gameseal .cart-page-items .cart-item-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.cart-page-gameseal .cart-page-items .cart-item-price-was {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.15rem;
}
.cart-page-gameseal .cart-page-items .cart-item-price-now {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.cart-page-gameseal .cart-promo-card {
  margin-top: 2rem;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 2px solid rgba(244, 114, 182, 0.35);
  box-shadow: 0 4px 20px var(--led-glow-soft);
  position: relative;
  overflow: visible;
}
.cart-page-gameseal .cart-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--unic-pink) 0%, #db2777 100%);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-md) 0;
  box-shadow: 0 2px 10px rgba(244, 114, 182, 0.4);
}
.cart-page-gameseal .cart-promo-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  padding-top: 2.75rem;
}
.cart-page-gameseal .cart-promo-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.25) 0%, rgba(219, 39, 119, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--unic-pink);
}
.cart-page-gameseal .cart-promo-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cart-page-gameseal .cart-promo-text strong {
  font-size: 1rem;
  color: var(--text);
}
.cart-page-gameseal .cart-promo-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.cart-page-gameseal .cart-view-summary-card {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.cart-page-gameseal .cart-view-summary-card::before {
  display: none;
}
.cart-page-gameseal .cart-summary-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: var(--accent-gradient);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0;
}
.cart-page-gameseal .cart-summary-banner[hidden] {
  display: none;
}
.cart-page-gameseal .cart-summary-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  padding: 1.5rem 1.5rem 1rem;
}
.cart-page-gameseal .cart-summary-inner {
  padding: 0 1.5rem 1.75rem;
  gap: 0.85rem;
}
.cart-page-gameseal .cart-summary-subtotal .cart-total-label,
.cart-page-gameseal .cart-summary-subtotal .cart-subtotal-value {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}
.cart-page-gameseal .cart-summary-row.cart-summary-savings .cart-savings-value {
  color: var(--gold-light);
  font-weight: 700;
}
.cart-page-gameseal .cart-summary-divider {
  margin: 0.35rem 0;
  background: var(--border);
}
.cart-page-gameseal .cart-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1rem;
  margin: 0.5rem 0 0;
  background: var(--dark-matter-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.cart-page-gameseal .cart-summary-total-row .cart-total-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.cart-page-gameseal .cart-summary-total-row .cart-total-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.03em;
  font-family: var(--price-font, inherit);
}
.cart-page-gameseal .cart-summary-total-block,
.cart-page-gameseal .cart-price-not-final {
  display: none;
}
.cart-page-gameseal .cart-checkout-btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.15rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 4px 20px var(--led-glow);
  transition: var(--transition-fast);
}
.cart-page-gameseal .cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--led-glow-soft);
}
.cart-page-gameseal .cart-checkout-btn .fa-arrow-right,
.cart-page-gameseal .cart-checkout-btn .fa-lock {
  display: none;
}
.cart-page-gameseal .cart-discount-code-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: center;
  width: 100%;
}
.cart-page-gameseal .cart-discount-code-link:hover {
  color: var(--accent-hover);
}
.cart-page-gameseal .cart-page-continue {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cart-page-gameseal .cart-page-continue:hover {
  color: var(--accent-hover);
}
.cart-page-gameseal .cart-legal-text {
  display: none;
}
.cart-page-gameseal .cart-trust-card {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--dark-matter-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: block;
}
.cart-page-gameseal .cart-trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.cart-page-gameseal .cart-trust-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cart-page-gameseal .cart-trust-logo i {
  color: var(--gold);
  font-size: 1rem;
}
.cart-page-gameseal .cart-trust-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.cart-page-gameseal .cart-trust-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.cart-page-gameseal .cart-trust-link:hover {
  text-decoration: underline;
}
.cart-page-gameseal .cart-trust-text {
  display: block;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.cart-page-gameseal .cart-trust-badge {
  display: none;
}
.cart-page-gameseal .cart-two-col .cart-page-items .empty-cart {
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  padding: 3rem 2rem;
  font-size: 1rem;
  color: var(--text-muted);
  background: var(--bg-card);
}
.cart-page-gameseal .cart-two-col .cart-page-items .empty-cart::before {
  border-color: var(--accent-hover);
}

@media (max-width: 768px) {
  .cart-page-gameseal .cart-view-header .cart-view-title {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }
  .cart-page-gameseal .cart-promo-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .cart-two-col .cart-view-main {
    order: 1;
  }
  .cart-two-col .cart-summary-sidebar {
    order: 2;
  }
}

/* ========== CART PAGE — MOBILE UI ========== */
@media (max-width: 768px) {
  .cart-page .cart-page-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: 5rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cart-page .cart-progress {
    padding: 0.6rem 0.85rem;
    margin-bottom: 1.25rem;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cart-page .cart-progress::-webkit-scrollbar {
    display: none;
  }
  .cart-page-gameseal .cart-progress-tracker {
    padding: 0.55rem 1rem 0.45rem;
    margin-bottom: 0.85rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: 1.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cart-page-gameseal .cart-progress-tracker::-webkit-scrollbar {
    display: none;
  }
  .cart-page-gameseal .cart-progress-tracker .cart-progress-circle {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  .cart-page-gameseal .cart-progress-tracker .cart-progress-text {
    font-size: 0.62rem;
    max-width: 3.6rem;
  }
  .cart-page-gameseal .cart-progress-tracker .cart-progress-line {
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
    flex: 0 0 6.5rem;
    margin-top: 19px;
    height: 1.5px;
  }
  .cart-page-gameseal .cart-progress-step-active + .cart-progress-line {
    width: 7.5rem;
    min-width: 7.5rem;
    max-width: 7.5rem;
    flex: 0 0 7.5rem;
  }
  .cart-page-gameseal .cart-view-header .cart-view-title {
    font-size: 1.35rem;
    letter-spacing: 0.05em;
  }
  .cart-page-gameseal .cart-items-badge {
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }
  .cart-page .cart-two-col {
    gap: 1.25rem;
  }
  .cart-page .cart-two-col .cart-page-items .gaming-cart-item,
  .cart-page .cart-two-col .cart-page-items .cart-item {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.1rem;
  }
  .cart-page-gameseal .cart-page-items .gaming-cart-item,
  .cart-page-gameseal .cart-page-items .cart-item {
    padding: 1rem 1.15rem;
  }
  .cart-page-gameseal .cart-page-items .gaming-cart-item::before,
  .cart-page-gameseal .cart-page-items .cart-item::before {
    height: 4px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0 0 4px 4px;
  }
  .cart-page .cart-page-items .cart-item-left {
    flex-direction: row;
    gap: 1rem;
  }
  .cart-page .cart-page-items .cart-img-wrapper {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
  .cart-page-gameseal .cart-page-items .cart-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }
  .cart-page .cart-page-items .cart-item-info {
    min-width: 0;
  }
  .cart-page .cart-page-items .cart-item-name {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
  }
  .cart-page .cart-page-items .cart-item-qty-price-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  .cart-page-gameseal .cart-page-items .cart-item-qty-price-row {
    flex-wrap: nowrap;
    gap: 0.65rem;
  }
  .cart-page .cart-page-items .cart-item-price-right {
    flex-shrink: 0;
  }
  .cart-page .cart-page-items .cart-item-qty-row {
    margin-left: 0;
    flex-shrink: 0;
    justify-content: flex-start;
  }
  .cart-page .cart-page-items .cart-qty-btn {
    width: 36px;
    height: 36px;
  }
  .cart-page-gameseal .cart-page-items .cart-qty-btn {
    width: 32px;
    height: 32px;
  }
  .cart-page .cart-page-items .cart-item-remove {
    width: 34px;
    height: 34px;
  }
  .cart-page .cart-view-summary-card,
  .cart-page-gameseal .cart-view-summary-card {
    border-radius: 14px;
  }
  .cart-page .cart-summary-heading,
  .cart-page-gameseal .cart-summary-heading {
    font-size: 1.05rem;
    padding: 1.25rem 1.25rem 0.85rem;
  }
  .cart-page .cart-summary-inner,
  .cart-page-gameseal .cart-summary-inner {
    padding: 0 1.25rem 1.5rem;
  }
  .cart-page .cart-checkout-btn,
  .cart-page-gameseal .cart-checkout-btn {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  .cart-page-gameseal .cart-promo-card {
    margin-top: 1.75rem;
  }
  .cart-page-gameseal .cart-promo-inner {
    padding: 1.2rem 1.25rem 1.35rem;
    padding-top: 2.25rem;
  }
  .cart-page-gameseal .cart-promo-img {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }
  .cart-page .cart-two-col .cart-page-items .empty-cart {
    padding: 2.5rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) {
  .cart-two-col {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .cart-view-main {
    order: 1;
    border-top: none;
    padding-top: 0;
  }
  .cart-summary-sidebar {
    order: 2;
    width: 400px;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* Checkout modal – glass UI */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1.5rem;
  animation: chk-overlay-in 0.22s ease-out;
}
@keyframes chk-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.checkout-modal-overlay[hidden] {
  display: none;
}
.checkout-modal {
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 3rem);
  animation: chk-dialog-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes chk-dialog-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.checkout-modal-inner {
  background: linear-gradient(180deg, rgba(30, 20, 45, 0.98) 0%, rgba(18, 18, 28, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(168, 85, 247, 0.15);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 3rem);
}
.checkout-modal-inner::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #a855f7, #c084fc);
  opacity: 0.95;
}
.checkout-modal-header {
  position: relative;
  padding: 1.5rem 1.5rem 1.35rem;
  text-align: center;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}
.checkout-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.checkout-modal-close:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
}
.checkout-modal-header h2 {
  margin: 0 0 0.6rem 0;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.4));
}
.checkout-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.2);
}
.checkout-secure-badge i {
  color: #c084fc;
}
.checkout-modal-body {
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.checkout-summary {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 1.15rem;
  padding-right: 0.35rem;
}
.checkout-summary::-webkit-scrollbar {
  width: 6px;
}
.checkout-summary::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
}
.checkout-summary::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.35);
  border-radius: 3px;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0 -0.5rem 0.25rem;
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  background: rgba(168, 85, 247, 0.04);
  transition: background 0.2s, border-color 0.2s;
}
.checkout-summary-item:hover {
  background: rgba(168, 85, 247, 0.08);
  border-left-color: rgba(168, 85, 247, 0.5);
}
.checkout-summary-name {
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
  min-width: 0;
  line-height: 1.4;
  font-family: Arial, sans-serif;
  font-weight: 600;
}
.checkout-summary-price {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #e9d5ff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}
.checkout-total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.12) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.checkout-total-label {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}
.checkout-total-value {
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #e9d5ff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}
.checkout-modal-footer {
  display: flex;
  gap: 0.85rem;
  padding: 1.35rem 1.5rem;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  background: rgba(0, 0, 0, 0.3);
}
.checkout-modal-cancel {
  flex: 1;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.checkout-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.checkout-modal-confirm {
  flex: 1.2;
  padding: 0.95rem 1.35rem;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 14px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.4);
}
.checkout-modal-confirm:hover {
  background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
  box-shadow: 0 6px 32px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}
.checkout-modal-confirm:active {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .cart-page .game-header-center a.game-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
  }
  .cart-page .cart-page-content {
    padding: 2.5rem 2rem 4rem;
    max-width: 920px;
  }
  .cart-page-section {
    border-radius: 20px;
  }
  .cart-page-header {
    padding: 1.75rem 2rem;
  }
  .cart-page-body {
    padding: 1.5rem 2rem;
    max-height: 55vh;
  }
  .cart-page-body::-webkit-scrollbar {
    width: 8px;
  }
  .cart-page-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  .cart-page-body::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.35);
    border-radius: 4px;
  }
  .cart-page-body::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
  }
  .cart-page-footer {
    padding: 1.75rem 2rem;
  }
  .cart-page-items .empty-cart {
    padding: 2.5rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
  }
}

/* Content: full width; inner containers control max-width (desktop: min(1400px, 92%)) */
.content {
  flex: 1;
  padding: 4rem 2.5rem 1rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: content-fade 0.4s ease-out;
  box-sizing: border-box;
}

@keyframes content-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.content:has(#pc-platform-wallpaper:not([hidden])),
.content:has(#ea-app-platform-wallpaper:not([hidden])),
.content:has(#epic-platform-wallpaper:not([hidden])),
.content:has(#rockstar-platform-wallpaper:not([hidden])),
.content:has(#gog-platform-wallpaper:not([hidden])),
.content:has(#battlenet-platform-wallpaper:not([hidden])),
.content:has(#ubisoft-platform-wallpaper:not([hidden])),
.content:has(#xbox-platform-wallpaper:not([hidden])),
.content:has(#psn-platform-wallpaper:not([hidden])),
.content:has(#nintendo-platform-wallpaper:not([hidden])),
.content:has(#gifts-platform-wallpaper:not([hidden])) {
  max-width: min(1780px, 100%);
  padding: 0.25rem 2.5rem 1.25rem;
}

/* ========== MOBILE HOME — SIMPLE & EASY ========== */
@media (max-width: 768px) {
  /* Giftcard page hard overflow lock (fallback even without :has support) */
  #gifts-platform-wallpaper:not([hidden]),
  #gifts-platform-wallpaper:not([hidden]) .giftcard-page,
  #gifts-platform-wallpaper:not([hidden]) .giftcard-step-section,
  #gifts-platform-wallpaper:not([hidden]) .giftcard-step-section .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  html:has(#gifts-platform-wallpaper:not([hidden])),
  body:has(#gifts-platform-wallpaper:not([hidden])),
  body:has(#gifts-platform-wallpaper:not([hidden])) .content {
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .content,
  .content:has(#gifts-platform-wallpaper:not([hidden])) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: max(0.5rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right)) !important;
  }

  #gifts-platform-wallpaper:not([hidden]) .mob-bottom-nav {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }

  .content {
    padding-top: calc(106px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 1rem !important;
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
    box-sizing: border-box;
  }
  /* Reserve space below footer so it can scroll above fixed bottom nav */
  body {
    padding-bottom: max(70px, env(safe-area-inset-bottom)) !important;
  }
  .content:has(#pc-platform-wallpaper:not([hidden])),
  .content:has(#ea-app-platform-wallpaper:not([hidden])),
  .content:has(#epic-platform-wallpaper:not([hidden])),
  .content:has(#rockstar-platform-wallpaper:not([hidden])),
  .content:has(#gog-platform-wallpaper:not([hidden])),
  .content:has(#battlenet-platform-wallpaper:not([hidden])),
  .content:has(#ubisoft-platform-wallpaper:not([hidden])),
  .content:has(#xbox-platform-wallpaper:not([hidden])),
  .content:has(#psn-platform-wallpaper:not([hidden])),
  .content:has(#nintendo-platform-wallpaper:not([hidden])),
  .content:has(#gifts-platform-wallpaper:not([hidden])) {
    padding: 0.25rem 1rem 2rem;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  main.content {
    overflow-x: hidden;
    max-width: 100%;
  }
  /* BROWSE BY CATEGORY & PLATFORM — mobile: same as PC/Xbox active (cyan #00f0ff) */
  .browse-by-platform-block,
  .pc-platform-section .py-5.position-relative.overflow-hidden:first-of-type {
    --browse-title: #f0fdfa;
    --browse-subtitle: #94a3b8;
    --browse-divider: #00f0ff;
    --browse-divider-mid: #00f0ff;
    --browse-chip-bg: #0f172a;
    --browse-chip-border: #334155;
    --browse-chip-text: #ffffff;
    --browse-chip-tap-bg: #1e293b;
    --browse-chip-active-bg: rgba(0, 240, 255, 0.15);
    --browse-chip-active-border: #00f0ff;
    --browse-chip-active-text: #00f0ff;
    --browse-chip-active-glow: rgba(0, 240, 255, 0.4);
    padding-top: 4rem !important;
    padding-bottom: 2.75rem !important;
  }
  .browse-by-platform-block .container.position-relative,
  .pc-platform-section .container.position-relative {
    padding: 0 1rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .browse-by-platform-block .text-center.mb-5.mt-3,
  .pc-platform-section .text-center.mb-5.mt-3 {
    margin-bottom: 1.4rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  .browse-by-platform-block .container .display-4,
  .pc-platform-section .text-center .display-4 {
    font-size: 1.55rem !important;
    line-height: 1.28;
    letter-spacing: -0.035em;
    font-weight: 800 !important;
    color: var(--browse-title) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    filter: none !important;
  }
  .browse-by-platform-block .text-center p,
  .pc-platform-section .text-center p.text-secondary {
    font-size: 0.72rem !important;
    margin-top: 0.45rem !important;
    margin-bottom: 1.3rem !important;
    letter-spacing: 0.1em;
    color: var(--browse-subtitle) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
  }
  .browse-create-type-link {
    font-size: 0.8rem;
    color: #00f0ff;
    text-decoration: none;
    letter-spacing: 0.05em;
    opacity: 0.9;
  }
  .browse-create-type-link:hover {
    color: #67e8f9;
    text-decoration: underline;
    opacity: 1;
  }
  .browse-by-platform-block .animated-divider,
  .pc-platform-section .animated-divider {
    height: 3px;
    width: 48px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, transparent, var(--browse-divider), var(--browse-divider-mid), var(--browse-divider), transparent);
    border-radius: 2px;
    opacity: 0.95;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  }
  /* Chips: use dynamic vars */
  #home-platform-buttons,
  #pc-platform-buttons,
  #ea-app-platform-buttons,
  #epic-platform-buttons,
  #rockstar-platform-buttons,
  #gog-platform-buttons,
  #battlenet-platform-buttons,
  #ubisoft-platform-buttons,
  #xbox-platform-buttons,
  #psn-platform-buttons,
  #nintendo-platform-buttons,
  #gamepass-platform-buttons,
  #gifts-platform-buttons,
  .pc-platform-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 100%;
  }
  .pc-platform-tab,
  .home-platform-btn {
    min-height: 48px !important;
    padding: 0 0.75rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    border-radius: 14px !important;
    border: 1px solid var(--browse-chip-border) !important;
    background: var(--browse-chip-bg) !important;
    color: var(--browse-chip-text) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255, 255, 255, 0.05) inset !important;
    -webkit-tap-highlight-color: transparent;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 100%;
    transition: background 0.22s ease, border-color 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-sizing: border-box;
  }
  .pc-platform-tab:active,
  .home-platform-btn:active {
    transform: scale(0.97);
    background: var(--browse-chip-tap-bg) !important;
  }
  .pc-platform-tab.active,
  .home-platform-btn.active {
    background: var(--browse-chip-active-bg) !important;
    border-color: var(--browse-chip-active-border) !important;
    color: var(--browse-chip-active-text) !important;
    font-weight: 600 !important;
    box-shadow: 0 0 24px var(--browse-chip-active-glow), 0 0 20px rgba(0, 240, 255, 0.06) inset, 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.8) !important;
  }
  #gamepass-platform-buttons,
  #gifts-platform-buttons {
    justify-content: center !important;
  }
  #xbox-platform-buttons,
  #psn-platform-buttons,
  #nintendo-platform-buttons {
    justify-content: center !important;
  }
  .cyber-banner-frame,
  .browse-banner-frame {
    display: none !important;
  }
  .browse-by-platform-block .cyber-banner-frame,
  .browse-by-platform-block .browse-banner-frame,
  .pc-platform-section .cyber-banner-frame {
    display: none !important;
  }
  .banner-content {
    bottom: 6px;
    left: 6px;
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
  }
  .banner-content h3 {
    font-size: 0.75rem !important;
    margin: 0;
    letter-spacing: 0.02em;
  }
  .banner-content .text-cyan.small {
    font-size: 0.55rem !important;
  }
  .trending-games-section .container,
  .best-selling-section .container,
  .popular-section .container,
  .flash-section .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .trending-games-section,
  .best-selling-section,
  .popular-section,
  .flash-section {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  .trending-games-title,
  .trending-games-section .trending-title-line,
  .section-title {
    font-size: 1.28rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
  }
  .trending-games-title-wrap,
  .popular-title-row,
  .flash-title-row {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.35rem !important;
  }
  .trending-games-title-row {
    padding-left: 1.25rem !important;
  }
  .popular-title-row {
    padding-left: 1.25rem !important;
  }
  .game-image-container {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
  }
  .game-card .card-content {
    padding: 1.15rem 1.2rem;
  }
  .game-title {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
  }
  .game-card .current-price {
    font-size: 1.3rem;
    font-weight: 700;
  }
  .game-card .price-box {
    padding: 0.9rem 1rem;
    margin: 0.8rem 0;
    border-radius: 12px;
  }
  .scroll-btn {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
  }
  .scroll-btn-left {
    left: 6px;
  }
  .scroll-btn-right {
    right: 6px;
  }
  .popular-scroll-wrap,
  .best-selling-section .position-relative.mb-4 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  .flash-deals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .cyber-title {
    font-size: 1.2rem !important;
  }
  .cyber-section .nav-controls {
    gap: 0.5rem;
  }
  .cyber-nav-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 0.75rem;
  }
  /* Cart — full screen on mobile (entire screen) */
  #cart-sidebar.cart-sidebar,
  .cart-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    transform: translateY(100%);
    visibility: hidden;
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    box-shadow: none;
  }
  #cart-sidebar.cart-sidebar[aria-hidden="false"],
  .cart-sidebar[aria-hidden="false"] {
    transform: translateY(0);
    visibility: visible;
  }
  .cart-sidebar .cart-header {
    flex-wrap: wrap;
    padding: 0.75rem 1.25rem 1.1rem;
    border-bottom: 1px solid rgba(180, 190, 210, 0.2);
  }
  .cart-sidebar .cart-header::before {
    content: '';
    display: block;
    width: 100%;
    flex-basis: 100%;
    height: 4px;
    margin: 0 0 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
  }
  .cart-title {
    font-size: 1.15rem;
    font-weight: 700;
  }
  .cart-close {
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
  }
  .cart-footer {
    padding: 1.25rem 1.25rem max(1.6rem, calc(1rem + env(safe-area-inset-bottom)));
  }
  .cart-total-row {
    font-size: 1rem;
  }
  .cart-checkout-btn {
    min-height: 56px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
  }
  /* Modals — simple sheet */
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content,
  .support-modal-content {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 1.75rem 1.25rem max(1.75rem, env(safe-area-inset-bottom));
    margin: 0;
  }
  .modal-content h2 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }
  .modal-content input {
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }
  .modal-content button[type="submit"] {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    margin-top: 0.75rem;
    border-radius: 12px;
  }
  .modal-close {
    width: 48px;
    height: 48px;
    top: 0.75rem;
    right: 0.75rem;
  }
  .products h2 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 0;
  }
  .pc-product-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .pc-product-grid .product-card {
    min-height: 180px;
  }
  .game-card {
    border-radius: 14px;
    overflow: hidden;
  }
  .flash-deals-grid {
    gap: 0.75rem;
  }
  .row.g-4 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .row.g-4 > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  button.btn-gaming-outline,
  .btn-gaming-outline {
    min-height: 52px;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .content {
    padding-top: calc(106px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 1rem !important;
    padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
  }
  .content:has(#pc-platform-wallpaper:not([hidden])),
  .content:has(#gifts-platform-wallpaper:not([hidden])) {
    padding-top: calc(106px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 1rem !important;
    padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
  }
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .browse-by-platform-block .container .display-4,
  .pc-platform-section .text-center .display-4 {
    font-size: 1.4rem !important;
  }
  .cyber-banner-frame,
  .browse-banner-frame {
    height: 160px;
  }
  .banner-content {
    padding: 12px 14px;
    bottom: 12px;
    left: 12px;
  }
  .banner-content h3 {
    font-size: 0.95rem !important;
  }
  .trending-grid {
    gap: 1.25rem;
  }
  .game-image-container {
    height: 190px;
  }
  .game-card .card-content {
    padding: 1rem 1.1rem;
  }
  .flash-deals-grid {
    grid-template-columns: 1fr;
  }
  .scroll-item {
    flex: 0 0 88% !important;
  }
  .pc-wallpaper-badge {
    font-size: 1.4rem;
    padding: 0.5rem 1.25rem;
  }
  .pc-wallpaper-title {
    font-size: 1.5rem;
  }
  .pc-wallpaper-cta-wrap {
    flex-direction: column;
    gap: 1rem;
  }
  .pc-wallpaper-cta {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
  }
}

/* Very small screens (e.g. 320px) — fit content */
@media (max-width: 360px) {
  .content {
    padding-left: max(0.5rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right)) !important;
  }
  .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .mob-bar {
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
  }
  .mob-bar-logo {
    font-size: 1.2rem;
  }
  .mob-bar-cats {
    padding-left: max(0.4rem, env(safe-area-inset-left));
    padding-right: max(0.4rem, env(safe-area-inset-right));
    gap: 0.25rem;
  }
  .mob-bar-cat {
    font-size: 0.7rem;
    padding: 0 0.25rem;
  }
  .mob-bar-cat i {
    font-size: 0.95rem;
  }
  .browse-by-platform-block .container .display-4,
  .pc-platform-section .text-center .display-4 {
    font-size: 1.25rem !important;
  }
  .trending-games-title,
  .section-title {
    font-size: 1.15rem !important;
  }
  .game-title {
    font-size: 0.98rem;
  }
  .game-card .current-price {
    font-size: 1.2rem;
  }
  .cart-sidebar {
    max-width: 100%;
  }
}

@supports (padding: max(0px, env(safe-area-inset-left))) {
  .game-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .game-header-main {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
  .cart-sidebar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .cart-footer {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* PC/Steam and other platform sections: ensure content is visible when section is shown */
#pc-platform-wallpaper:not([hidden]) .trending-games-section,
#pc-platform-wallpaper:not([hidden]) .best-selling-section,
#pc-platform-wallpaper:not([hidden]) .popular-section,
#pc-platform-wallpaper:not([hidden]) .flash-section,
#pc-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#ea-app-platform-wallpaper:not([hidden]) .trending-games-section,
#ea-app-platform-wallpaper:not([hidden]) .best-selling-section,
#ea-app-platform-wallpaper:not([hidden]) .popular-section,
#ea-app-platform-wallpaper:not([hidden]) .flash-section,
#ea-app-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#epic-platform-wallpaper:not([hidden]) .trending-games-section,
#epic-platform-wallpaper:not([hidden]) .best-selling-section,
#epic-platform-wallpaper:not([hidden]) .popular-section,
#epic-platform-wallpaper:not([hidden]) .flash-section,
#epic-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#rockstar-platform-wallpaper:not([hidden]) .trending-games-section,
#rockstar-platform-wallpaper:not([hidden]) .best-selling-section,
#rockstar-platform-wallpaper:not([hidden]) .popular-section,
#rockstar-platform-wallpaper:not([hidden]) .flash-section,
#rockstar-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#gog-platform-wallpaper:not([hidden]) .trending-games-section,
#gog-platform-wallpaper:not([hidden]) .best-selling-section,
#gog-platform-wallpaper:not([hidden]) .popular-section,
#gog-platform-wallpaper:not([hidden]) .flash-section,
#gog-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#battlenet-platform-wallpaper:not([hidden]) .trending-games-section,
#battlenet-platform-wallpaper:not([hidden]) .best-selling-section,
#battlenet-platform-wallpaper:not([hidden]) .popular-section,
#battlenet-platform-wallpaper:not([hidden]) .flash-section,
#battlenet-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#ubisoft-platform-wallpaper:not([hidden]) .trending-games-section,
#ubisoft-platform-wallpaper:not([hidden]) .best-selling-section,
#ubisoft-platform-wallpaper:not([hidden]) .popular-section,
#ubisoft-platform-wallpaper:not([hidden]) .flash-section,
#ubisoft-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#xbox-platform-wallpaper:not([hidden]) .trending-games-section,
#xbox-platform-wallpaper:not([hidden]) .best-selling-section,
#xbox-platform-wallpaper:not([hidden]) .popular-section,
#xbox-platform-wallpaper:not([hidden]) .flash-section,
#xbox-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#psn-platform-wallpaper:not([hidden]) .trending-games-section,
#psn-platform-wallpaper:not([hidden]) .best-selling-section,
#psn-platform-wallpaper:not([hidden]) .popular-section,
#psn-platform-wallpaper:not([hidden]) .flash-section,
#psn-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#nintendo-platform-wallpaper:not([hidden]) .trending-games-section,
#nintendo-platform-wallpaper:not([hidden]) .best-selling-section,
#nintendo-platform-wallpaper:not([hidden]) .popular-section,
#nintendo-platform-wallpaper:not([hidden]) .flash-section,
#nintendo-platform-wallpaper:not([hidden]) .cyber-banner-frame,
#gifts-platform-wallpaper:not([hidden]) .cyber-banner-frame {
  display: block !important;
}

/* ========== Giftcard page — premium design ========== */
.giftcard-page {
  padding: 0;
  margin-top: 0;
  padding-top: 0;
  --giftcard-accent: #14b8a6;
  --giftcard-accent-dim: rgba(20, 184, 166, 0.15);
  --giftcard-accent-border: rgba(20, 184, 166, 0.4);
}

/* —— Hero —— */
.giftcard-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.5rem 1.5rem 3rem;
}
.giftcard-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a0a0f;
  z-index: 0;
}
.giftcard-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.75) 0%, rgba(10, 10, 15, 0.92) 100%);
  z-index: 1;
}
.giftcard-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.giftcard-hero-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 2;
  opacity: 0.03;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  animation: giftcard-shine 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes giftcard-shine {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(2%, 2%) rotate(1deg); }
}
.giftcard-hero-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.giftcard-hero-dots span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: giftcard-dot-float 12s ease-in-out infinite;
}
.giftcard-hero-dots span:nth-child(1) { left: 12%; top: 25%; animation-delay: 0s; }
.giftcard-hero-dots span:nth-child(2) { left: 28%; top: 60%; animation-delay: -2s; }
.giftcard-hero-dots span:nth-child(3) { left: 55%; top: 18%; animation-delay: -4s; }
.giftcard-hero-dots span:nth-child(4) { left: 72%; top: 55%; animation-delay: -6s; }
.giftcard-hero-dots span:nth-child(5) { left: 88%; top: 30%; animation-delay: -8s; }
.giftcard-hero-dots span:nth-child(6) { left: 45%; top: 75%; animation-delay: -10s; }
@keyframes giftcard-dot-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.08; }
  50% { transform: translate(8px, -12px); opacity: 0.18; }
}
.giftcard-hero-container {
  position: relative;
  z-index: 3;
  text-align: center;
}
.giftcard-hero-content {
  max-width: 600px;
  margin: 0 auto;
}
.giftcard-hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 15, 0.95);
  background: linear-gradient(135deg, #e8c547 0%, #d4af37 100%);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
}
.giftcard-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25) 0%, rgba(168, 85, 247, 0.2) 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
  color: #e8c547;
  font-size: 2.25rem;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: giftcard-icon-pulse 3s ease-in-out infinite;
}
@keyframes giftcard-icon-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
  50% { box-shadow: 0 0 56px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
}
.giftcard-hero-title {
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.giftcard-hero-title-inner {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #fff 0%, #e8c547 35%, #fff 50%, #c4b5fd 75%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  animation: giftcard-title-shimmer 6s linear infinite;
}
@keyframes giftcard-title-shimmer {
  to { background-position: 200% center; }
}
.giftcard-hero-tagline {
  font-size: clamp(0.95rem, 1.9vw, 1.1rem);
  color: rgba(226, 232, 240, 0.9);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.giftcard-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.75rem auto 0;
}
.giftcard-hero-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c547, #a855f7);
}
.giftcard-hero-divider-line {
  width: 64px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #e8c547, #a855f7);
  opacity: 0.9;
}
.giftcard-hero-features {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}
.giftcard-hero-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}
.giftcard-hero-features li i {
  color: #e8c547;
  font-size: 0.85rem;
}
.giftcard-hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 2;
  color: #0a0a0f;
  pointer-events: none;
}
.giftcard-hero-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* —— Tabs —— */
.giftcard-tabs-wrap {
  background: linear-gradient(180deg, rgba(12, 11, 18, 0.95) 0%, rgba(10, 10, 15, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.giftcard-tabs-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.5);
  margin: 0;
  padding-top: 0.6rem;
}
.giftcard-tabs-wrap .d-flex.flex-wrap {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.giftcard-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.giftcard-tab i {
  font-size: 0.85em;
  opacity: 0.9;
}
.giftcard-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}
.giftcard-tab.active {
  color: #0a0a0f;
  background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #c9a227 100%);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.giftcard-tab.active:hover {
  color: #0a0a0f;
  background: linear-gradient(135deg, #eed05c 0%, #d4af37 50%, #d4af37 100%);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
}

/* —— Products section —— */
.giftcard-products-section {
  padding: 2rem 0 4rem;
  position: relative;
  background: transparent;
}
@media (max-width: 767px) {
  .giftcard-products-section {
    padding: 1.5rem 0 2.5rem;
  }
  .giftcard-section-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .giftcard-section-title {
    font-size: 1.2rem;
  }
  .giftcard-section-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}
.giftcard-products-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}
.giftcard-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.giftcard-section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.giftcard-section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), rgba(168, 85, 247, 0.2), transparent);
  border-radius: 1px;
}
.giftcard-section-desc {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.7);
  margin: 0 0 2.25rem;
  max-width: 480px;
  line-height: 1.5;
}
.giftcard-grid-shell .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}
/* Giftcard page: product cards get a subtle gold border on hover */
.giftcard-page .gaming-card:hover .card-img-wrapper,
.giftcard-page .gaming-card:focus-within .card-img-wrapper {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
}
@media (max-width: 1024px) {
  .giftcard-grid-shell .row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .giftcard-grid-shell .row {
    grid-template-columns: 1fr;
  }
  .giftcard-hero-features {
    gap: 1rem 1.5rem;
  }
}

/* ========== Giftcard responsive ========== */
@media (max-width: 767px) {
  .giftcard-hero {
    min-height: 32vh;
    padding: 0.5rem 1rem 2rem;
  }
  .giftcard-hero-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .giftcard-hero-title-inner {
    letter-spacing: 0.08em;
  }
  .giftcard-hero-tagline {
    font-size: 0.9rem;
  }
  .giftcard-hero-divider-line {
    width: 40px;
  }
  .giftcard-hero-features {
    gap: 0.75rem 1.25rem;
  }
  .giftcard-hero-features li {
    font-size: 0.85rem;
  }
  .giftcard-hero-curve {
    height: 48px;
  }
  .giftcard-step-section {
    padding: 1.5rem 0 2.5rem;
  }
  .giftcard-step-title {
    font-size: 1.2rem;
  }
  .giftcard-step-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .giftcard-platform-grid,
  .giftcard-region-grid,
  .giftcard-step-grid,
  .giftcard-amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .giftcard-platform-card {
    min-height: 180px;
  }
  .giftcard-platform-card-icon img,
  .giftcard-region-card-icon img {
    min-height: 80px;
  }
  .giftcard-region-card {
    min-height: 180px;
  }
  .giftcard-region-card-brand,
  .giftcard-platform-card-name {
    font-size: 0.85rem;
    padding: 0.5rem 0.5rem;
  }
  .giftcard-region-card-region {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  .giftcard-amount-card {
    min-height: 160px;
  }
  .giftcard-amount-card-icon img {
    min-height: 70px;
  }
  .giftcard-amount-card-footer {
    padding: 0.4rem 0.5rem;
  }
  .giftcard-amount-label {
    font-size: 0.85rem;
  }
  .giftcard-amount-price {
    font-size: 0.95rem;
  }
  .giftcard-summary-section {
    padding: 1.5rem 0 2.5rem;
  }
  .giftcard-summary-card {
    padding: 1.5rem 1.25rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .giftcard-summary-title {
    font-size: 1.2rem;
  }
  .giftcard-summary-body {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .giftcard-summary-row {
    padding: 0.6rem 0;
  }
  .giftcard-summary-label,
  .giftcard-summary-value {
    font-size: 0.9rem;
  }
  .giftcard-summary-price-row .giftcard-summary-value {
    font-size: 1.2rem;
  }
  .giftcard-buy-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  .giftcard-back-btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
  }
  .giftcard-tabs-wrap .d-flex.flex-wrap {
    padding: 0.5rem 0.75rem !important;
    gap: 0.5rem;
  }
  .giftcard-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  /* Giftcard page overflow guard on phones */
  #gifts-platform-wallpaper,
  #gifts-platform-wallpaper .giftcard-step-section,
  #gifts-platform-wallpaper .giftcard-step-section .container,
  #gifts-platform-wallpaper .giftcard-platform-grid,
  #gifts-platform-wallpaper .giftcard-region-grid,
  #gifts-platform-wallpaper .giftcard-amount-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  #gifts-platform-wallpaper {
    overflow-x: hidden;
  }
  .mob-bottom-nav {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: clip;
  }

  .giftcard-hero {
    min-height: 28vh;
    padding: 0.5rem 0.75rem 1.5rem;
  }
  .giftcard-hero-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .giftcard-hero-badge {
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }
  .giftcard-hero-title-inner {
    letter-spacing: 0.05em;
  }
  .giftcard-hero-tagline {
    font-size: 0.85rem;
  }
  .giftcard-hero-features {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .giftcard-platform-grid,
  .giftcard-region-grid,
  .giftcard-step-grid,
  .giftcard-amount-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  /* Platform step on mobile: larger 2-up cards for readability/tap */
  .giftcard-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }
  .giftcard-platform-grid > .giftcard-platform-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: min(100%, 240px);
    justify-self: center;
  }
  /* Region step on mobile: keep 2 cards per row without overflow */
  .giftcard-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }
  /* Amount step on mobile: 2 cards per row like region step */
  .giftcard-amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }
  .giftcard-platform-card,
  .giftcard-region-card {
    min-height: 200px;
  }
  .giftcard-platform-card {
    min-height: 220px;
  }
  .giftcard-platform-card-icon img,
  .giftcard-region-card-icon img {
    min-height: 100px;
  }
  .giftcard-platform-card-icon img {
    min-height: 132px;
  }
  .giftcard-platform-card-name {
    font-size: 0.92rem;
    padding: 0.55rem 0.6rem;
  }
  .giftcard-amount-card {
    min-height: 180px;
  }
  .giftcard-amount-card-icon img {
    min-height: 90px;
  }
  .giftcard-summary-card {
    padding: 1.25rem 1rem;
  }
  .giftcard-step-section .container {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
}
.giftcard-btn-more {
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a0f;
  background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #c9a227 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.giftcard-btn-more:hover {
  color: #0a0a0f;
  background: linear-gradient(135deg, #eed05c 0%, #d4af37 50%, #d4af37 100%);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}
.giftcard-page .trending-grid-shell {
  background: transparent;
}

/* Giftcard region grid — "Show all Steam Gift Card types" */
.giftcard-region-section {
  padding: 2rem 0 3rem;
  position: relative;
  z-index: 2;
}
.giftcard-region-section .giftcard-section-header {
  margin-bottom: 0.5rem;
}
.giftcard-region-section .giftcard-section-desc {
  margin-bottom: 1.5rem;
}
.giftcard-region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  width: 100%;
}
@media (min-width: 768px) {
  .giftcard-region-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.giftcard-region-card {
  display: grid;
  grid-template-rows: 3fr 1fr;
  min-height: 220px;
  padding: 0;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
  overflow: hidden;
}
.giftcard-region-card:hover {
  border-color: var(--giftcard-accent-border);
  box-shadow: 0 8px 32px var(--giftcard-accent-dim);
  transform: translateY(-3px);
}
.giftcard-region-card-icon {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: block;
  background: rgba(0, 0, 0, 0.25);
}
.giftcard-region-card-icon img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.giftcard-region-card-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.giftcard-region-card-region {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}
.giftcard-region-card-store {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.65);
}
.giftcard-back-header {
  margin-bottom: 1rem;
}
.giftcard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.giftcard-back-btn:hover {
  color: #fff;
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Giftcard step flow (MTCGame-style) */
.giftcard-step-section {
  padding: 2.5rem 0 4rem;
  position: relative;
  z-index: 2;
}
.giftcard-step-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.5rem;
}
.giftcard-step-desc {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.7);
  margin: 0 0 2rem;
  max-width: 520px;
  line-height: 1.5;
}
.giftcard-step-back {
  margin-bottom: 1.5rem;
}

/* Step 1: Platform cards — big cards with logo */
.giftcard-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  width: 100%;
}
@media (min-width: 768px) {
  .giftcard-platform-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.giftcard-platform-card {
  display: grid;
  grid-template-rows: 3fr 1fr;
  min-height: 240px;
  padding: 0;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
  text-align: center;
  overflow: hidden;
}
.giftcard-platform-card:hover {
  border-color: var(--giftcard-accent-border);
  box-shadow: 0 8px 32px var(--giftcard-accent-dim);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-4px);
}
.giftcard-platform-card-icon {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: block;
  background: rgba(0, 0, 0, 0.25);
}
.giftcard-platform-card-icon img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.giftcard-platform-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.75rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}
.giftcard-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(226, 232, 240, 0.6);
  font-size: 1rem;
  padding: 2rem;
}

/* Step 2: Region grid (reuse .giftcard-region-grid, .giftcard-region-card) */
.giftcard-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .giftcard-step-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Step 3: Amount cards */
.giftcard-amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  width: 100%;
}
@media (min-width: 768px) {
  .giftcard-amount-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.giftcard-amount-card {
  display: grid;
  grid-template-rows: 3fr 1fr;
  min-height: 200px;
  padding: 0;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
  overflow: hidden;
}
.giftcard-amount-card:hover {
  border-color: var(--giftcard-accent-border);
  box-shadow: 0 8px 32px var(--giftcard-accent-dim);
  transform: translateY(-3px);
}
.giftcard-amount-card-icon {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: block;
  background: rgba(0, 0, 0, 0.25);
}
.giftcard-amount-card-icon img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.giftcard-amount-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}
.giftcard-amount-label {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.giftcard-amount-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--giftcard-accent);
}

/* Step 4: Summary card */
.giftcard-summary-section {
  padding: 2rem 0 4rem;
}
.giftcard-summary-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(22, 22, 28, 0.98) 0%, rgba(12, 12, 18, 0.99) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.1);
}
.giftcard-summary-header {
  margin-bottom: 1.5rem;
}
.giftcard-summary-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.giftcard-summary-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.giftcard-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.giftcard-summary-row:last-child {
  border-bottom: none;
}
.giftcard-summary-label {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.65);
}
.giftcard-summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.giftcard-summary-price-row .giftcard-summary-value {
  font-size: 1.35rem;
  color: #e8c547;
}
.giftcard-summary-actions {
  text-align: center;
}
.giftcard-buy-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a0a0f;
  background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #c9a227 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.giftcard-buy-btn:hover {
  background: linear-gradient(135deg, #eed05c 0%, #d4af37 50%, #d4af37 100%);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Giftcard mobile fit: prevent zoomed cards/overflow on 360-430 widths */
@media (max-width: 430px) {
  /* Giftcard page overflow guard (mobile): keep all step content within viewport */
  #gifts-platform-wallpaper,
  #gifts-platform-wallpaper .giftcard-step-section,
  #gifts-platform-wallpaper .giftcard-step-section .container,
  #gifts-platform-wallpaper .giftcard-platform-grid,
  #gifts-platform-wallpaper .giftcard-region-grid,
  #gifts-platform-wallpaper .giftcard-amount-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  #gifts-platform-wallpaper {
    overflow-x: hidden;
  }
  .mob-bottom-nav {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: clip;
  }

  /* Fallback for mobile browsers with limited :has() support */
  .giftcard-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.66rem;
  }
  .giftcard-platform-grid > .giftcard-platform-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: min(100%, 230px);
    justify-self: center;
  }
  .giftcard-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) {
    overflow-x: hidden;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .content {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-page,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-page * {
    box-sizing: border-box;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero {
    min-height: 22vh;
    padding: 0.35rem 0.65rem 1rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.15rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-title-inner {
    font-size: clamp(1.7rem, 8.3vw, 2.15rem);
    letter-spacing: 0.04em;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-tagline {
    font-size: 0.75rem;
    line-height: 1.35;
    max-width: 30ch;
    margin-inline: auto;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-features {
    margin-top: 0.7rem;
    gap: 0.3rem 0.75rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-features li {
    font-size: 0.69rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-hero-curve {
    height: 24px;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-step-section {
    padding: 0.9rem 0 1.45rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-step-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-step-title {
    font-size: 1.06rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-step-desc {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-grid,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-region-grid,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-step-grid,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-amount-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  /* Platform step: show 2 larger cards per row on small phones */
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.66rem;
  }
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-grid > .giftcard-platform-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: min(100%, 230px);
    justify-self: center;
  }

  /* Region step: show 2 cards per row on phones */
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-card,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-region-card,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-amount-card {
    min-height: 130px;
    border-radius: 10px;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-card {
    min-height: 198px;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-card-icon img,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-region-card-icon img,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-amount-card-icon img {
    min-height: 78px;
  }
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-card-icon img {
    min-height: 124px;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-card-name,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-region-card-brand,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-region-card-region,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-amount-label {
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 0.44rem 0.52rem;
  }
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-platform-card-name {
    font-size: 0.9rem;
    padding: 0.56rem 0.58rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-amount-price {
    font-size: 0.86rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-summary-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem 0.8rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-back-btn,
  body:has(#gifts-platform-wallpaper:not([hidden])) .giftcard-buy-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .mob-bottom-nav {
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
    gap: 0.45rem;
  }

  body:has(#gifts-platform-wallpaper:not([hidden])) .mob-bottom-nav-item {
    min-width: 0;
    flex: 1 1 0;
    padding: 0.45rem 0.25rem;
  }
}

/* Mobile: hide ALL "EXPLORE THE COLLECTION" banners everywhere (PC, Xbox, PSN, Nintendo, every view) */
@media (max-width: 768px) {
  .cyber-banner-frame,
  .browse-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

#pc-platform-wallpaper:not([hidden]) .cyber-section,
#ea-app-platform-wallpaper:not([hidden]) .cyber-section,
#epic-platform-wallpaper:not([hidden]) .cyber-section,
#rockstar-platform-wallpaper:not([hidden]) .cyber-section,
#gog-platform-wallpaper:not([hidden]) .cyber-section,
#battlenet-platform-wallpaper:not([hidden]) .cyber-section,
#ubisoft-platform-wallpaper:not([hidden]) .cyber-section,
#xbox-platform-wallpaper:not([hidden]) .cyber-section,
#psn-platform-wallpaper:not([hidden]) .cyber-section,
#nintendo-platform-wallpaper:not([hidden]) .cyber-section {
  display: block !important;
}

/* TRENDING GAMES: EA App, Epic, Rockstar, GOG, Battle.net, Ubisoft — match Steam layout exactly */
/* Same card size, horizontal image, layout, spacing, gradient Buy button, dark background. Steam unchanged. */
#ea-app-platform-wallpaper .trending-games-section .tech-grid-bg,
#ea-app-platform-wallpaper .trending-games-section .glow-spot-center,
#epic-platform-wallpaper .trending-games-section .tech-grid-bg,
#epic-platform-wallpaper .trending-games-section .glow-spot-center,
#rockstar-platform-wallpaper .trending-games-section .tech-grid-bg,
#rockstar-platform-wallpaper .trending-games-section .glow-spot-center,
#gog-platform-wallpaper .trending-games-section .tech-grid-bg,
#gog-platform-wallpaper .trending-games-section .glow-spot-center,
#battlenet-platform-wallpaper .trending-games-section .tech-grid-bg,
#battlenet-platform-wallpaper .trending-games-section .glow-spot-center,
#ubisoft-platform-wallpaper .trending-games-section .tech-grid-bg,
#ubisoft-platform-wallpaper .trending-games-section .glow-spot-center {
  display: none !important;
}
#ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row,
#ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
#ea-app-platform-wallpaper .trending-games-section [id$="-product-grid"],
#epic-platform-wallpaper .trending-games-section .trending-grid-shell .row,
#epic-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
#epic-platform-wallpaper .trending-games-section [id$="-product-grid"],
#rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row,
#rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
#rockstar-platform-wallpaper .trending-games-section [id$="-product-grid"],
#gog-platform-wallpaper .trending-games-section .trending-grid-shell .row,
#gog-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
#gog-platform-wallpaper .trending-games-section [id$="-product-grid"],
#battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row,
#battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
#battlenet-platform-wallpaper .trending-games-section [id$="-product-grid"],
#ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row,
#ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
#ubisoft-platform-wallpaper .trending-games-section [id$="-product-grid"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem;
  width: 100%;
}
@media (max-width: 1024px) {
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ea-app-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #epic-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #rockstar-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #gog-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #battlenet-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ubisoft-platform-wallpaper .trending-games-section [id$="-product-grid"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }
}
/* 768px and below: match Steam — 2-col grid with compact gap (same as .pc-platform-section) */
@media (max-width: 768px) {
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ea-app-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #epic-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #rockstar-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #gog-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #battlenet-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ubisoft-platform-wallpaper .trending-games-section [id$="-product-grid"] {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ea-app-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #epic-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #rockstar-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #battlenet-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ubisoft-platform-wallpaper .trending-games-section [id$="-product-grid"] {
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ea-app-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #epic-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #rockstar-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #gog-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #battlenet-platform-wallpaper .trending-games-section [id$="-product-grid"],
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .row.g-4,
  #ubisoft-platform-wallpaper .trending-games-section [id$="-product-grid"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.hero p {
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.products h2 {
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  color: var(--text);
  text-shadow: 0 0 24px var(--led-glow-soft);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
}

.products h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.6), rgba(168, 85, 247, 0.1) 70%, transparent);
  border-radius: 1px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
  padding: 0.25rem 0;
  max-width: min(1400px, 92%);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 100%;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 480px) {
  .product-grid {
    gap: 1rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* atgxstore-style: TRENDING & Best Selling */
.text-purple { color: #a855f7; text-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }

.glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Game card (TRENDING) - atgxstore */
.game-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: #a855f7;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

/* TRENDING grid specific style */
.game-card-trending {
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 235, 0.28), transparent 60%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 18px 40px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(129, 140, 248, 0.45);
  overflow: hidden;
}

.game-card-trending:hover {
  transform: translateY(-10px);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.6),
    0 26px 55px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(56, 189, 248, 0.5);
}

.game-card-trending .game-image-container {
  height: 230px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.game-card-trending .game-image-container::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.96), transparent);
  pointer-events: none;
}

.game-card-trending .card-content {
  padding: 1.4rem 1.3rem 1.3rem;
}

.game-card-trending .price-box {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 70%),
    rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.7);
}

.game-card-trending .current-price {
  font-size: 1.1rem;
}

.game-card-trending .currency {
  font-size: 0.75rem;
  opacity: 0.75;
}

.game-card-trending .discount-badge {
  border-radius: 999px;
  padding-inline: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.game-card-trending .btn-gaming-primary {
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ========== UNIQUE TRENDING GAMES CARD — NEW SHAPE + DESIGN ========== */
.trending-product-card {
  --trend-cut: 32px;
  --trend-accent: 10px;
  position: relative;
  background: var(--unique-surface-elevated);
  overflow: visible;
  border: none;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), filter 0.35s ease;
  display: flex;
  flex-direction: column;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--trend-cut)),
    calc(100% - var(--trend-cut)) 100%,
    0 100%
  );
  border-radius: 20px 20px 0 0;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.45));
}

.trending-product-card:hover {
  transform: translateY(-10px) scale(1.02);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px var(--unique-cyan-glow));
}

/* Folded corner effect (dark triangle at cut) */
.trending-card-fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 var(--trend-cut) var(--trend-cut);
  border-color: transparent transparent rgba(0, 0, 0, 0.35) transparent;
  z-index: 3;
  pointer-events: none;
}

.trending-product-card:hover .trending-card-fold {
  border-bottom-color: rgba(34, 211, 238, 0.25);
}

/* Thick left accent stripe */
.trending-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--trend-accent);
  background: linear-gradient(180deg, var(--unique-amber) 0%, var(--unique-primary) 35%, var(--unique-cyan) 100%);
  z-index: 2;
  border-radius: 12px 0 0 0;
  box-shadow: 2px 0 16px rgba(99, 102, 241, 0.35);
  opacity: 0.95;
}

.trending-product-card:hover .trending-card-accent {
  box-shadow: 2px 0 24px var(--unique-cyan-glow), 0 0 20px var(--unique-primary-glow);
  opacity: 1;
}

.trending-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  padding-left: var(--trend-accent);
}

.trending-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  overflow: hidden;
  background: var(--unique-bg);
  border-radius: 0 16px 0 0;
}

.trending-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.trending-product-card:hover .trending-card-img {
  transform: scale(1.12) rotate(1deg);
}

/* Diagonal gradient overlay */
.trending-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(3, 7, 18, 0.5) 70%, rgba(3, 7, 18, 0.92) 100%);
  pointer-events: none;
}

.trending-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(135deg, var(--unique-amber), #f59e0b);
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(251, 191, 36, 0.5);
  z-index: 1;
}

.trending-card-platform {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.trending-card-platform i {
  margin-right: 0.4rem;
  opacity: 0.95;
}

.trending-card-discount {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(239, 68, 68, 0.5);
  z-index: 1;
}

.trending-card-body {
  padding: 1.2rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(180deg, var(--unique-surface-elevated) 0%, var(--unique-surface) 100%);
  border-top: 1px solid var(--unique-border);
}

.trending-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
  letter-spacing: -0.02em;
}

.trending-product-card:hover .trending-card-title {
  color: var(--unique-cyan);
}

.trending-card-delivery {
  font-size: 0.78rem;
  color: var(--unique-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trending-card-delivery .dot-online {
  flex-shrink: 0;
}

/* Price stamp (slightly rotated badge) */
.trending-card-price-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(34, 211, 238, 0.12) 100%);
  border: 2px solid var(--unique-border-bright);
  border-radius: 12px;
  width: fit-content;
  transform: rotate(-1.2deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trending-product-card:hover .trending-card-price-wrap {
  transform: rotate(0deg) scale(1.03);
  border-color: var(--unique-cyan);
  box-shadow: 0 0 20px var(--unique-cyan-glow);
}

.trending-card-price {
  font-family: var(--price-font);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.trending-card-currency {
  font-size: 0.75rem;
  color: var(--unique-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.trending-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Primary CTA — angular / pill with chevron */
.trending-card-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--unique-primary) 0%, #4338ca 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 4px 20px var(--unique-primary-glow);
}

.trending-card-btn-primary:hover {
  background: linear-gradient(135deg, var(--unique-cyan) 0%, #0891b2 100%);
  box-shadow: 0 0 28px var(--unique-cyan-glow);
  transform: translateY(-2px);
}

.trending-card-btn-primary i {
  font-size: 0.7rem;
  opacity: 0.95;
  transition: transform 0.25s ease;
}

.trending-card-btn-primary:hover i {
  transform: translateX(4px);
}

/* Fav — hexagon-style or rounded square */
.trending-card-btn-fav {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  background: var(--unique-surface);
  border: 2px solid var(--unique-border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.trending-card-btn-fav:hover {
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.6);
  background: rgba(244, 114, 182, 0.12);
  transform: scale(1.08);
}

.trending-card-btn-fav.active {
  color: #f472b6;
  border-color: #f472b6;
  background: rgba(244, 114, 182, 0.25);
}

.trending-card-btn-fav.active i::before {
  content: '\f004';
  font-weight: 900;
}

@media (max-width: 575.98px) {
  .trending-product-card {
    --trend-cut: 24px;
    --trend-accent: 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  }
  .trending-card-body {
    padding: 1rem 1.2rem 1.25rem;
  }
  .trending-card-title {
    font-size: 1.08rem;
  }
  .trending-card-price {
    font-size: 1.25rem;
  }
  .trending-card-btn-primary {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  }
}

/* ===== TRENDING GAMES — TG CARD (base) ===== */
.tg-card {
  --tg-radius: 14px;
  --tg-bg: #0c0f1a;
  --tg-border: rgba(255, 255, 255, 0.06);
  background: linear-gradient(145deg, #0c0f1a, #090c14);
  border-radius: var(--tg-radius);
  overflow: hidden;
  border: 1px solid var(--tg-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tg-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tg-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  min-height: 160px;
  overflow: hidden;
  background: #0a0a0f;
}

.tg-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tg-card__platform { position: absolute; top: 10px; left: 10px; z-index: 2; }
.tg-card__discount { position: absolute; top: 10px; right: 48px; z-index: 2; }
.tg-card__fav { position: absolute; top: 10px; right: 10px; z-index: 10; }
.tg-card__content { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tg-card__title { font-size: 18px; font-weight: 600; color: #fff; margin: 0; line-height: 1.3; }
.tg-card__meta-row { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.tg-card__instant-label { color: rgba(255,255,255,0.7); }
.tg-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.tg-card__price-box { display: flex; align-items: baseline; gap: 4px; }
.tg-card__price-main { font-size: 22px; font-weight: 700; color: #fff; }
.tg-card__price-cur { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); }
.tg-card__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #6b5cff, #a855f7); border: none; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; }
.tg-card__cta-icon::after { content: ''; display: inline-block; width: 0.4em; height: 0.4em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; }

/* ===== EPIC GAMING CARD — TRENDING GAMES (unique, glowing, bigger image) ===== */
.epic-game-card {
  --epic-glow: rgba(0, 212, 255, 0.35);
  --epic-glow-purple: rgba(168, 85, 247, 0.4);
  --epic-glow-green: rgba(168, 85, 247, 0.3);
  --epic-border: rgba(0, 212, 255, 0.2);
  position: relative;
  background: linear-gradient(165deg, #060810 0%, #0a0e1a 45%, #080c14 100%);
  border: 1px solid var(--epic-border);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 20px 50px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -20px var(--epic-glow);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.epic-game-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.15),
    0 30px 70px -20px rgba(0, 0, 0, 0.6),
    0 0 80px -15px var(--epic-glow),
    0 0 120px -30px var(--epic-glow-purple);
}

.epic-card__glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--epic-glow) 0%, transparent 55%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease;
}

.epic-game-card:hover .epic-card__glow {
  opacity: 0.85;
}

.epic-game-card .tg-card__link {
  position: relative;
  z-index: 1;
}

/* Bigger image area */
.epic-card__thumb {
  aspect-ratio: 4/3;
  min-height: 220px;
  background-color: transparent;
}

.epic-game-card .tg-card__img {
  transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.epic-game-card:hover .tg-card__img {
  transform: scale(1.08);
}

.epic-card__thumb-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Platform badge — glowing */
.epic-card__platform {
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Discount — neon red */
.epic-card__discount {
  top: 12px;
  right: 48px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, #ff3366, #cc0044);
  border-radius: 6px;
  box-shadow: 0 0 25px rgba(255, 51, 102, 0.5);
}

/* Fav — glow on hover/active */
.epic-card__fav {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.epic-card__fav:hover {
  color: #ff6b9d;
  border-color: rgba(255, 107, 157, 0.5);
  box-shadow: 0 0 25px rgba(255, 107, 157, 0.4);
  transform: scale(1.1);
}

.epic-card__fav.active {
  color: #ff6b9d;
  border-color: #ff6b9d;
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.epic-card__fav.active i::before {
  content: '\f004';
  font-weight: 900;
}

/* Content area */
.epic-card__content {
  padding: 20px 20px 22px;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.6) 0%, rgba(4, 7, 14, 0.95) 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

/* Product name — bold, gradient, glow */
.epic-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.epic-game-card:hover .epic-card__title {
  color: #e0f7ff;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

/* Instant delivery row */
.epic-card__meta {
  gap: 8px;
  margin-bottom: 4px;
}

.epic-card__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  flex-shrink: 0;
  box-shadow: 0 0 12px #a855f7, 0 0 24px rgba(168, 85, 247, 0.4);
  animation: epic-pulse 2s ease-in-out infinite;
}

@keyframes epic-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px #a855f7, 0 0 24px rgba(168, 85, 247, 0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 16px #a855f7, 0 0 32px rgba(168, 85, 247, 0.6); }
}

.epic-card__instant {
  font-size: 13px;
  font-weight: 600;
  color: rgba(168, 85, 247, 0.95);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

/* Bottom row: price + CTA */
.epic-card__bottom {
  padding-top: 14px;
  gap: 14px;
}

/* Price UI — glass box with glow */
.epic-card__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(168, 85, 247, 0.06) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.epic-game-card:hover .epic-card__price-wrap {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.epic-card__price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.epic-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  line-height: 1.2;
}

.epic-card__currency {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* CTA — glowing button */
.epic-card__cta {
  flex: 1;
  justify-content: center;
  min-width: 0;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #6b5cff 100%);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.35), 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.epic-card__cta:hover {
  background: linear-gradient(135deg, #22e0ff 0%, #00aadd 50%, #7c6cff 100%);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 45px rgba(0, 212, 255, 0.5), 0 6px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.epic-card__cta-arrow::after {
  margin-left: 8px;
  border-width: 2.5px;
}

@media (max-width: 575.98px) {
  .epic-card__thumb {
    min-height: 200px;
    aspect-ratio: 4/3;
  }
  .epic-card__content {
    padding: 16px;
  }
  .epic-card__title {
    font-size: 1.1rem;
  }
  .epic-card__price {
    font-size: 1.35rem;
  }
  .epic-card__bottom {
    flex-wrap: wrap;
  }
  .epic-card__cta {
    width: 100%;
  }
}

/* ===== TRENDING GAMES — UNIQUE PRODUCT CARD (Steam / PC view) ===== */
/* Card and grid shell: clean, floating glass cards for TRENDING GAMES */
.trending-games-section .trending-grid-shell {
  background: none !important;
  box-shadow: none !important;
}

.trending-games-section .trending-grid-shell::before,
.trending-games-section .trending-grid-shell::after {
  display: none !important;
}

.trending-games-section .tg-card,
.trending-games-section .epic-game-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(94, 234, 212, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.16), transparent 55%),
    rgba(15, 23, 42, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.trending-games-section .tg-card::before,
.trending-games-section .epic-game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(168, 85, 247, 0.2);
  mix-blend-mode: screen;
  opacity: 0.25;
  pointer-events: none;
}

.trending-games-section .tg-card:hover,
.trending-games-section .epic-game-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(168, 85, 247, 0.35);
  border-color: rgba(168, 85, 247, 0.6);
}

.trending-games-section .epic-game-card .epic-card__glow {
  display: none;
}

.trending-games-section .epic-card__thumb {
  aspect-ratio: 16 / 10;
  min-height: 180px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 22px 22px 0 0;
}

.trending-games-section .epic-game-card .tg-card__img {
  border-radius: 22px 22px 0 0;
}

.trending-games-section .epic-game-card:hover .tg-card__img {
  transform: scale(1.05);
}

.trending-games-section .epic-card__thumb-shine {
  border-radius: 22px 22px 0 0;
}

.trending-games-section .epic-card__platform {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  box-shadow: none;
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.trending-games-section .epic-card__discount {
  border-radius: 8px;
  font-size: 11px;
}

.trending-games-section .epic-card__content {
  padding: 1rem 1.25rem 1.25rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trending-games-section .epic-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-shadow: none;
  letter-spacing: -0.01em;
}

.trending-games-section .epic-game-card:hover .epic-card__title {
  color: #e0f7ff;
  text-shadow: none;
}

.trending-games-section .epic-card__instant {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.trending-games-section .epic-card__price-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.trending-games-section .epic-game-card:hover .epic-card__price-wrap {
  border: none;
  box-shadow: none;
}

.trending-games-section .epic-card__price-label {
  color: rgba(255, 255, 255, 0.45);
}

.trending-games-section .epic-card__price {
  font-size: 1.35rem;
  text-shadow: none;
}

.trending-games-section .epic-card__cta {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}

.trending-games-section .epic-card__cta:hover {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
}

.trending-games-section .epic-card__fav {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 575.98px) {
  .trending-games-section .epic-card__thumb {
    min-height: 160px;
  }
  .trending-games-section .epic-card__content {
    padding: 0.9rem 1rem 1rem;
  }
  .trending-games-section .epic-card__title {
    font-size: 1rem;
  }
}

/* ========= TRENDING GAMES — CINEMATIC PRODUCT CARD (NEW UI) ========= */
.trending-cinematic-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.2), transparent 60%),
    linear-gradient(135deg, #020617, #020617 35%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.98),
    0 0 40px rgba(56, 189, 248, 0.28);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease, background 0.35s ease;
}

.trending-cinematic-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.18));
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.trending-cinematic-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 220px;
  color: inherit;
}

.trending-cinematic-card__media {
  position: relative;
  flex: 0 0 55%;
  min-height: 220px;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 1));
}

.trending-cinematic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.trending-cinematic-card__platform {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.4);
}

.trending-cinematic-card__discount {
  position: absolute;
  top: 14px;
  right: 48px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ec4899);
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.6);
}

.trending-cinematic-card__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.95rem;
  box-shadow: 0 0 14px rgba(148, 163, 184, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.trending-cinematic-card__fav:hover {
  transform: scale(1.08);
  border-color: #f97316;
  color: #f97316;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.6);
}

.trending-cinematic-card__body {
  flex: 1;
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.trending-cinematic-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f9fafb;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-cinematic-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(209, 213, 219, 0.9);
}

.trending-cinematic-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.8);
}

.trending-cinematic-card__footer {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.trending-cinematic-card__price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trending-cinematic-card__price-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.trending-cinematic-card__price-main {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e5e7eb;
}

.trending-cinematic-card__currency {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.9);
}

.trending-cinematic-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f9fafb;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  box-shadow:
    0 0 25px rgba(129, 140, 248, 0.7),
    0 0 35px rgba(236, 72, 153, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.trending-cinematic-card__cta-icon {
  position: relative;
  width: 0.65rem;
  height: 0.65rem;
}

.trending-cinematic-card__cta-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.trending-cinematic-card:hover .trending-cinematic-card__img {
  transform: scale(1.06);
}

.trending-cinematic-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 1),
    0 0 45px rgba(56, 189, 248, 0.55);
  border-color: rgba(56, 189, 248, 0.7);
}

.trending-cinematic-card:hover .trending-cinematic-card__cta {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 0 35px rgba(129, 140, 248, 0.9),
    0 0 45px rgba(236, 72, 153, 0.8);
}

@media (max-width: 575.98px) {
  .trending-cinematic-card__media {
    aspect-ratio: 16 / 10;
    min-height: 170px;
  }
  .trending-cinematic-card__body {
    padding: 0.95rem 1.05rem 1.1rem;
  }
  .trending-cinematic-card__title {
    font-size: 0.96rem;
  }
  .trending-cinematic-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .trending-cinematic-card__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ========= TRENDING GAMES — REFINED SHOWCARD (better polish, hierarchy, interactions) ========= */
.tg-showcard {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 20px 48px -8px rgba(0, 0, 0, 0.5),
    -6px 0 28px -8px rgba(139, 92, 246, 0.22),
    0 -6px 28px -8px rgba(236, 72, 153, 0.18);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.25s ease;
}

.tg-showcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  z-index: 1;
  pointer-events: none;
}

.tg-showcard:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.15),
    0 28px 64px -12px rgba(0, 0, 0, 0.55),
    -10px 0 40px -8px rgba(139, 92, 246, 0.3),
    0 -10px 40px -8px rgba(236, 72, 153, 0.22);
}

.tg-showcard__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 348px;
}

.tg-showcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0c0c10;
  border-radius: 24px 24px 0 0;
}

.tg-showcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

.tg-showcard__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tg-showcard:hover .tg-showcard__img {
  transform: scale(1.06);
}

.tg-showcard__platform {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(28, 28, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.tg-showcard__discount {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 10px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tg-showcard__body {
  flex: 1;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tg-showcard__title {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: bold;
  line-height: 1.38;
  color: #fff;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tg-showcard__status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.tg-showcard__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tg-showcard__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.65);
  animation: tg-dot-pulse 2s ease-in-out infinite;
}

@keyframes tg-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(168, 85, 247, 0.65); }
  50% { opacity: 0.85; box-shadow: 0 0 6px rgba(168, 85, 247, 0.5); }
}

.tg-showcard__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.tg-showcard__plat-name {
  font-weight: 500;
}

.tg-showcard__price-wrap {
  position: relative;
  width: 100%;
  padding: 10px 18px 12px 20px;
  background: linear-gradient(180deg, #252532 0%, #1e1e28 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.tg-showcard__price-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #a855f7, #6d28d9);
  border-radius: 10px 0 0 10px;
  opacity: 0.9;
}

.tg-showcard__price-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

.tg-showcard__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.tg-showcard__price-amount {
  font-family: Arial, sans-serif;
  font-size: 1.85rem;
  font-weight: bold;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tg-showcard__price-currency {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: baseline;
}

.tg-showcard__actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: auto;
}

.tg-showcard__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(105deg, #7c3aed 0%, #8b5cf6 35%, #a855f7 65%, #d946ef 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow:
    0 4px 24px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.tg-showcard__btn:hover {
  background-position: 100% 0;
  box-shadow:
    0 8px 32px rgba(139, 92, 246, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.tg-showcard__btn:active {
  transform: translateY(0);
}

.tg-showcard__btn i {
  font-size: 0.95rem;
  opacity: 0.95;
}

.tg-showcard__wish {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tg-showcard__wish:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.06);
  transform: scale(1.05);
}

.tg-showcard__wish.active i::before {
  content: "\f004";
  font-weight: 900;
  color: #f43f5e;
}

@media (max-width: 575.98px) {
  .tg-showcard {
    border-radius: 20px;
  }
  .tg-showcard__media {
    border-radius: 20px 20px 0 0;
  }
  .tg-showcard__body {
    padding: 18px 20px 22px;
  }
  .tg-showcard__title {
    font-size: 1.02rem;
  }
  .tg-showcard__price-amount {
    font-size: 1.5rem;
  }
  .tg-showcard__price-currency {
    font-size: 0.78rem;
  }
  .tg-showcard__btn {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.74rem;
  }
  .tg-showcard__wish {
    width: 48px;
    height: 48px;
  }
}

/* ========= TRENDING GAMES — Premium product card UI ========= */
.trending-uni {
  --tg-glow: rgba(168, 85, 247, 0.3);
  --tg-btn-start: #7c3aed;
  --tg-btn-end: #ec4899;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(168deg, rgba(26, 26, 36, 0.98) 0%, rgba(18, 18, 28, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 12px 32px -8px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.pc-platform-section .trending-uni {
  border-color: rgba(255, 255, 255, 0.08);
}

.trending-uni:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(168, 85, 247, 0.7) !important;
  background: linear-gradient(168deg, rgba(38, 28, 52, 0.98) 0%, rgba(24, 18, 36, 1) 100%) !important;
  box-shadow:
    0 20px 44px -8px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(168, 85, 247, 0.6),
    0 0 32px rgba(168, 85, 247, 0.4),
    0 0 64px -8px rgba(168, 85, 247, 0.3),
    inset 0 0 32px -8px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Keep main and bottom same color on hover — no purple tint */
.trending-uni:hover .trending-uni__main {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.98) 0%, rgba(16, 16, 24, 1) 100%);
  border-top-color: rgba(255, 255, 255, 0.05);
}

.trending-uni:hover .trending-uni__bottom {
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.98) 0%, rgba(16, 16, 24, 1) 100%);
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* Force purple LED only — override any cyan/blue in TRENDING GAMES */
.trending-games-section .trending-uni,
.trending-games-section .game-card.trending-uni {
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 10px 28px -6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.trending-games-section .trending-uni:hover,
.trending-games-section .game-card.trending-uni:hover {
  border-color: rgba(168, 85, 247, 0.7) !important;
  box-shadow:
    0 20px 44px -8px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(168, 85, 247, 0.6),
    0 0 32px rgba(168, 85, 247, 0.4),
    0 0 64px -8px rgba(168, 85, 247, 0.3),
    inset 0 0 32px -8px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.trending-uni__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.trending-uni__link:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.7);
  outline-offset: 2px;
}

.trending-uni__img-wrap {
  position: relative;
  aspect-ratio: 414 / 234.19;
  min-height: 0;
  background: linear-gradient(180deg, #0e0e14 0%, #0a0a10 100%);
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.trending-uni__img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
  pointer-events: none;
}

.trending-uni__img-wrap .trending-uni__img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.trending-uni:hover .trending-uni__img {
  transform: scale(1.07);
}

/* Platform badge — top-left of image (icon only, no background) */
.trending-uni__plat {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  z-index: 1;
  box-shadow: none;
  backdrop-filter: none;
}
.trending-uni__plat-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.trending-uni__off {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 14px;
  font-size: 0.73rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #be185d);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  z-index: 1;
  box-shadow: 0 2px 14px rgba(236, 72, 153, 0.4);
}

.trending-uni__main {
  flex: 1;
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.98) 0%, rgba(16, 16, 24, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.trending-uni__title {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.38;
  color: #fafafa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.02em;
  min-height: 2.76em;
  transition: color 0.25s ease;
}

.trending-uni:hover .trending-uni__title {
  color: #fff;
}

/* Green dot + Instant Delivery */
.trending-uni__meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.trending-uni__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Price in rounded container + arrow button */
.trending-uni__price-wrap {
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  padding: 0 1.1rem 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trending-uni:hover .trending-uni__price-wrap {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 28px -4px rgba(168, 85, 247, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trending-uni__price {
  font-family: Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.025em;
}

.trending-uni__cur {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.9);
  margin-left: 5px;
  letter-spacing: 0.02em;
}

/* Arrow button — same style as Best Selling .btn-icon */
.trending-uni__price-arrow {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.trending-uni:hover .trending-uni__price-arrow {
  background: linear-gradient(135deg, #b366ff 0%, #8b5cf6 50%, #7c3aed 100%);
  border-color: rgba(168, 85, 247, 0.9);
  transform: translateX(5px) rotate(-45deg) scale(1.06);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* CTA button — Buy Now */
.trending-uni__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 0;
  padding: 14px 20px;
  min-height: 52px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(90deg, var(--tg-btn-start) 0%, #a855f7 48%, var(--tg-btn-end) 100%);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease;
}

.trending-uni__cta i:first-child {
  font-size: 0.88rem;
  opacity: 0.95;
}

.trending-uni:hover .trending-uni__cta {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5), 0 0 40px -4px rgba(236, 72, 153, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.trending-uni__cta:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.8);
  outline-offset: 2px;
}

/* Bottom row: Buy Now + wishlist */
.trending-uni__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 1.3rem 1.35rem;
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.98) 0%, rgba(16, 16, 24, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trending-uni__bottom .trending-uni__cta {
  flex: 1;
  margin-top: 0;
  min-height: 50px;
  padding: 13px 18px;
  text-decoration: none;
  font-size: 0.88rem;
}

/* Wishlist button — show only when mouse is over the product card */
/* TRENDING GAMES Favorites — same style as Best Selling: white circle, black icon */
.trending-uni__wish {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  font-size: 1.02rem;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
}
.trending-uni:hover .trending-uni__wish {
  opacity: 1;
  pointer-events: auto;
}
.trending-uni__wish i,
.trending-uni__wish i::before {
  color: #1a1a1a;
  font-weight: 400;
}
.trending-uni__wish:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.5);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #000;
}
.trending-uni__wish:hover i::before {
  color: #000;
}
.trending-uni__wish:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.5);
  outline-offset: 2px;
}
.trending-uni__wish.active i::before {
  content: "\f004";
  font-weight: 900;
  color: #f43f5e;
}
/* Default: outline heart only (contour), not filled */
.trending-uni__wish:not(.active) i {
  font-weight: 400;
}
.trending-uni__wish:not(.active) i::before {
  content: "\f004";
  font-weight: 400;
}

/* Favorites burst effect (fire / sparks) when adding from TRENDING GAMES */
.fav-burst {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
}
.fav-burst-emoji {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 2rem;
  transform: translate(-50%, -50%);
  animation: fav-burst-emoji 0.7s ease-out forwards;
}
.fav-burst-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  animation: fav-burst-particle 0.6s ease-out forwards;
}
@keyframes fav-burst-emoji {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.3); }
  40% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes fav-burst-particle {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% {
    opacity: 0;
    transform: translate(
      calc(-50% + var(--fx, 0px)),
      calc(-50% + var(--fy, 0px))
    ) scale(0.2);
  }
}

@media (max-width: 575.98px) {
  .trending-uni__main {
    padding: 16px 18px 20px;
  }
  .trending-uni__title {
    font-size: 1rem;
  }
  .trending-uni__price {
    font-size: 1.15rem;
  }
  .trending-uni__price-wrap {
    min-height: 48px;
    padding: 0 12px 0 14px;
  }
  .trending-uni__price-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.7rem;
  }
  .trending-uni__bottom {
    padding: 0 18px 18px;
  }
  .trending-uni__bottom .trending-uni__cta {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }
  .trending-uni__wish {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 0.9rem;
  }
}

/* ===== HARD OVERRIDE: MAKE TRENDING GAMES CARD VISIBLY DIFFERENT (works even with old markup) ===== */
/* ===== TRENDING GAMES — curved/rounded product shape (not square), like reference ===== */
.trending-games-section .tg-card,
.trending-games-section .epic-game-card,
.trending-games-section .trending-uni,
.trending-games-section .trending-product-card,
.trending-games-section .product-card,
.trending-games-section .game-card {
  border-radius: 24px !important;
  overflow: hidden !important;
}

.trending-games-section .tg-card__thumb,
.trending-games-section .epic-card__thumb,
.trending-games-section .epic-game-card .tg-card__img,
.trending-games-section .trending-uni__img-wrap,
.trending-games-section .trending-product-card .trending-card-media,
.trending-games-section .game-image-container,
.trending-games-section .product-card-image {
  border-radius: 22px 22px 0 0 !important;
  overflow: hidden !important;
}

.trending-games-section .tg-card {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.18), transparent 55%),
    linear-gradient(145deg, #020617, #020617) !important;
  border: 2px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 1),
    0 0 30px rgba(168, 85, 247, 0.2) !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.trending-games-section .tg-card__thumb {
  aspect-ratio: 16 / 9;
  min-height: 220px;
  overflow: hidden;
}

.trending-games-section .tg-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.trending-games-section .tg-card__content {
  padding: 1.1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(2, 6, 23, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.trending-games-section .tg-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.trending-games-section .tg-card__bottom {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trending-games-section .tg-card__price-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.trending-games-section .tg-card__price-main {
  font-size: 1.26rem;
  font-weight: 800;
}

.trending-games-section .tg-card__cta {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899) !important;
  box-shadow:
    0 0 26px rgba(129, 140, 248, 0.9),
    0 0 36px rgba(236, 72, 153, 0.8) !important;
}

.trending-games-section .tg-card__cta-icon::after {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
}

.trending-games-section .tg-card:hover .tg-card__img {
  transform: scale(1.06);
}

.trending-games-section .tg-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.8) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 1), 0 0 0 2px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.35) !important;
}

/* ===== TRENDING GAMES CARD — CLEAN FIXED STYLE (preview-like) ===== */
.trending-product-card {
  background: linear-gradient(145deg, #0c0f1a, #090c14) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  clip-path: none !important;
  filter: none !important;
  padding-left: 0 !important;
}

.trending-product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 60px rgba(118, 0, 255, 0.35) !important;
}

.trending-product-card .trending-card-link {
  padding-left: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

.trending-product-card .trending-card-media {
  height: 180px !important;
  min-height: 180px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 22px 22px 0 0 !important;
  aspect-ratio: auto !important;
}

.trending-product-card .trending-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.trending-product-card:hover .trending-card-img {
  transform: scale(1.05) !important;
}

.trending-product-card .trending-card-platform {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  color: #fff !important;
  font-family: inherit !important;
  border: none !important;
  box-shadow: none !important;
}

.trending-product-card .trending-card-discount {
  position: absolute !important;
  top: 10px !important;
  right: 48px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border-radius: 6px !important;
  z-index: 2 !important;
}

.trending-product-card .trending-card-btn-fav {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border: none !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
}

.trending-product-card .trending-card-btn-fav:hover {
  color: #ff4bbd !important;
  background: rgba(255, 75, 189, 0.2) !important;
  transform: scale(1.08) !important;
}

.trending-product-card .trending-card-btn-fav.active {
  color: #ff4bbd !important;
}

.trending-product-card .trending-card-btn-fav.active i::before {
  content: '\f004' !important;
  font-weight: 900 !important;
}

.trending-product-card .trending-card-body {
  padding: 18px !important;
  background: transparent !important;
  border: none !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.trending-product-card .trending-card-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.trending-product-card .trending-card-delivery {
  font-size: 13px !important;
  color: #a855f7 !important;
  margin: 0 0 12px 0 !important;
  font-family: inherit !important;
}

.trending-product-card .trending-card-delivery .dot-online {
  margin-right: 4px !important;
}

.trending-product-card .trending-card-price-wrap {
  background: linear-gradient(90deg, #101626, #0b0f1c) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  box-shadow: none !important;
}

.trending-product-card .trending-card-price-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.trending-product-card .trending-card-price {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: inherit !important;
}

.trending-product-card .trending-card-currency {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.trending-product-card .trending-card-arrow-circle {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #6b5cff, #ff4bbd) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

.trending-product-card .trending-card-btn-primary {
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 30px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  font-family: inherit !important;
  color: #fff !important;
  cursor: pointer !important;
  background: linear-gradient(90deg, #6b5cff, #ff4bbd) !important;
  letter-spacing: 0.04em !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.trending-product-card .trending-card-btn-primary:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 4px 20px rgba(107, 92, 255, 0.4) !important;
}

@media (max-width: 575.98px) {
  .trending-product-card .trending-card-media {
    height: 160px !important;
    min-height: 160px !important;
  }
  .trending-product-card .trending-card-body {
    padding: 14px !important;
  }
  .trending-product-card .trending-card-title {
    font-size: 16px !important;
  }
  .trending-product-card .trending-card-price {
    font-size: 20px !important;
  }
}

/* ========== GAMING STYLE — TRENDING SECTION TITLE ========== */
.gaming-eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #22d3ee;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gaming-pulse {
  width: 6px;
  height: 6px;
  background: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 10px #22d3ee, 0 0 20px #22d3ee;
  animation: gaming-pulse 1.2s ease-in-out infinite;
}

@keyframes gaming-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.gaming-section-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  margin: 0;
}

.gaming-title-main {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.gaming-title-accent {
  background: linear-gradient(90deg, #6b5cff, #ff4bbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(107, 92, 255, 0.5));
}

@keyframes gaming-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.gaming-title-underline {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #6b5cff, #ff4bbd);
  margin: 0.5rem 0 0 0;
  border-radius: 2px;
}

.gaming-subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

/* ========== GAMING STYLE — PRODUCT CARD (HUD / NEON) ========== */
.trending-product-card.gaming-card {
  clip-path: none;
  border-radius: 4px;
  border: 2px solid rgba(34, 211, 238, 0.4);
  box-shadow:
    0 0 20px rgba(34, 211, 238, 0.15),
    0 0 40px rgba(168, 85, 247, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  background: rgba(8, 8, 18, 0.95);
}

.trending-product-card.gaming-card:hover {
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow:
    0 0 30px rgba(34, 211, 238, 0.4),
    0 0 60px rgba(168, 85, 247, 0.3),
    0 0 80px rgba(236, 72, 153, 0.2),
    inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.trending-product-card.gaming-card .trending-card-fold,
.trending-product-card.gaming-card .trending-card-accent {
  display: none;
}

.trending-product-card.gaming-card .trending-card-link {
  padding-left: 0;
}

.gaming-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), transparent 30%, transparent 70%, rgba(168, 85, 247, 0.2));
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.trending-product-card.gaming-card:hover .gaming-card-glow {
  opacity: 1;
  animation: gaming-border-pulse 2s ease-in-out infinite;
}

@keyframes gaming-border-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.gaming-card-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: 4px;
}

.gaming-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #22d3ee;
  border-style: solid;
  border-width: 0;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.gaming-corner.tl { top: 8px; left: 8px; border-top-width: 3px; border-left-width: 3px; }
.gaming-corner.tr { top: 8px; right: 8px; border-top-width: 3px; border-right-width: 3px; }
.gaming-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 3px; border-left-width: 3px; }
.gaming-corner.br { bottom: 8px; right: 8px; border-bottom-width: 3px; border-right-width: 3px; }

.trending-product-card.gaming-card:hover .gaming-corner {
  border-color: #22d3ee;
  box-shadow: 0 0 14px #22d3ee, 0 0 24px rgba(34, 211, 238, 0.5);
}

.gaming-card-media {
  position: relative;
  border-radius: 2px 2px 0 0;
}

.gaming-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.gaming-tag {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.2em !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.gaming-platform {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(34, 211, 238, 0.5) !important;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

.gaming-discount {
  font-family: Arial, Helvetica, sans-serif !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6) !important;
}

.gaming-card-body {
  border-top: 2px solid rgba(34, 211, 238, 0.25) !important;
  background: linear-gradient(180deg, rgba(12, 12, 24, 0.98), rgba(6, 6, 14, 0.98)) !important;
}

.gaming-card-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.trending-product-card.gaming-card:hover .gaming-card-title {
  color: #22d3ee !important;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

.gaming-delivery {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.9) !important;
}

.gaming-delivery .dot-online {
  box-shadow: 0 0 8px #a855f7;
}

.gaming-price-box {
  border: 2px solid rgba(34, 211, 238, 0.5) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
  transform: none !important;
}

.trending-product-card.gaming-card:hover .gaming-price-box {
  border-color: #22d3ee !important;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
}

.gaming-price {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.5rem !important;
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.gaming-currency {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em;
}

.gaming-cta-btn {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  background: linear-gradient(90deg, #a855f7, #ec4899) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px !important;
  clip-path: none !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(236, 72, 153, 0.3) !important;
}

.gaming-cta-btn:hover {
  background: linear-gradient(90deg, #22d3ee, #a855f7) !important;
  border-color: rgba(34, 211, 238, 0.8) !important;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.6), 0 0 50px rgba(168, 85, 247, 0.4) !important;
}

.gaming-fav-btn {
  border-radius: 4px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(0, 0, 0, 0.5) !important;
}

.gaming-fav-btn:hover {
  border-color: rgba(236, 72, 153, 0.6) !important;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.trending-games-section #btn-show-more {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  border: 2px solid rgba(34, 211, 238, 0.5) !important;
  color: #22d3ee !important;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.trending-games-section #btn-show-more:hover {
  border-color: #22d3ee !important;
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5) !important;
  color: #fff !important;
  background: transparent !important;
}

.game-image-container {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-card:hover .game-image { transform: scale(1.1); filter: brightness(0.8); }
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc3545;
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}
.platform-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.game-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin: 0;
  transition: 0.3s;
}
.game-card:hover .game-title { color: #a855f7; }
.dot-online {
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  box-shadow: 0 0 5px #a855f7;
}
.price-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  margin: 1rem 0;
}
.current-price {
  font-family: var(--price-font);
  font-weight: 800;
  font-size: 1.55rem;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.currency { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.game-card:hover .current-price { color: #a7f3d0; }
.game-card:hover .price-box { border-color: rgba(168, 85, 247, 0.3); background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%); }
.icon-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.3s;
}
.game-card:hover .icon-arrow { background: #a855f7; transform: rotate(-45deg); }
.btn-gaming-primary {
  background: linear-gradient(90deg, #7c3aed, #db2777);
  color: white;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  transition: 0.3s;
}
.game-card:hover .btn-gaming-primary { box-shadow: 0 0 15px rgba(219, 39, 119, 0.4); }
.fav-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ccc;
}
.fav-btn:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
  color: #ff0000;
}

/* Gaming card (Best Selling) - atgxstore */
.gaming-card {
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.gaming-card:hover {
  transform: translateY(-10px);
  border-color: #a855f7;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2), inset 0 0 20px rgba(168, 85, 247, 0.05);
}
.card-img-wrapper {
  height: 250px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gaming-card:hover .card-img { transform: scale(1.1); }
.platform-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ccc;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Best Selling: Parent Type icon only, no background */
.platform-tag--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.platform-tag-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

/* Best Selling: overlay buttons on product image — show only on hover */
.best-card-btn {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  padding: 0;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
}
.gaming-card:hover .best-card-btn {
  opacity: 1;
  pointer-events: auto;
}
.best-card-btn:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.5);
  color: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: scale(1.08);
}
.best-card-btn--view {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(-28px);
}
.best-card-btn--view:hover {
  transform: translate(-50%, -50%) translateX(-28px) scale(1.08);
}
.best-card-btn--fav {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(28px);
  background: #fff !important;
}
.best-selling-section .best-card-btn--fav,
.best-selling-steam-ui .best-card-btn--fav {
  background: #fff !important;
}
.best-card-btn--fav:hover {
  transform: translate(-50%, -50%) translateX(28px) scale(1.08);
  background: #f5f5f5 !important;
}
.best-card-btn--fav i::before {
  color: #1a1a1a;
  font-weight: 400;
}
/* Default: outline heart (contour only), like reference */
.best-card-btn--fav:not(.active) i::before {
  content: "\f004";
  font-weight: 400;
  color: #1a1a1a;
}
.best-card-btn--fav.active i::before {
  content: "\f004";
  font-weight: 900;
  color: #f43f5e;
}
.card-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: white;
  margin: 0;
}
.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transition: 0.3s;
}
.gaming-card:hover .btn-icon {
  background: #a855f7;
  transform: rotate(-45deg);
}

/* Best Selling scroll buttons */
.best-selling-section .scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.best-selling-section .scroll-btn:hover {
  background: #a855f7;
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}
.best-selling-section .scroll-btn-left { left: 0; }
.best-selling-section .scroll-btn-right { right: 0; }

.btn-gaming-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 24px;
  transition: 0.3s;
}
.btn-gaming-outline:hover {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  transform: translateY(-3px);
  color: white;
}

/* Best Selling scroll layout */
.best-selling-section .scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.best-selling-section .scroll-inner {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.best-selling-section .scroll-item {
  flex: 0 0 calc(20% - 16px);
  min-width: 0;
}
@media (max-width: 1200px) { .best-selling-section .scroll-item { flex: 0 0 calc(25% - 15px); } }
@media (max-width: 768px) { .best-selling-section .scroll-item { flex: 0 0 100%; min-width: 100%; } }
@media (max-width: 500px) { .best-selling-section .scroll-item { flex: 0 0 100%; min-width: 100%; } }

/* PC platform page: atgxstore-style cyber/tech design */
.pc-platform-section {
  padding: 2.5rem 2.5rem 5rem;
  position: relative;
  z-index: 1;
  max-width: 1780px;
  margin: 0 auto;
  background-color: transparent;
  overflow-x: visible;
  overflow-y: hidden;
}

/* Tech grid background */
.tech-grid-bg {
  display: none;
}

/* ========== No old dark gradient — flat background only ========== */
html { background-color: #0a0a0f !important; background-image: none !important; }
body { background-color: #0a0a0f !important; background-image: none !important; }
.glow-orb,
.glow-spot-center,
.glow-spot-pink,
.grid-lines,
.scanlines,
.animated-line,
.animated-line-pink,
.animated-line-orange {
  display: none !important;
}
/* Re-enable LED line under TRENDING GAMES title only */
/* LED lines removed — no colored glow */
.trending-games-section .trending-title-line .animated-line {
  display: none !important;
}
.flash-section .flash-title-row .animated-line-orange {
  display: none !important;
}
/* UPCOMING section: container so 4 cards match exact Trending Games card size (1:1) */
.upcoming-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}
.upcoming-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.upcoming-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.upcoming-title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), transparent);
}
#product-wallpaper-section {
  padding: 2rem 0 3rem;
}
/* UPCOMING: no glowing/boxed panel — cards directly on page background */
#product-wallpaper-section .trending-grid-shell {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.75rem 0 !important;
  margin-top: 0 !important;
}
#product-wallpaper-section .trending-grid-shell::-webkit-scrollbar {
  height: 6px;
}
#product-wallpaper-section .trending-grid-shell::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
#product-wallpaper-section .trending-grid-shell::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 3px;
}
#product-wallpaper-section .trending-grid-shell::before,
#product-wallpaper-section .trending-grid-shell::after {
  display: none !important;
}
/* UPCOMING: 4 columns desktop — full-size Trending Games cards, no 5-col or compressed layout */
#product-wallpaper-section .product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  justify-items: stretch;
  min-width: 0;
}
@media (max-width: 1200px) {
  #product-wallpaper-section .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}
@media (max-width: 768px) {
  #product-wallpaper-section .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}
/* Mobile: 2 cards per row, full-width grid, cards stretch to fill columns */
@media (max-width: 480px) {
  /* Break out of content padding so grid uses full viewport width */
  #product-wallpaper-section {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    width: calc(100% + 2rem);
    max-width: 100vw;
    box-sizing: border-box;
  }
  .upcoming-container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    max-width: none !important;
    width: 100%;
    box-sizing: border-box;
  }
  #product-wallpaper-section .product-grid,
  #product-wallpaper-section .row.g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    align-items: stretch;
    justify-items: stretch;
  }
  /* Override .row.g-4 > * padding that limits card width */
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  #product-wallpaper-section .trending-uni,
  #product-wallpaper-section .game-card.trending-uni {
    min-width: 0;
    width: 100%;
    max-width: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    box-sizing: border-box;
  }
  #product-wallpaper-section .trending-uni__img-wrap {
    aspect-ratio: 16 / 9;
    min-height: 72px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
  }
  #product-wallpaper-section .trending-uni__img-wrap .trending-uni__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  #product-wallpaper-section .trending-uni__plat {
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
  }
  #product-wallpaper-section .trending-uni__plat-icon {
    width: 20px;
    height: 20px;
  }
  #product-wallpaper-section .trending-uni__off {
    top: 6px;
    right: 6px;
    padding: 4px 8px;
    font-size: 0.58rem;
  }
  #product-wallpaper-section .trending-uni__link {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #product-wallpaper-section .trending-uni__main {
    padding: 0.45rem 0.5rem 0.5rem;
    gap: 0.3rem;
    flex: 1;
    min-height: 0;
    min-width: 0;
  }
  #product-wallpaper-section .trending-uni__title {
    font-size: 0.75rem;
    line-height: 1.25;
    min-height: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
  }
  #product-wallpaper-section .trending-uni__meta {
    font-size: 0.6rem;
    gap: 4px;
  }
  #product-wallpaper-section .trending-uni__live {
    width: 5px;
    height: 5px;
  }
  #product-wallpaper-section .trending-uni__price-wrap {
    min-height: 32px;
    min-width: 0;
    padding: 0 8px 0 10px;
    gap: 0.4rem;
    border-radius: 10px;
  }
  #product-wallpaper-section .trending-uni__price {
    font-size: 0.9rem;
  }
  #product-wallpaper-section .trending-uni__cur {
    font-size: 0.62rem;
  }
  #product-wallpaper-section .trending-uni__price-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 8px;
    font-size: 0.7rem;
  }
  #product-wallpaper-section .trending-uni__bottom {
    padding: 0 0.5rem 0.55rem;
    gap: 8px;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  #product-wallpaper-section .trending-uni__bottom .trending-uni__cta,
  #product-wallpaper-section .trending-uni__cta {
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
    min-height: 38px;
    min-width: 0;
    flex: 1 1 auto;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-radius: 10px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #product-wallpaper-section .trending-uni__cta i:first-child {
    font-size: 0.7rem;
  }
  #product-wallpaper-section .trending-uni__wish {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }
}

/* Very small phones: 1 card per row, same card style */
@media (max-width: 360px) {
  #product-wallpaper-section .product-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding: 0 0.15rem !important;
  }
}
/* UPCOMING: desktop card dimensions — apply only on tablet/desktop (min-width: 769px) */
@media (min-width: 769px) {
  #product-wallpaper-section .trending-uni,
  #product-wallpaper-section .game-card.trending-uni {
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  #product-wallpaper-section .product-grid .trending-game-col {
    min-width: 0;
    display: flex;
  }
  #product-wallpaper-section .trending-uni__img-wrap {
    aspect-ratio: 414 / 234.19;
    min-height: 220px;
    flex-shrink: 0;
  }
  #product-wallpaper-section .trending-uni__main {
    padding: 1.25rem 1.3rem 1.4rem;
    flex: 1;
    min-height: 0;
  }
  #product-wallpaper-section .trending-uni__price-wrap {
    min-height: 48px;
    padding: 0 14px 0 16px;
  }
  #product-wallpaper-section .trending-uni__price {
    font-size: 1.32rem;
  }
  #product-wallpaper-section .trending-uni__title {
    font-size: 1.14rem;
  }
  #product-wallpaper-section .trending-uni__cta {
    flex: 1 1 auto;
    min-width: 100px;
    min-height: 48px;
    padding: 0.8rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
  }
}
/* Show trending and platform product grids; only hide if needed elsewhere */
.pc-platform-section [id$="-product-grid"],
.trending-grid-shell [id$="-product-grid"],
[id="pc-product-grid"],
[id="xbox-product-grid"],
[id="psn-product-grid"],
[id="nintendo-product-grid"],
[id="ea-app-product-grid"],
[id="epic-product-grid"],
[id="rockstar-product-grid"],
[id="gog-product-grid"],
[id="battlenet-product-grid"],
[id="ubisoft-product-grid"],
[id="gamepass-product-grid"] {
  display: grid !important;
}
/* Product filter bar — UPCOMING tab only; smooth show/hide, no empty space when hidden */
.product-filter-bar-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}
.product-filter-bar-wrap--visible {
  max-height: 220px;
  opacity: 1;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
}
.product-filter-bar {
  margin-bottom: 0;
  padding: 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
/* UPCOMING filter — subtle glass card */
.upcoming-section .product-filter-bar--gaming {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
/* UPCOMING pagination — modern dark neon buttons below product grid */
.upcoming-pagination {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.5rem;
  max-width: 100%;
  border-radius: 20px;
  background: none;
  border: none;
}
.upcoming-pagination-btn {
  min-width: 46px;
  height: 46px;
  padding: 0 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.upcoming-pagination-btn:hover:not(.active) {
  background: transparent;
  border-color: rgba(168, 85, 247, 0.7);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4), 0 0 32px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.upcoming-pagination-btn:focus-visible {
  outline: none;
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35);
}
.upcoming-pagination-btn.active {
  background: linear-gradient(90deg, var(--tg-btn-start, #7c3aed) 0%, #a855f7 48%, var(--tg-btn-end, #ec4899) 100%);
  border: none;
  color: #fff;
  cursor: default;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.5), 0 0 40px -4px rgba(236, 72, 153, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.upcoming-pagination-btn.prev,
.upcoming-pagination-btn.next {
  padding: 0 1.35rem;
  gap: 0.55rem;
}
.upcoming-pagination-btn.prev i,
.upcoming-pagination-btn.next i {
  font-size: 0.85rem;
  opacity: 0.95;
}
.upcoming-pagination-ellipsis {
  padding: 0 0.35rem;
  color: rgba(148, 163, 184, 0.55);
  font-size: 0.9rem;
  font-weight: 700;
  user-select: none;
  letter-spacing: 0.08em;
}
/* Responsive pagination */
@media (max-width: 768px) {
  .upcoming-pagination {
    gap: 0.65rem;
    margin-top: 2rem;
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }
  .upcoming-pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.9rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
  .upcoming-pagination-btn.prev,
  .upcoming-pagination-btn.next {
    padding: 0 1rem;
  }
}
@media (max-width: 640px) {
  .upcoming-pagination {
    gap: 0.5rem;
    margin-top: 1.75rem;
    padding: 1rem 0.75rem;
    border-radius: 14px;
  }
  .upcoming-pagination-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  .upcoming-pagination-btn.prev,
  .upcoming-pagination-btn.next {
    padding: 0 0.9rem;
  }
  .upcoming-pagination-btn.prev .btn-text,
  .upcoming-pagination-btn.next .btn-text {
    display: none;
  }
}
.product-filter-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.product-filter-row--top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .product-filter-row--top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .product-filter-row--top { grid-template-columns: 1fr; }
}
.product-filter-row--bottom {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}
.product-filter-select {
  padding: 0.55rem 2rem 0.55rem 1rem;
  background: rgba(44, 44, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s, transform 0.15s ease;
}
.product-filter-select:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(55, 55, 55, 0.98);
  transform: translateY(-1px);
}
.product-filter-select:focus,
.product-filter-select:focus-visible {
  border-color: rgba(168, 85, 247, 0.6);
  outline: none;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}
.product-filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  letter-spacing: 0.02em;
}
/* Price block — simple inline style, no icon/card */
.product-filter-price-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.product-filter-price-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.product-filter-price-range {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.product-filter-currency-before {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 193, 7, 0.85);
  font-family: 'JetBrains Mono', monospace;
}
.product-filter-price-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0 0.1rem;
}
.product-filter-input {
  width: 6.5rem;
  min-width: 5.75rem;
  padding: 0.52rem 0.75rem;
  background: rgba(44, 44, 44, 0.9);
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s, transform 0.15s ease;
}
.product-filter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.product-filter-input:hover {
  background-color: rgba(55, 55, 55, 0.98);
  border-color: rgba(255, 255, 255, 0.18);
}
.product-filter-input:focus,
.product-filter-input:focus-visible {
  outline: none;
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}
.product-filter-price-block .product-filter-input:focus,
.product-filter-price-block .product-filter-input:focus-visible {
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.product-filter-price-block .product-filter-input:hover {
  border-color: rgba(255, 193, 7, 0.25);
}
.product-filter-currency {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.25rem;
}
.product-filter-vsep {
  width: 1px;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.product-filter-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding: 0.25rem 0;
  border-radius: 8px;
  transition: color 0.2s;
}
.product-filter-checkbox-wrap:hover {
  color: rgba(255, 255, 255, 1);
}
.product-filter-checkbox-wrap:focus-within {
  color: rgba(168, 85, 247, 0.95);
}
.product-filter-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #8b5cf6;
  cursor: pointer;
}
.product-filter-reset {
  color: #ef4444;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.product-filter-reset:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.08);
}
.product-filter-clear {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.product-filter-clear:hover,
.product-filter-clear:focus-visible {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.6);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.15);
}
.product-filter-apply {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(168, 85, 247, 0.4));
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.product-filter-apply:hover,
.product-filter-apply:focus-visible {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.6), rgba(168, 85, 247, 0.6));
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}
/* Apply button only in mobile panel; desktop filters auto-apply on change */
@media (min-width: 769px) {
  .product-filter-apply { display: none; }
}
/* Mobile filter: hidden on desktop */
.upcoming-filter-mobile-bar {
  display: none;
}

/* ========== MOBILE FILTER — compact bar + dropdown panel (max-width 768px only) ========== */
@media (max-width: 768px) {
  /* Show compact Filter bar when upcoming tab is active */
  .upcoming-filter-mobile-bar.upcoming-filter-mobile-bar--visible {
    display: flex;
    margin-bottom: 0.75rem;
  }
  .upcoming-filter-mobile-bar:not(.upcoming-filter-mobile-bar--visible) {
    display: none !important;
  }
  /* Compact Filter button — dark neon gaming style */
  .upcoming-filter-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(168, 85, 247, 0.08);
  }
  .upcoming-filter-mobile-btn:hover,
  .upcoming-filter-mobile-btn:focus-visible {
    background: rgba(45, 35, 60, 0.95);
    border-color: rgba(168, 85, 247, 0.7);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
    outline: none;
  }
  .upcoming-filter-mobile-btn i {
    color: rgba(168, 85, 247, 0.9);
    font-size: 0.95rem;
  }
  /* On mobile: hide full filter panel by default; show only when --mobile-open */
  .product-filter-bar-wrap.product-filter-bar-wrap--visible:not(.product-filter-bar-wrap--mobile-open) {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  /* Dropdown panel when open */
  .product-filter-bar-wrap.product-filter-bar-wrap--visible.product-filter-bar-wrap--mobile-open {
    max-height: 85vh !important;
    overflow-y: auto;
    opacity: 1;
    margin-bottom: 1rem;
    padding: 0;
    border-radius: 12px;
    background: rgba(25, 25, 35, 0.98);
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.1);
  }
  .product-filter-bar-wrap--mobile-open .product-filter-bar {
    padding: 1.25rem 1rem !important;
    border-radius: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  /* Mobile panel: stacked layout, full-width inputs, spacing */
  .product-filter-bar-wrap--mobile-open .product-filter-grid {
    gap: 1.25rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-row--top {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-row--bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.65rem 2rem 0.65rem 1rem !important;
    font-size: 0.9rem;
  }
  /* Price section — cleaner layout */
  .product-filter-bar-wrap--mobile-open .product-filter-price-block {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-price-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
  }
  .product-filter-bar-wrap--mobile-open .product-filter-price-range {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-input {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.75rem !important;
    font-size: 1rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-vsep {
    display: none;
  }
  /* Apply + Reset row */
  .product-filter-bar-wrap--mobile-open .product-filter-apply,
  .product-filter-bar-wrap--mobile-open .product-filter-reset {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
    display: block;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-apply {
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 480px) {
  .upcoming-filter-mobile-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-bar {
    padding: 1rem 0.85rem !important;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-grid {
    gap: 1rem;
  }
  .product-filter-bar-wrap--mobile-open .product-filter-input {
    padding: 0.55rem 0.65rem !important;
  }
}

/* ========== STEAM / PLATFORM TABS — mobile-only responsive layout (same as UPCOMING) ========== */
/* Mobile only: 2 products per row, same card style and spacing as other tabs. Desktop unchanged. */
@media (max-width: 768px) {
  /* Break out of content padding so Trending Games uses more screen width */
  .pc-platform-section .trending-games-section {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    width: calc(100% + 1rem);
    max-width: 100vw;
    box-sizing: border-box;
  }
  .pc-platform-section .trending-grid-shell,
  .pc-platform-section .trending-games-section .container {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }
  .pc-platform-section .trending-grid-shell {
    padding-left: 0.12rem;
    padding-right: 0.12rem;
    margin-left: -0.28rem;
    margin-right: -0.28rem;
    width: calc(100% + 0.56rem);
    max-width: calc(100% + 0.56rem);
    box-sizing: border-box;
  }
  .pc-platform-section .trending-container,
  .pc-platform-section .trending-games-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.28rem !important;
    padding-right: 0.28rem !important;
  }
  .pc-platform-section .trending-grid-shell [id$="-product-grid"],
  .pc-platform-section .trending-grid-shell .row.g-4,
  .pc-platform-section [id$="-product-grid"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    align-items: stretch;
    justify-items: stretch;
  }
  .pc-platform-section .trending-grid-shell [id$="-product-grid"] .trending-game-col,
  .pc-platform-section .trending-grid-shell [id$="-product-grid"] > *,
  .pc-platform-section [id$="-product-grid"] .trending-game-col,
  .pc-platform-section [id$="-product-grid"] > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .pc-platform-section .trending-grid-shell .trending-uni,
  .pc-platform-section .trending-grid-shell .game-card.trending-uni,
  .pc-platform-section [id$="-product-grid"] .trending-uni,
  .pc-platform-section [id$="-product-grid"] .game-card.trending-uni {
    min-width: 0;
    width: 100%;
    max-width: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    box-sizing: border-box;
  }
  .pc-platform-section .trending-uni__img-wrap {
    aspect-ratio: 16 / 9;
    min-height: 56px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
  }
  .pc-platform-section .trending-uni__img-wrap .trending-uni__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .pc-platform-section .trending-uni__plat {
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
  }
  .pc-platform-section .trending-uni__plat-icon {
    width: 18px;
    height: 18px;
  }
  .pc-platform-section .trending-uni__off {
    top: 5px;
    right: 5px;
    padding: 3px 6px;
    font-size: 0.52rem;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__link {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__main {
    padding: 0.38rem 0.42rem 0.42rem;
    gap: 0.25rem;
    flex: 1;
    min-height: 0;
    min-width: 0;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__title {
    font-size: 0.7rem;
    line-height: 1.2;
    min-height: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__meta {
    font-size: 0.55rem;
    gap: 3px;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__live {
    width: 4px;
    height: 4px;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__price-wrap {
    min-height: 28px;
    min-width: 0;
    padding: 0 6px 0 8px;
    gap: 0.35rem;
    border-radius: 8px;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__price {
    font-size: 0.82rem;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__cur {
    font-size: 0.58rem;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__price-arrow {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 6px;
    font-size: 0.65rem;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__bottom {
    padding: 0 0.4rem 0.45rem;
    gap: 6px;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__cta {
    font-size: 0.68rem;
    padding: 0.35rem 0.45rem;
    min-height: 34px;
    min-width: 0;
    flex: 1 1 auto;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-radius: 10px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__cta i:first-child {
    font-size: 0.65rem;
  }
  .pc-platform-section .trending-grid-shell .trending-uni__wish {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }
  /* Show more button — mobile-friendly (all platform tabs) */
  .pc-platform-section [id$="-btn-show-more"] {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* EA App, Epic, Rockstar, GOG, Battle.net, Ubisoft: match Steam card height — reduce image, padding, button */
  #ea-app-platform-wallpaper .trending-games-section .trending-uni__img-wrap,
  #epic-platform-wallpaper .trending-games-section .trending-uni__img-wrap,
  #rockstar-platform-wallpaper .trending-games-section .trending-uni__img-wrap,
  #gog-platform-wallpaper .trending-games-section .trending-uni__img-wrap,
  #battlenet-platform-wallpaper .trending-games-section .trending-uni__img-wrap,
  #ubisoft-platform-wallpaper .trending-games-section .trending-uni__img-wrap {
    aspect-ratio: 2.2 / 1 !important;
    min-height: 44px !important;
  }
  #ea-app-platform-wallpaper .trending-games-section .trending-uni__main,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__main,
  #epic-platform-wallpaper .trending-games-section .trending-uni__main,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__main,
  #rockstar-platform-wallpaper .trending-games-section .trending-uni__main,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__main,
  #gog-platform-wallpaper .trending-games-section .trending-uni__main,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__main,
  #battlenet-platform-wallpaper .trending-games-section .trending-uni__main,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__main,
  #ubisoft-platform-wallpaper .trending-games-section .trending-uni__main,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__main {
    padding: 0.28rem 0.35rem 0.32rem !important;
    gap: 0.18rem !important;
  }
  #ea-app-platform-wallpaper .trending-games-section .trending-uni__price-wrap,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__price-wrap,
  #epic-platform-wallpaper .trending-games-section .trending-uni__price-wrap,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__price-wrap,
  #rockstar-platform-wallpaper .trending-games-section .trending-uni__price-wrap,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__price-wrap,
  #gog-platform-wallpaper .trending-games-section .trending-uni__price-wrap,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__price-wrap,
  #battlenet-platform-wallpaper .trending-games-section .trending-uni__price-wrap,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__price-wrap,
  #ubisoft-platform-wallpaper .trending-games-section .trending-uni__price-wrap,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__price-wrap {
    min-height: 24px !important;
    padding: 0 5px 0 6px !important;
  }
  #ea-app-platform-wallpaper .trending-games-section .trending-uni__bottom,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__bottom,
  #epic-platform-wallpaper .trending-games-section .trending-uni__bottom,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__bottom,
  #rockstar-platform-wallpaper .trending-games-section .trending-uni__bottom,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__bottom,
  #gog-platform-wallpaper .trending-games-section .trending-uni__bottom,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__bottom,
  #battlenet-platform-wallpaper .trending-games-section .trending-uni__bottom,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__bottom,
  #ubisoft-platform-wallpaper .trending-games-section .trending-uni__bottom,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__bottom {
    padding: 0 0.35rem 0.38rem !important;
    gap: 5px !important;
  }
  #ea-app-platform-wallpaper .trending-games-section .trending-uni__cta,
  #ea-app-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__cta,
  #epic-platform-wallpaper .trending-games-section .trending-uni__cta,
  #epic-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__cta,
  #rockstar-platform-wallpaper .trending-games-section .trending-uni__cta,
  #rockstar-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__cta,
  #gog-platform-wallpaper .trending-games-section .trending-uni__cta,
  #gog-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__cta,
  #battlenet-platform-wallpaper .trending-games-section .trending-uni__cta,
  #battlenet-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__cta,
  #ubisoft-platform-wallpaper .trending-games-section .trending-uni__cta,
  #ubisoft-platform-wallpaper .trending-games-section .trending-grid-shell .trending-uni__cta {
    min-height: 28px !important;
    padding: 0.28rem 0.38rem !important;
  }
}
@media (max-width: 480px) {
  /* Use more horizontal space: minimal side padding, break out for bigger cards */
  .pc-platform-section .trending-games-section .trending-container,
  .pc-platform-section .trending-container,
  .pc-platform-section .trending-games-section .container {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    max-width: 100%;
    overflow-x: hidden;
  }
  .pc-platform-section .trending-grid-shell {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
    margin-left: -0.2rem;
    margin-right: -0.2rem;
    width: calc(100% + 0.4rem);
    max-width: calc(100% + 0.4rem);
    box-sizing: border-box;
  }
  .pc-platform-section .trending-grid-shell [id$="-product-grid"],
  .pc-platform-section .trending-grid-shell .row.g-4,
  .pc-platform-section [id$="-product-grid"] {
    gap: 1rem !important;
  }
}
@media (max-width: 360px) {
  .pc-platform-section .trending-grid-shell [id$="-product-grid"],
  .pc-platform-section .trending-grid-shell .row.g-4,
  .pc-platform-section [id$="-product-grid"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding: 0 0.15rem !important;
  }
}

/* ========== ALL PRODUCT SECTIONS — mobile-only 2-col grid (Popular, Flash, Genre sliders) ========== */
/* Best Selling stays single-card carousel on mobile — see override block below. */
@media (max-width: 768px) {
  /* Popular Games — convert scroll to 2-col grid */
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section .popular-section .popular-scroll-wrap .scroll-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    transform: none !important;
  }
  .pc-platform-section .popular-section .scroll-item {
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  .pc-platform-section .popular-section .scroll-container {
    overflow: visible !important;
  }
  .pc-platform-section .popular-section .scroll-btn {
    display: none !important;
  }
  /* Popular Games — break out of parent padding to use more screen width (like Trending) */
  .pc-platform-section .popular-section {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    width: calc(100% + 2rem) !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
  }
  .pc-platform-section .popular-section .container {
    overflow-x: visible !important;
  }
  .pc-platform-section .popular-section .popular-scroll-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .pc-platform-section .popular-section .pop-card {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }
  .pc-platform-section .popular-section .pop-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .pc-platform-section .popular-section .pop-img-wrapper {
    aspect-ratio: 16 / 9 !important;
    min-height: 56px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }
  .pc-platform-section .popular-section .pop-img-wrapper .rank-badge {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    font-size: 0.6rem !important;
    top: 6px !important;
    right: 6px !important;
  }
  .pc-platform-section .popular-section .pop-card-body {
    padding: 0.4rem 0.5rem 0.5rem !important;
    flex: 0 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: 0 !important;
  }
  .pc-platform-section .popular-section .pop-type-row {
    margin-bottom: 0 !important;
    justify-content: flex-end !important;
    position: absolute !important;
    top: 0.35rem !important;
    right: 0.4rem !important;
    left: auto !important;
    width: auto !important;
  }
  .pc-platform-section .popular-section .pop-card-body {
    position: relative !important;
  }
  .pc-platform-section .popular-section .pop-type-icon-img {
    width: 20px !important;
    height: 20px !important;
  }
  .pc-platform-section .popular-section .pop-title {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    margin: 0.2rem 0 0.3rem !important;
    min-height: 0 !important;
    padding-right: 1.6rem !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .pc-platform-section .popular-section .pop-price-row {
    margin-top: 0 !important;
    padding-top: 0.35rem !important;
    gap: 1rem !important;
  }
  .pc-platform-section .popular-section .pop-price-wrap {
    padding: 0.35rem 0.5rem !important;
    gap: 4px !important;
  }
  .pc-platform-section .popular-section .pop-card .pop-price {
    font-size: 0.85rem !important;
  }
  .pc-platform-section .popular-section .pop-currency {
    font-size: 0.58rem !important;
    padding: 2px 4px !important;
  }
  .pc-platform-section .popular-section .pop-chevron {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    font-size: 0.65rem !important;
  }
  /* Popular Games — breakout to use more screen width (like Trending section) */
  .pc-platform-section .popular-section {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    width: calc(100% + 2rem) !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
  }
  .pc-platform-section .popular-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    overflow-x: hidden !important;
  }
  .pc-platform-section .popular-section .popular-scroll-wrap {
    margin-left: -0.35rem !important;
    margin-right: -0.35rem !important;
    width: calc(100% + 0.7rem) !important;
    max-width: calc(100% + 0.7rem) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section .popular-section .popular-scroll-wrap .scroll-inner {
    gap: 0.25rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Flash Deals — stack featured + 2-col grid, same spacing */
  .pc-platform-section .flash-section .flash-deals-layout {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured {
    flex: none !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 0.5rem !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: auto !important;
  }
  .pc-platform-section .flash-section .mini-flash-card {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .pc-platform-section .flash-section .mini-flash-card .card-image,
  .pc-platform-section .flash-section .mini-flash-card [class*="img"] {
    aspect-ratio: 16 / 9 !important;
    min-height: 72px !important;
  }
  /* Flash Deals — smaller, more compact cards on mobile (pc-platform and anywhere) */
  .pc-platform-section .flash-section .flash-mini-card,
  .flash-section .flash-mini-card {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    flex: 0 1 auto !important;
  }
  .pc-platform-section .flash-section .flash-mini-img-wrap,
  .flash-section .flash-mini-img-wrap {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }
  .pc-platform-section .flash-section .flash-mini-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .pc-platform-section .flash-section .flash-mini-body {
    padding: 0.22rem 0.3rem 0.3rem !important;
    margin-top: 0.1rem !important;
    flex: 0 1 auto !important;
  }
  .pc-platform-section .flash-section .flash-mini-title {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.15rem !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .pc-platform-section .flash-section .flash-mini-card .flash-countdown {
    font-size: 0.78rem !important;
    padding: 0.28rem 0.4rem !important;
    margin-bottom: 0.2rem !important;
  }
  .pc-platform-section .flash-section .flash-mini-card .flash-countdown .flash-countdown-hrs,
  .pc-platform-section .flash-section .flash-mini-card .flash-countdown .flash-countdown-min,
  .pc-platform-section .flash-section .flash-mini-card .flash-countdown .flash-countdown-sec {
    font-size: 0.78rem !important;
    padding: 0.16rem 0.25rem !important;
    min-width: 1.4em !important;
  }
  .pc-platform-section .flash-section .flash-mini-card .flash-countdown i {
    font-size: 0.7rem !important;
  }
  .pc-platform-section .flash-section .flash-mini-price {
    padding: 0.2rem 0.35rem !important;
    margin-bottom: 0.2rem !important;
  }
  .pc-platform-section .flash-section .flash-mini-price .flash-price-now {
    font-size: 0.82rem !important;
  }
  .pc-platform-section .flash-section .flash-mini-price .flash-price-was {
    font-size: 0.62rem !important;
  }
  .pc-platform-section .flash-section .flash-mini-btn-add {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.65rem !important;
  }
  .pc-platform-section .flash-section .flash-mini-discount,
  .flash-section .flash-mini-discount,
  .pc-platform-section .flash-section .flash-mini-preorder,
  .flash-section .flash-mini-preorder {
    font-size: 0.55rem !important;
    padding: 2px 5px !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner {
    gap: 0.25rem !important;
  }
  /* Genre sliders (Top Shooter, Action, RPG, Horror, Racing, Simulation) — 2-col grid */
  .pc-platform-section .cyber-category-wrapper .slider-track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    transform: none !important;
  }
  .pc-platform-section .cyber-category-wrapper .slider-item {
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  .pc-platform-section .cyber-category-wrapper .slider-wrapper {
    overflow: visible !important;
  }
  .pc-platform-section .cyber-category-wrapper .cyber-nav-btn {
    display: none !important;
  }
  .pc-platform-section .cyber-category-wrapper .game-card {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .pc-platform-section .cyber-category-wrapper .game-card .card-image {
    aspect-ratio: 16 / 9 !important;
    min-height: 72px !important;
    height: auto !important;
  }
  .pc-platform-section .cyber-category-wrapper .game-card .card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .pc-platform-section .cyber-category-wrapper .game-card .card-content {
    padding: 0.45rem 0.5rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  /* Overflow prevention */
  .pc-platform-section .best-selling-section .container,
  .pc-platform-section .popular-section .container,
  .pc-platform-section .flash-section .container,
  .pc-platform-section .cyber-category-wrapper .container {
    overflow-x: hidden !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
  /* Popular Games — full viewport width on mobile: remove fixed width / max-width, minimal margins */
  .pc-platform-section .popular-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 0.1rem !important;
    padding-right: 0.1rem !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
  }
  .pc-platform-section .popular-section .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .pc-platform-section .popular-section .scroll-container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .pc-platform-section .popular-section .popular-title-row {
    width: 100% !important;
  }
  .pc-platform-section .popular-section .popular-scroll-wrap {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .pc-platform-section .popular-section .popular-scroll-wrap .scroll-inner,
  .pc-platform-section .popular-section .scroll-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0.08rem !important;
    justify-content: flex-start !important;
    justify-items: start !important;
  }
  .pc-platform-section .popular-section .container {
    display: block !important;
    text-align: left !important;
  }
  .pc-platform-section .popular-section .popular-title-row {
    justify-content: flex-start !important;
  }
  /* Popular Games — remove all width constraints so cards can grow to full viewport */
  .pc-platform-section .popular-section .scroll-container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section .popular-section .popular-scroll-wrap .scroll-inner {
    width: 100% !important;
    max-width: none !important;
  }
  .pc-platform-section .popular-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }
}
@media (max-width: 480px) {
  /* Best Selling: keep gap 20px — excluded so single-card layout spacing stays correct */
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section .popular-section .popular-scroll-wrap .scroll-inner,
  .pc-platform-section .cyber-category-wrapper .slider-track {
    gap: 0.5rem !important;
  }
  /* Flash Deals: more space between the 4 small cards */
  .pc-platform-section .flash-section .flash-deals-inner {
    gap: 0.5rem !important;
  }
  .pc-platform-section .best-selling-section .container,
  .pc-platform-section .popular-section .container,
  .pc-platform-section .flash-section .container,
  .pc-platform-section .cyber-category-wrapper .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  /* Popular Games — keep wider layout at 480px too */
  .pc-platform-section .popular-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 360px) {
  /* Best Selling uses flex carousel — exclude from grid */
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section .popular-section .popular-scroll-wrap .scroll-inner,
  .pc-platform-section .cyber-category-wrapper .slider-track {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  /* Flash Deals — keep 2 cards per row even at 360px, more space between cards */
  .pc-platform-section .flash-section .flash-deals-inner,
  .pc-platform-section [id$="-flash-deals-grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }
}

/* ========== ALL PRODUCT SECTIONS — mobile-only 2-col grid (Popular, Flash, Genre sliders). Best Selling = single-card slider only. ========== */
/* Same layout as Trending Games: 2 cards per row, compact spacing, no overflow. Desktop unchanged. */
@media (max-width: 768px) {
  /* Best Selling: ALWAYS single-card slider — never grid, never multi-card. Keep flex + 100% item width. */
  .pc-platform-section .best-selling-section .scroll-inner,
  .pc-platform-section [id$="-best-selling-track"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    width: 100% !important;
    min-width: 100% !important;
  }
  .pc-platform-section .best-selling-section .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
  }
  .pc-platform-section .best-selling-section .scroll-container {
    overflow: hidden !important;
    overflow-x: hidden !important;
  }
  /* Popular Games — convert scroll to grid */
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section [id$="-popular-scroll-inner"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    transform: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .pc-platform-section .popular-section .scroll-item {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .pc-platform-section .popular-section .scroll-container {
    overflow: visible !important;
  }
  .pc-platform-section .popular-scroll-wrap {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  /* Flash Deals — stack layout, 2-col grid for cards */
  .pc-platform-section .flash-deals-layout {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .pc-platform-section .flash-deals-featured {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .pc-platform-section [id$="-flash-deals-grid"],
  .pc-platform-section .flash-deals-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 0.25rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
  /* Genre sliders (Top Shooter, Action, RPG, Horror, Racing, Simulation) — convert to grid */
  .pc-platform-section .slider-track,
  .pc-platform-section [id$="-track-shooter"],
  .pc-platform-section [id$="-track-action"],
  .pc-platform-section [id$="-track-rpg"],
  .pc-platform-section [id$="-track-horror"],
  .pc-platform-section [id$="-track-racing"],
  .pc-platform-section [id$="-track-simulation"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    transform: none !important;
  }
  .pc-platform-section .slider-item {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .pc-platform-section .slider-wrapper {
    overflow: visible !important;
  }
  /* Hide scroll/nav buttons on mobile (grid shows all, no scroll needed). Best Selling keeps arrows — single-card carousel. */
  .pc-platform-section .popular-section .scroll-btn {
    display: none !important;
  }
  .pc-platform-section .cyber-nav-btn {
    display: none !important;
  }
  /* Card sizing — prevent overflow, match Trending compact style */
  .pc-platform-section .best-selling-section .gaming-card,
  .pc-platform-section .popular-section .pop-card,
  .pc-platform-section .flash-section .mini-flash-card,
  .pc-platform-section .flash-section .flash-mini-card,
  .pc-platform-section .cyber-section .game-card {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  /* Popular Games mobile styles: see first 768px block (compact image, padding, spacing, icon alignment) */
  .pc-platform-section .cyber-section .game-card .card-image {
    height: auto !important;
    min-height: 72px !important;
    aspect-ratio: 16 / 9 !important;
  }
  .pc-platform-section .cyber-section .game-card .card-content {
    padding: 0.45rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  .pc-platform-section .best-selling-section .position-relative.mb-4,
  .pc-platform-section .popular-section .popular-scroll-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .pc-platform-section .best-selling-section .container,
  .pc-platform-section .popular-section .container,
  .pc-platform-section .flash-section .container,
  .pc-platform-section .cyber-category-wrapper .container {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
}

/* Best Selling mobile only: single-card carousel — 1 card visible, arrows, Browse All centered. Independent of product count. */
@media (max-width: 768px) {
  .pc-platform-section .best-selling-section .scroll-inner,
  .pc-platform-section .best-selling-section .scroll-container .scroll-inner,
  .pc-platform-section [id$="-best-selling-track"],
  .best-selling-section .scroll-inner,
  .best-selling-section .scroll-container .scroll-inner,
  .best-selling-steam-ui .scroll-inner,
  [id$="-best-selling-track"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
    overflow: visible !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }
  .pc-platform-section .best-selling-section .scroll-item,
  .best-selling-section .scroll-item,
  .best-selling-steam-ui .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
  }
  .pc-platform-section .best-selling-section .scroll-container,
  .best-selling-section .scroll-container,
  .best-selling-steam-ui .scroll-container {
    overflow: hidden !important;
    overflow-x: hidden !important;
  }
  .pc-platform-section .best-selling-section .scroll-btn,
  .best-selling-steam-ui .scroll-btn {
    display: flex !important;
  }
  .pc-platform-section .best-selling-section .position-relative.mb-4 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .pc-platform-section .best-selling-section .text-center,
  .best-selling-section .text-center {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }
  .pc-platform-section .best-selling-section .text-center .btn-gaming-outline {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Best Selling mobile: slightly smaller card for balanced layout */
  .best-selling-section .scroll-item .gaming-card,
  .best-selling-steam-ui .scroll-item .gaming-card,
  .pc-platform-section .best-selling-section .scroll-item .gaming-card {
    max-width: 88% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .best-selling-section .gaming-card .card-img-wrapper,
  .best-selling-steam-ui .gaming-card .card-img-wrapper,
  .pc-platform-section .best-selling-section .gaming-card .card-img-wrapper {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  .best-selling-section .gaming-card .card-content,
  .best-selling-steam-ui .gaming-card .card-content,
  .pc-platform-section .best-selling-section .gaming-card .card-content {
    padding: 0.85rem 1rem 0.95rem !important;
  }
  .best-selling-section .gaming-card .card-title,
  .best-selling-steam-ui .gaming-card .card-title,
  .pc-platform-section .best-selling-section .gaming-card .card-title {
    font-size: 1rem !important;
    min-height: 2.4em !important;
  }
  .best-selling-section .gaming-card .d-flex.align-items-end.justify-content-between.mt-3,
  .best-selling-steam-ui .gaming-card .d-flex.align-items-end.justify-content-between.mt-3,
  .pc-platform-section .best-selling-section .gaming-card .d-flex.align-items-end.justify-content-between.mt-3 {
    padding-top: 0.75rem !important;
  }
}
@media (max-width: 480px) {
  .pc-platform-section .best-selling-section .scroll-item,
  .best-selling-section .scroll-item,
  .best-selling-steam-ui .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  /* Best Selling keeps gap: 20px for single-card slider; excluded from compact gap below */
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section [id$="-popular-scroll-inner"],
  .pc-platform-section [id$="-flash-deals-grid"],
  .pc-platform-section .flash-deals-inner,
  .pc-platform-section .slider-track,
  .pc-platform-section [id$="-track-shooter"],
  .pc-platform-section [id$="-track-action"],
  .pc-platform-section [id$="-track-rpg"],
  .pc-platform-section [id$="-track-horror"],
  .pc-platform-section [id$="-track-racing"],
  .pc-platform-section [id$="-track-simulation"] {
    gap: 0.5rem !important;
  }
}
@media (max-width: 360px) {
  /* Best Selling uses flex carousel — do not apply grid */
  .pc-platform-section .popular-section .scroll-inner,
  .pc-platform-section [id$="-popular-scroll-inner"],
  .pc-platform-section [id$="-flash-deals-grid"],
  .pc-platform-section .flash-deals-inner,
  .pc-platform-section .slider-track,
  .pc-platform-section [id$="-track-shooter"],
  .pc-platform-section [id$="-track-action"],
  .pc-platform-section [id$="-track-rpg"],
  .pc-platform-section [id$="-track-horror"],
  .pc-platform-section [id$="-track-racing"],
  .pc-platform-section [id$="-track-simulation"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

.cart-modern-bg::before {
  display: none !important;
}

/* ========== No vignette, side fades, or dark overlays — removed globally ========== */
.neon-section {
  position: relative;
  overflow: hidden;
  background-color: transparent !important;
  background-image: none !important;
}

.neon-section::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.trending-games-section.neon-section::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.pc-platform-section {
  background-color: transparent !important;
  background-image: none !important;
}
.pc-platform-section::after {
  box-shadow: none !important;
}
/* Exclude best-selling and popular — they use background images; other sections stay no-image */
.pc-platform-section > section:not(.neon-section):not(.best-selling-section):not(.popular-section),
.pc-platform-section .flash-section,
.pc-platform-section .cyber-section {
  background-color: transparent !important;
  background-image: none !important;
}
/* Best Selling uses image background — do not override with solid color */
.pc-platform-section .trending-games-section:not(.neon-section)::before,
.pc-platform-section .best-selling-section::before,
.pc-platform-section .popular-section::before,
.pc-platform-section [id="popular-games-section"]::before,
.pc-platform-section .flash-section::before,
.pc-platform-section .cyber-section[data-glow="cyan"]::before,
.pc-platform-section .cyber-section[data-glow="green"]::before,
.pc-platform-section .cyber-section[data-glow="red"]::before,
.pc-platform-section .cyber-section[data-glow="purple"]::before,
.pc-platform-section .cyber-section[data-glow="orange"]::before,
.pc-platform-section .cyber-section[data-glow="pink"]::before {
  display: none !important;
}
.pc-platform-section .trending-games-section .trending-title-line {
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03), transparent) !important;
}
.pc-platform-section > section {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

/* PC GAMES section: full-width background; bigger under header */
.browse-create-type-link {
  font-size: 0.8rem;
  color: #00f0ff;
  text-decoration: none;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.browse-create-type-link:hover {
  color: #67e8f9;
  text-decoration: underline;
  opacity: 1;
}

/* BROWSE BY CATEGORY & PLATFORM — gaming hero banner (full-section background), symmetrical overlay */
.browse-by-platform-block {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 6rem !important;
  padding-bottom: 3.5rem !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  background-image: url('assets/gaming-hero-banner.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
}
/* Hero: no overlay at all — no vignette, no side panels, no mask. Single continuous background. */
.browse-by-platform-block.neon-section::before,
.browse-by-platform-block::before,
.browse-by-platform-block::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.pc-platform-section > section.neon-section:first-of-type::before,
.pc-platform-section > section:first-of-type::before,
.pc-platform-section > section:first-of-type::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* BROWSE BY CATEGORY hero: full viewport width (break out of content padding) */
.browse-by-platform-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}
.browse-by-platform-block .container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* ========== BROWSE BY CATEGORY & PLATFORM — Premium redesign ========== */
.browse-by-platform-block .text-center.mb-5.mt-3,
.pc-platform-section > section.neon-section:first-of-type .text-center.mb-5.mt-3 {
  margin-bottom: 2rem !important;
  margin-top: 0 !important;
  position: relative;
}
.browse-by-platform-block .text-center.mb-5.mt-3::before,
.pc-platform-section > section.neon-section:first-of-type .text-center.mb-5.mt-3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 140px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.browse-by-platform-block .text-center .display-4,
.pc-platform-section > section.neon-section:first-of-type .text-center .display-4 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(2rem, 4.5vw, 2.75rem) !important;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #00f0ff 0%, #67e8f9 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}
/* Keep gradient visible on child span — prevent .text-neon-cyan from overriding */
.browse-by-platform-block .text-center .display-4 .text-neon-cyan,
.pc-platform-section > section.neon-section:first-of-type .text-center .display-4 .text-neon-cyan {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #00f0ff 0%, #67e8f9 40%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.browse-by-platform-block .text-secondary.mt-3.fs-6,
.pc-platform-section > section.neon-section:first-of-type .text-secondary.mt-3.fs-6 {
  font-size: 0.65rem !important;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.9) !important;
  margin-top: 0.6rem !important;
  margin-bottom: 0.25rem !important;
}
.browse-by-platform-block .browse-create-type-link,
.pc-platform-section > section.neon-section:first-of-type .browse-create-type-link {
  font-size: 0.7rem !important;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
/* Premium animated divider */
.browse-by-platform-block .animated-divider,
.pc-platform-section > section.neon-section:first-of-type .animated-divider {
  width: 80px;
  height: 3px;
  margin: 0.6rem auto 0.5rem;
  background: linear-gradient(90deg, transparent, #00f0ff, #a78bfa, #00f0ff, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  opacity: 1;
  animation: browse-divider-glow 2.5s ease-in-out infinite;
}
@keyframes browse-divider-glow {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 12px rgba(0, 240, 255, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 20px rgba(0, 240, 255, 0.7); }
}

/* Ambient glow behind browse hero */
.pc-platform-section > section.neon-section:first-of-type .container.position-relative::before,
.browse-by-platform-block .container.position-relative::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 600px);
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Premium banner content for browse hero */
.pc-platform-section > section:first-of-type .banner-content,
.browse-by-platform-block .banner-content {
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(15, 23, 42, 0.65));
  border-left: 4px solid #00f0ff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 0 8px 8px 0;
}

/* ========== PC PAGE: full-width black background (no grid/gradient) ========== */
.pc-platform-section {
  width: 100%;
  max-width: 100%;
  margin-top: -150px;
  padding-top: 120px;
  box-sizing: border-box;
  background-color: transparent !important;
  background-image: none !important;
  min-height: 100vh;
  position: relative;
}
.pc-platform-section::before,
.pc-platform-section::after {
  display: none !important;
}

/* PC page sections: transparent — no old dark layers (best-selling and popular use bg images, excluded below) */
.pc-platform-section > section:not(.best-selling-section):not(.popular-section),
.pc-platform-section > section:first-of-type:not(.best-selling-section):not(.popular-section),
.pc-platform-section .trending-games-section,
.pc-platform-section .flash-section,
.pc-platform-section .cyber-section,
.pc-platform-section .game-section,
.pc-platform-section .cyber-category-wrapper {
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  position: relative;
}

.pc-platform-section .trending-games-section {
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}
.pc-platform-section .flash-section {
  background-color: transparent !important;
  background-image: none !important;
}
/* Popular Games on platform pages: sci-fi image background */
.pc-platform-section .popular-section,
.pc-platform-section [id="popular-games-section"] {
  background-color: transparent !important;
  background-image: none !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 420px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
.pc-platform-section .popular-section .glow-spot-pink,
.pc-platform-section .popular-section .grid-lines,
.pc-platform-section [id="popular-games-section"] .glow-spot-pink,
.pc-platform-section [id="popular-games-section"] .grid-lines {
  display: none !important;
}
.pc-platform-section .popular-section .container,
.pc-platform-section [id="popular-games-section"] .container {
  background: transparent !important;
  background-color: transparent !important;
}
/* Best Selling on platform pages: green image only — no dark fill, no overlay */
.pc-platform-section .best-selling-section {
  background-color: transparent !important;
  background-image: url('/assets/best-selling-bg.png') !important;
  background-size: cover !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
  min-height: 500px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
.pc-platform-section .best-selling-section::before,
.pc-platform-section .best-selling-section::after {
  display: none !important;
}
.pc-platform-section .best-selling-section .container {
  background: transparent !important;
  background-color: transparent !important;
}
/* All cyber sections: same global black (no gradients) */
.pc-platform-section .cyber-section[data-glow="red"],
.pc-platform-section .cyber-section[data-glow="cyan"],
.pc-platform-section .cyber-section[data-glow="purple"],
.pc-platform-section .cyber-section[data-glow="green"],
.pc-platform-section .cyber-section[data-glow="orange"],
.pc-platform-section .cyber-section[data-glow="pink"] {
  background-color: transparent !important;
  background-image: none !important;
}

/* First section (BROWSE BY CATEGORY & PLATFORM hero): no extra black — transparent so parent shows */
.pc-platform-section > section:first-of-type {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* TRENDING top line: same as other PC sections (single subtle cyan) */
.pc-platform-section .trending-games-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .best-selling-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.35), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .popular-section::before,
.pc-platform-section [id="popular-games-section"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.35), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .flash-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.4), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .cyber-section[data-glow="red"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.35), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .cyber-section[data-glow="cyan"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.35), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .cyber-section[data-glow="cyan"] .d-flex.align-items-center.justify-content-between {
  align-items: flex-start;
}
.pc-platform-section .cyber-section[data-glow="cyan"] .cyber-title {
  white-space: nowrap;
}
@media (max-width: 576px) {
  .pc-platform-section .cyber-section[data-glow="cyan"] .cyber-title {
    white-space: normal;
  }
}
.pc-platform-section .cyber-section[data-glow="purple"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .cyber-section[data-glow="green"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.35), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .cyber-section[data-glow="orange"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.4), transparent);
  pointer-events: none; z-index: 1;
}
.pc-platform-section .cyber-section[data-glow="pink"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.35), transparent);
  pointer-events: none; z-index: 1;
}

.pc-platform-section .tech-grid-bg,
.pc-platform-section .glow-spot-center,
.pc-platform-section .glow-orb,
.pc-platform-section .grid-lines,
.pc-platform-section .fire-glow,
.pc-platform-section .section-glow,
.pc-platform-section [class*="glow-"] {
  display: none !important;
}

.pc-platform-section > section:first-of-type {
  width: 100%;
  max-width: 100%;
  padding-top: 3rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* First section (BROWSE BY CATEGORY hero): full viewport width */
.pc-platform-section > section:first-of-type {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}
.pc-platform-section > section:first-of-type .container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Hero banner: same subtle frame as global (no extra glow) */
.pc-platform-section > section:first-of-type .cyber-banner-frame {
  height: 320px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
}
.pc-platform-section > section:first-of-type .cyber-banner-frame::before {
  display: none;
}
.pc-platform-section > section:first-of-type .corner-accents span {
  width: 14px;
  height: 14px;
  border-width: 1px;
  border-color: rgba(0, 240, 255, 0.45);
}
.pc-platform-section > section:first-of-type .cyber-banner-frame:hover .corner-accents span {
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: none;
}
.pc-platform-section > section:first-of-type .cyber-banner-frame:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* PC tab: all section backgrounds full width and bigger (more padding) */
.pc-platform-section > section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pc-platform-section .trending-games-section {
  padding-top: 6rem !important;
  padding-bottom: 7rem !important;
}
/* TRENDING title line on PC: match other section lines (cyan tint) */
.pc-platform-section .trending-games-section .trending-title-line {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.04) 75%, transparent) !important;
}

.pc-platform-section .best-selling-section {
  padding-top: 6rem !important;
  padding-bottom: 7rem !important;
}

.pc-platform-section .popular-section,
.pc-platform-section [id="popular-games-section"] {
  padding-top: 6rem !important;
  padding-bottom: 7rem !important;
}

.pc-platform-section .flash-section,
.pc-platform-section .cyber-section,
.pc-platform-section .game-section {
  padding-top: 6rem !important;
  padding-bottom: 7rem !important;
}

.pc-platform-section > section .container {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.pc-platform-inner {
  position: relative;
  z-index: 2;
}

.pc-platform-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* PC page: section titles — Arial, not bold */
.pc-platform-section .section-title,
.pc-platform-section h2.section-title,
.pc-platform-section .trending-games-section .section-title,
.pc-platform-section .best-selling-section .section-title,
.pc-platform-section .popular-section .section-title,
.pc-platform-section .trending-games-title-row .text-white,
.pc-platform-section .popular-title-row .section-title,
.pc-platform-section .d-flex.align-items-center.mb-5 h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: normal !important;
  letter-spacing: 0.15em;
  color: #e2e8f0;
  margin-bottom: 0;
  text-transform: uppercase;
  position: relative;
  padding-left: 0;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
}
.pc-platform-section .cyber-title {
  font-family: Arial, sans-serif !important;
  font-weight: normal !important;
}
.pc-platform-section .section-title .text-purple,
.pc-platform-section .section-title .text-neon-pink,
.pc-platform-section .section-title .text-gradient-purple,
.pc-platform-section .section-title .text-gradient-orange,
.pc-platform-section h2 .text-purple,
.pc-platform-section h2 .text-neon-pink {
  text-shadow: 0 0 24px rgba(255, 0, 255, 0.6), 0 0 40px rgba(139, 92, 246, 0.3);
}
.pc-platform-section .section-subtitle,
.pc-platform-section .section-desc {
  color: rgba(0, 240, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
  max-width: 42ch;
}

/* PC page: GAMING cards — angular, neon border + glow on hover */
.pc-platform-section .game-card,
.pc-platform-section .product-card,
.pc-platform-section .gaming-card,
.pc-platform-section .pop-card,
.pc-platform-section .mini-flash-card {
  background: rgba(8, 10, 18, 0.9);
  border: 2px solid rgba(0, 240, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
  position: relative;
}
.pc-platform-section .game-card::before,
.pc-platform-section .product-card::before,
.pc-platform-section .gaming-card::before,
.pc-platform-section .pop-card::before,
.pc-platform-section .mini-flash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f0ff, #ff00ff, transparent);
  opacity: 0.6;
  z-index: 1;
}
.pc-platform-section .game-card:hover,
.pc-platform-section .product-card:hover,
.pc-platform-section .gaming-card:hover,
.pc-platform-section .pop-card:hover,
.pc-platform-section .mini-flash-card:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.35), 0 0 50px rgba(255, 0, 255, 0.15);
  transform: translateY(-3px);
}
/* POPULAR GAMES: keep purple LED on hover (override PC section cyan/blue) */
.pc-platform-section .popular-section .pop-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-left: 4px solid #a855f7;
}
.pc-platform-section .popular-section .pop-card:hover {
  border-color: rgba(148, 163, 184, 0.12);
  border-left-color: #a855f7;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
}
.pc-platform-section .popular-section .pop-card::before {
  background: linear-gradient(90deg, transparent, #a855f7, #c084fc, transparent);
  opacity: 0.5;
}
.pc-platform-section .popular-section .pop-card:hover::before {
  opacity: 0.5;
  box-shadow: none;
}
.pc-platform-section .game-card:hover::before,
.pc-platform-section .product-card:hover::before,
.pc-platform-section .gaming-card:hover::before,
.pc-platform-section .pop-card:hover::before,
.pc-platform-section .mini-flash-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
}

/* PC page: section dividers — neon line */
.pc-platform-section > section {
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.pc-platform-section > section:last-of-type {
  border-bottom: none;
}

/* PC page: buttons — neon gaming style */
.pc-platform-section .btn-gaming-outline,
.pc-platform-section .btn-gaming-outline.hover-glow,
.pc-platform-section #btn-show-more,
.pc-platform-section [id$="-btn-show-more"],
.pc-platform-section #btn-browse-all {
  border: 2px solid rgba(0, 240, 255, 0.5);
  color: #00f0ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  background: transparent !important;
}
.pc-platform-section .btn-gaming-outline:hover,
.pc-platform-section .btn-gaming-outline.hover-glow:hover,
.pc-platform-section #btn-show-more:hover,
.pc-platform-section [id$="-btn-show-more"]:hover,
.pc-platform-section #btn-browse-all:hover {
  border-color: #00f0ff;
  color: #fff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.9);
  background: transparent !important;
}


/* Animated divider (atgxstore style) */
.animated-divider {
  width: 100px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, transparent, #06b6d4, transparent);
  animation: expandWidth 3s infinite alternate;
}

@keyframes expandWidth {
  0% { width: 50px; opacity: 0.5; }
  100% { width: 150px; opacity: 1; }
}

/* PC page: main hero title — smaller, compact */
.pc-platform-section .text-neon-cyan,
.pc-platform-section h1 .text-neon-cyan,
.browse-by-platform-block .text-neon-cyan,
.browse-by-platform-block h1 .text-neon-cyan {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #00f0ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  text-transform: uppercase;
}

.pc-platform-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #00f0ff;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.9), 0 0 60px rgba(0, 240, 255, 0.4);
  text-transform: uppercase;
}

.browse-by-heading {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(0, 240, 255, 0.7);
  margin: 0.75rem 0 0 0;
  text-align: center;
}
.pc-platform-section > section:first-of-type .text-center p.text-secondary.fs-6 {
  font-size: 0.9rem !important;
}

.pc-platform-section > section:first-of-type .animated-divider {
  width: 48px;
  height: 1px;
  margin: 0.4rem auto 0.35rem;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.5), transparent);
  box-shadow: none;
  opacity: 0.8;
}

/* PC first block: tighter spacing */
.pc-platform-section > section:first-of-type .text-center.mb-5 {
  margin-bottom: 1.25rem !important;
  margin-top: 0.5rem !important;
}
.pc-platform-section > section:first-of-type .text-center .mt-2 { margin-top: 0.5rem !important; }
.pc-platform-section > section:first-of-type .text-center .mt-3 { margin-top: 0.4rem !important; }
.pc-platform-section > section:first-of-type #pc-platform-buttons {
  margin-bottom: 3rem !important;
  gap: 0.75rem;
}

.pc-platform-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.browse-by-platform-block .d-flex.flex-wrap.justify-content-center.gap-3.mb-5,
.pc-platform-section > section.neon-section:first-of-type .d-flex.flex-wrap.justify-content-center.gap-3.mb-5 {
  gap: 0.75rem !important;
  margin-bottom: 2.5rem !important;
}

/* PC platform tabs — glassmorphism pills */
.pc-platform-tab,
.home-platform-btn {
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pc-platform-tab::before,
.home-platform-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.pc-platform-tab:hover,
.home-platform-btn:hover {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.pc-platform-tab:hover::before,
.home-platform-btn:hover::before {
  opacity: 1;
}

.pc-platform-tab:active,
.home-platform-btn:active {
  transform: translateY(0) scale(0.98);
}

.pc-platform-tab.active,
.home-platform-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(0, 240, 255, 0.04));
  border-color: rgba(0, 240, 255, 0.6);
  color: #00f0ff;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.pc-platform-tab.active::before,
.home-platform-btn.active::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), transparent);
}

/* --- Cyber Banner Frame — premium card with gradient border --- */
.cyber-banner-frame,
.browse-banner-frame {
  position: relative;
  height: 340px;
  max-width: min(1120px, 94%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(167, 139, 250, 0.04));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 240, 255, 0.15);
  margin-bottom: 2.5rem;
  transition: all 0.4s ease;
}

.pc-platform-section > section.neon-section:first-of-type .cyber-banner-frame:hover,
.browse-by-platform-block .cyber-banner-frame:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.08);
  transform: translateY(-2px);
}

/* Browse hero: ambient glow behind content */
.pc-platform-section > section.neon-section:first-of-type .container.position-relative,
.browse-by-platform-block .container.position-relative {
  position: relative;
}
.pc-platform-section > section.neon-section:first-of-type .container.position-relative::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pc-platform-section > section.neon-section:first-of-type .container.position-relative > * {
  position: relative;
  z-index: 1;
}

/* Browse hero: premium banner content */
.pc-platform-section > section.neon-section:first-of-type .banner-content,
.browse-by-platform-block .banner-content {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(15, 23, 42, 0.6));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 4px solid #00f0ff;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Ambient glow behind browse hero */
.pc-platform-section > section.neon-section:first-of-type::after,
.browse-by-platform-block::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Browse hero banner-content — premium glass card */
.pc-platform-section > section.neon-section:first-of-type .banner-content,
.browse-by-platform-block .banner-content {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 4px solid #00f0ff;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 20px 28px;
}

/* Browse hero: ambient glow behind content */
.pc-platform-section > section.neon-section:first-of-type .container.position-relative::before,
.browse-by-platform-block .container.position-relative::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pc-platform-section > section.neon-section:first-of-type .container.position-relative > *,
.browse-by-platform-block .container.position-relative > * {
  position: relative;
  z-index: 1;
}

/* No side or edge fade — flat, uniform banner background */
.cyber-banner-frame::after,
.browse-banner-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.cyber-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('assets/explore-wallpaper.png') center center / cover no-repeat;
  background-color: var(--bg-card, #0a0a0f);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  transition: transform 5s ease, opacity 0.3s;
}
/* Product pic: fit wallpaper and adapt to it (cover + center, fills frame) */
#pc-wallpaper-hero .cyber-banner-img,
#pc-wallpaper-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #0a0a0f !important;
}
#product-wallpaper-section .wallpaper-bg,
.product-wallpaper-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #0a0a0f !important;
}

.cyber-banner-frame:hover .cyber-banner-img {
  transform: scale(1.05);
  opacity: 1;
}

/* Home "BROWSE BY CATEGORY & PLATFORM" hero: fantasy castle wallpaper — flat, no side fades or vignette */
.browse-banner-bg {
  background-image: url('assets/hero-fantasy-castle.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.95;
}

/* Scanlines — subtle in hero */
.scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.08) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
}

/* Banner only: very faint scanline so it blends (reference) */
.cyber-banner-frame .scanlines,
.browse-banner-frame .scanlines {
  display: block !important;
  opacity: 0.25;
}

/* Corner accents — thin cyan L-shapes (reference) */
.corner-accents span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 240, 255, 0.45);
  z-index: 2;
  pointer-events: none;
  transition: 0.25s ease;
}

.corner-accents span:nth-child(1) {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.corner-accents span:nth-child(2) {
  top: 8px;
  right: 8px;
  border-left: 0;
  border-bottom: 0;
}

.corner-accents span:nth-child(3) {
  bottom: 8px;
  left: 8px;
  border-right: 0;
  border-top: 0;
}

.corner-accents span:nth-child(4) {
  bottom: 8px;
  right: 8px;
  border-left: 0;
  border-top: 0;
}

.cyber-banner-frame:hover .corner-accents span,
.browse-banner-frame:hover .corner-accents span {
  border-color: rgba(0, 240, 255, 0.7);
}

.pc-wallpaper-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.2) 75%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .cyber-banner-frame { height: 200px; }
}

/* Banner content — glassmorphism card for browse hero */
.banner-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 3;
  padding: 20px 32px;
  background: rgba(10, 15, 28, 0.75);
  border-left: 4px solid #00f0ff;
  border-radius: 0 8px 8px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* PC tab: banner content — a bit smaller */
#pc-wallpaper-hero .banner-content {
  padding: 20px 28px;
  border-left-width: 5px;
  gap: 0.5rem;
  bottom: 24px;
  left: 24px;
}

#pc-wallpaper-hero .banner-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

#pc-wallpaper-hero .banner-content .text-cyan.small {
  font-size: 0.95rem;
}

.pc-wallpaper-explore {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.pc-wallpaper-subtitle {
  font-size: 1rem;
  color: #06b6d4;
  letter-spacing: 0.08em;
  margin: 0;
}

.pc-wallpaper-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #c41e3a 0%, #e02545 100%);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.5);
}

.pc-wallpaper-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 1.25rem 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.pc-wallpaper-cta-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pc-wallpaper-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px var(--led-glow-gold);
}

.pc-wallpaper-cta {
  padding: 0.9rem 2rem;
  background: #06b6d4;
  border: none;
  border-radius: 6px;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pc-wallpaper-cta:hover {
  background: #22d3ee;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
}

/* TRENDING GAMES section: no old dark layer */
.trending-games-section {
  margin-top: 0;
  padding: 4rem 0 5rem;
  background-color: transparent;
  background-image: none;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.trending-games-section .tech-grid-bg,
.trending-games-section .glow-spot-center {
  display: none !important;
}

.trending-games-section .container {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.glow-spot-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.text-gradient-purple {
  background: linear-gradient(90deg, #7c3aed, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-neon-green {
  color: #a855f7;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Show more buttons: always transparent, no fill from .hover-glow, .btn-gaming-outline, or Bootstrap .btn */
button.btn.btn-gaming-outline.hover-glow,
button.btn.btn-gaming-outline.hover-glow:hover,
.btn-gaming-outline.hover-glow,
.btn-gaming-outline.hover-glow:hover,
.trending-games-section #btn-show-more,
.trending-games-section #btn-show-more:hover,
.trending-games-section .btn-gaming-outline.hover-glow,
.trending-games-section .btn-gaming-outline.hover-glow:hover,
.pc-platform-section [id$="-btn-show-more"],
.pc-platform-section [id$="-btn-show-more"]:hover {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.trending-games-title-row {
  gap: 1rem;
}

.trending-games-section .trending-title-line {
  height: 3px;
  min-height: 3px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.15), rgba(255, 255, 255, 0.05) 30%, transparent 70%);
  border-radius: 2px;
  overflow: hidden;
}
.trending-games-section .trending-title-line .animated-line {
  position: absolute;
  top: 0;
  left: -100px;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.9), rgba(236, 72, 153, 0.6), transparent);
  border-radius: 2px;
  animation: slideLine 3s infinite linear;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.trending-container {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.trending-header-left {
  max-width: 640px;
}

.trending-title {
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
}

/* TRENDING GAMES title: Arial and bold (Steam / PC platform view) */
.pc-platform-section .trending-games-section .trending-title,
.pc-platform-section .trending-games-section .gaming-section-title,
.pc-platform-section .trending-games-section .gaming-title-main,
.pc-platform-section .trending-games-section .gaming-title-accent {
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
}
.trending-games-section .trending-title,
.trending-games-section .gaming-section-title {
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
}

.trending-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: #a3a3a3;
}

.trending-subtitle {
  font-size: 0.95rem;
}

.trending-header-right {
  max-width: 360px;
}

.trending-badges {
  gap: 0.5rem;
}

.trending-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 16px rgba(15, 23, 42, 0.8);
}

.trending-pill-live {
  border-color: rgba(45, 212, 191, 0.8);
  background: radial-gradient(circle at 0 0, rgba(45, 212, 191, 0.22), transparent 60%),
    rgba(6, 95, 70, 0.9);
  color: #ecfeff;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.45);
}

.trending-note {
  opacity: 0.8;
}

.trending-grid-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.16), transparent 65%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(9, 9, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(129, 140, 248, 0.28);
  overflow: hidden;
}

.trending-grid-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(94, 234, 212, 0.15);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Larger card images on desktop in TRENDING section */
.trending-grid-shell .game-image-container,
.trending-grid-shell .game-card .game-image-container {
  height: 240px;
  min-height: 200px;
}
@media (max-width: 1024px) {
  .trending-grid-shell .game-image-container,
  .trending-grid-shell .game-card .game-image-container {
    height: 200px;
  }
}
@media (max-width: 768px) {
  .trending-grid-shell .game-image-container,
  .trending-grid-shell .game-card .game-image-container {
    height: 190px;
  }
}
@media (max-width: 480px) {
  .trending-grid-shell .game-image-container,
  .trending-grid-shell .game-card .game-image-container {
    height: 180px;
  }
}

.trending-grid-shell::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0), rgba(45, 212, 191, 0.9), rgba(129, 140, 248, 0.9), rgba(45, 212, 191, 0));
  opacity: 0.85;
}

.trending-grid-shell .row {
  position: relative;
  z-index: 1;
  gap: 24px;
}

.trending-grid-shell .trending-game-col {
  display: flex;
}

@media (max-width: 991.98px) {
  .trending-grid-shell {
    padding-inline: 1rem;
    border-radius: 18px;
  }

  .trending-header-right {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .trending-grid-shell {
    padding-inline: 0.75rem;
    padding-block: 1.25rem;
  }

  .trending-title {
    font-size: 1.6rem;
  }
}

.trending-games-title-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.trending-games-title {
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
}

.trending-led-line {
  flex: 1;
  height: 2px;
  min-height: 2px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.animated-line {
  position: absolute;
  top: 0;
  left: -100px;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  animation: slideLine 4s infinite linear;
}

@keyframes slideLine {
  0% { left: -100px; }
  100% { left: 100%; }
}

.trending-games-title {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
}

.trending-games-title .trending-word {
  color: #ffffff;
}

.trending-games-title .games-word {
  color: #a855f7;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* Trending grid — 3 cols desktop, 2 tablet, 1 mobile */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 768px) {
  .trending-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .trending-grid {
    gap: 1rem;
  }
}

/* Game card (atgxstore TRENDING style) */
.game-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: #a855f7;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.game-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-image-container {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.platform-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card .card-content {
  padding: 1.25rem 1.5rem;
}

.game-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin: 0 0 0.5rem 0;
  transition: 0.3s;
}

.game-card:hover .game-title {
  color: #a855f7;
}

.dot-online {
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  box-shadow: 0 0 5px #a855f7;
}

.text-secondary {
  color: #94a3b8;
}

.game-card .price-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.game-card .current-price {
  font-family: var(--price-font);
  font-weight: 800;
  font-size: 1.55rem;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.game-card .currency {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.game-card:hover .current-price {
  color: #a7f3d0;
}

.game-card:hover .price-box {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.game-card .d-flex {
  display: flex;
}

.game-card .justify-content-between {
  justify-content: space-between;
}

.game-card .align-items-center {
  align-items: center;
}

.game-card .gap-2 {
  gap: 0.5rem;
}

.game-card .icon-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.3s;
}

.game-card:hover .icon-arrow {
  background: #a855f7;
  transform: rotate(-45deg);
}

.btn-gaming-primary {
  background: linear-gradient(90deg, #7c3aed, #db2777);
  color: white;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  flex: 1;
}

.game-card:hover .btn-gaming-primary {
  box-shadow: 0 0 15px rgba(219, 39, 119, 0.4);
}

.fav-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #ccc;
  cursor: pointer;
  transition: 0.3s;
}

.fav-btn:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
  color: #ff0000;
}

.small {
  font-size: 0.875rem;
}

.btn-view-details {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-details:hover {
  background: linear-gradient(135deg, #9333ea 0%, #db2777 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.45);
}

/* Heart — small dark gray, right of Buy Now */
.btn-wishlist {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-wishlist:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.3);
}

/* Best Selling section — full-width Genji background; no dark fill, overlay, or inner background */
.best-selling-section {
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
  padding: 3rem 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background-color: transparent;
  background-image: url('/assets/best-selling-bg.png');
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  min-height: 500px;
}
.best-selling-section::before,
.best-selling-section::after {
  display: none;
}
.best-selling-section .glow-orb {
  display: none;
}
.best-selling-section .container,
.best-selling-section .position-relative.mb-4 {
  position: relative;
  z-index: 2;
  background: transparent !important;
  background-color: transparent !important;
}

/* Popular Games section — full-width sci-fi background; no dark fill or overlay */
.popular-section {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background-color: transparent;
  background-image: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 420px;
}
.popular-section .glow-spot-pink,
.popular-section .grid-lines {
  display: none;
}
.popular-section .container,
.popular-section .position-relative.mb-4,
.popular-section .popular-scroll-wrap {
  position: relative;
  z-index: 2;
  background: transparent !important;
  background-color: transparent !important;
  padding-left: 1rem !important;
  padding-right: 2rem !important;
}
.popular-section .scroll-container {
  z-index: 1;
  max-width: 1300px;
  margin: 0 56px 0 1rem;
  overflow-x: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.popular-section .scroll-container::-webkit-scrollbar {
  display: none;
}
.popular-section .popular-scroll-wrap {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.popular-section .popular-scroll-wrap::-webkit-scrollbar {
  display: none;
}
.popular-section .scroll-inner {
  justify-content: flex-start;
}

/* Gaming card (Best Selling atgxstore style) */
.gaming-card {
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gaming-card:hover {
  transform: translateY(-10px);
  border-color: #a855f7;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2), inset 0 0 20px rgba(168, 85, 247, 0.05);
}

.gaming-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.best-selling-card .card-img-wrapper {
  height: 180px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.best-selling-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gaming-card:hover .card-img {
  transform: scale(1.1);
}

.platform-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ccc;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.best-selling-card .card-content {
  padding: 1rem;
}

.best-selling-card .card-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.best-selling-card .price-block .text-neon-green {
  font-size: 1.1rem;
}

.best-selling-card .btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transition: 0.3s;
}

.gaming-card:hover .btn-icon {
  background: #a855f7;
  transform: rotate(-45deg);
}

.fw-bold {
  font-weight: 700;
}

.d-flex {
  display: flex;
}

.align-items-end {
  align-items: flex-end;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.best-selling-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.best-selling-title .text-gradient-purple {
  -webkit-text-fill-color: initial;
}

.best-selling-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
  border-color: rgba(168, 85, 247, 0.4);
}

.best-selling-carousel {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.best-selling-carousel::-webkit-scrollbar {
  display: none;
}

.best-selling-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.best-selling-card {
  flex-shrink: 0;
  width: 280px;
}

.btn-browse-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-browse-all:hover {
  border-color: rgba(168, 85, 247, 0.5);
  color: #c084fc;
}

/* Show more — dark gray background, white border */
.btn-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 2.5rem auto 0;
  padding: 1rem 2.5rem;
  background: #1a1a1e;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-show-more svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-show-more:hover {
  background: #252529;
  border-color: rgba(168, 85, 247, 0.5);
  color: #c084fc;
}

/* PC product grid — 3 cols desktop, 2 tablet, 1 mobile; larger cards */
.pc-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}
@media (max-width: 1024px) {
  .pc-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 768px) {
  .pc-product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .pc-product-grid {
    gap: 1rem;
  }
}

.pc-product-grid .product-card {
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(100, 130, 160, 0.2);
  transition: all var(--transition-smooth);
}
.trending-grid-shell .pc-product-grid .product-card,
.trending-grid-shell .product-card {
  min-height: 220px;
}

.pc-product-grid .product-card:hover {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: var(--shadow-hover), 0 0 24px rgba(125, 211, 252, 0.2);
}

/* Featured strip cards & product cards — images fill entire area */
.featured-card-bg,
.product-card-image,
.pc-wallpaper-bg,
.wallpaper-preview-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.featured-card {
  position: relative;
  overflow: hidden;
}

.featured-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--card-bg-image);
  background-color: var(--bg-card);
}

/* Product card: full-bleed image, title overlay, CTA */
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 300px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.25s ease;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover), 0 0 40px var(--led-glow-soft), 0 12px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(168, 85, 247, 0.35);
}

.product-card-image {
  position: absolute;
  inset: 0;
  background: var(--card-bg-image, var(--bg-card)) center/cover no-repeat;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.5) 35%, transparent 65%);
  padding: 1.5rem;
  transition: background 0.35s ease;
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.45) 40%, transparent 60%);
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-card-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.product-card .price {
  color: var(--gold);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
}

.product-card .btn-add {
  width: 100%;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #c41e3a 0%, #e02545 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.product-card .btn-add:hover {
  background: linear-gradient(135deg, #e02545 0%, #ff2d55 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.45);
}

.product-card .btn-add:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.cart-icon-gaming {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Footer — normal flow, below all content; always visible without zoom */
.main-footer {
  position: relative;
  width: 100%;
  margin: 0;
  margin-top: 12px;
  margin-bottom: 0;
  padding: 2px 0 0;
  padding-bottom: 0;
  text-align: left;
  background-color: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
  border-top: none;
}
/* Product section footer: full-width section, centered container holds border + content */
.product-section-footer {
  width: 100%;
  box-sizing: border-box;
}
.product-section-footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1400px;
  width: min(1400px, 92%);
  margin-top: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: 0.5rem;
  box-sizing: border-box;
  border-top: none;
}
.product-section-footer .main-footer {
  border-top: none;
}
.product-section-footer .main-footer-content {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}
.product-section-footer .footer-copyright {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 2.5rem;
  padding: 1rem 0 0.5rem;
  border-top: none;
}
/* Remove top divider line above footer */
.product-section-footer .main-footer-content,
.main-footer-content {
  border-top: none !important;
}

/* Giftcard view: hard-stop horizontal page scrollbar on all widths */
html:has(#gifts-platform-wallpaper:not([hidden])),
body:has(#gifts-platform-wallpaper:not([hidden])),
body:has(#gifts-platform-wallpaper:not([hidden])) .content {
  overflow-x: hidden !important;
}

/* Giftcard mode: fully suppress horizontal scrollbar track/thumb */
html:has(#gifts-platform-wallpaper:not([hidden]))::-webkit-scrollbar:horizontal,
body:has(#gifts-platform-wallpaper:not([hidden]))::-webkit-scrollbar:horizontal,
body:has(#gifts-platform-wallpaper:not([hidden])) .content::-webkit-scrollbar:horizontal,
#gifts-platform-wallpaper::-webkit-scrollbar:horizontal,
#gifts-platform-wallpaper *::-webkit-scrollbar:horizontal {
  height: 0 !important;
  display: none !important;
}

/* Fallback when :has is not supported */
#gifts-platform-wallpaper:not([hidden]),
#gifts-platform-wallpaper:not([hidden]) ~ .product-section-footer,
#gifts-platform-wallpaper:not([hidden]) ~ .product-section-footer .container,
#gifts-platform-wallpaper:not([hidden]) ~ .product-section-footer .main-footer,
#gifts-platform-wallpaper:not([hidden]) ~ .product-section-footer .main-footer-content {
  overflow-x: clip !important;
  max-width: 100% !important;
}
/* Footer uses same container as product sections — width, margins, padding */
.main-footer-content {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  line-height: 1.2;
}
.footer-links,
.footer-trust {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li,
.footer-trust li {
  margin-bottom: 0.35rem;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-trust li {
  margin-bottom: 0;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-links a:hover {
  color: #c084fc;
  opacity: 1;
}
.footer-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-trust li i {
  color: #a855f7;
  width: 1.1rem;
  font-size: 1rem;
}
.footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-payment-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-payment-icon i {
  font-size: 1rem;
  opacity: 0.95;
}
.footer-payment-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
}
.footer-ssl {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}
.footer-ssl i {
  color: #a855f7;
  font-size: 0.95rem;
}
.footer-column-follow .footer-heading {
  margin-bottom: 1rem;
}
.footer-follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-follow-list li {
  margin: 0;
}
.footer-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-follow-link i {
  font-size: 1rem;
  width: 1.2em;
  text-align: center;
}
.footer-follow-list li:nth-child(1) .footer-follow-link i { color: #1877F2; }
.footer-follow-list li:nth-child(2) .footer-follow-link i { color: #E4405F; }
.footer-follow-list li:nth-child(3) .footer-follow-link i { color: #1DA1F2; }
.footer-follow-list li:nth-child(4) .footer-follow-link i { color: #FF0000; }
.footer-follow-list li:nth-child(5) .footer-follow-link i { color: #5865F2; }
.footer-follow-link:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-follow-link:hover i {
  opacity: 1;
}
.footer-follow-link:hover i {
  opacity: 1;
}
.footer-copyright {
  width: min(1400px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.2rem clamp(1rem, 3vw, 2.5rem) 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  box-sizing: border-box;
}
.footer-copyright p {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}
.footer-copyright-brand {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 0.3rem !important;
  background: var(--accent-gradient, linear-gradient(135deg,#a855f7,#7c3aed));
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
@media (max-width: 992px) {
  .main-footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .main-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .main-footer-content,
  .footer-copyright {
    width: 100%;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* ===== About ATG modal (Driffle-style) ===== */
@keyframes about-atg-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes about-atg-orbit-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes about-atg-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes about-atg-scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.about-atg-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}
.about-atg-modal[aria-hidden="false"] {
  display: flex;
}
.about-atg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  animation: about-atg-fade-in 0.3s ease forwards;
}
.about-atg-modal[aria-hidden="false"] .about-atg-modal-inner {
  animation: about-atg-scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.about-atg-modal-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 560px;
  width: 100%;
  padding: 2.5rem 2rem 2.5rem;
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.12), 0 0 120px rgba(0, 0, 0, 0.5);
}
.about-atg-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.about-atg-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Orbit container: top of modal, text below — layout like reference image */
.about-atg-orbit-container {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
  --orbit-size: 340;
  /* Middle circle r=250 in viewBox 600 → px radius = size * 250 / 600 */
  --orbit-radius: calc(var(--orbit-size) * 250 / 600 * 1px);
  pointer-events: none;
}
.about-atg-orbital-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.about-atg-orbital-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  animation: about-atg-orbit-reverse 32s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .about-atg-orbital-icons {
    animation: none;
  }
}
.about-atg-orbital-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Place icon on the middle circle (r=250): rotate by angle, translate outward by exact radius, counter-rotate icon */
  transform: rotate(var(--angle, 0deg)) translateY(calc(-1 * var(--orbit-radius))) rotate(calc(-1 * var(--angle, 0deg)));
  color: rgba(34, 211, 238, 0.7);
  font-size: 1.35rem;
  transition: color 0.2s;
}
.about-atg-orbital-icon:hover {
  color: rgba(34, 211, 238, 1);
}
@media (max-width: 640px) {
  .about-atg-orbit-container {
    width: 380px;
    height: 380px;
    --orbit-size: 380;
  }
  .about-atg-orbital-icon {
    transform: rotate(var(--angle, 0deg)) translateY(calc(-1 * var(--orbit-radius))) rotate(calc(-1 * var(--angle, 0deg)));
  }
}
.about-atg-content {
  text-align: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.about-atg-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 1rem;
}
.about-atg-highlight {
  color: #22d3ee;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}
.about-atg-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.about-atg-cta {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25) 0%, rgba(34, 211, 238, 0.15) 100%);
  color: #22d3ee;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}
.about-atg-cta:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.35) 0%, rgba(34, 211, 238, 0.2) 100%);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.2);
}

/* ===== Category sections (Popular, Flash, Top Shooter, etc.) ===== */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient-purple {
  background: linear-gradient(to right, #d946ef, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-orange {
  background: linear-gradient(to right, #fbbf24, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Popular Games - atgxstore scroll carousel */
.popular-section .popular-title-row,
.flash-section .flash-title-row {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

/* POPULAR GAMES title: Bebas Neue */
.popular-section .popular-title-row .section-title,
.popular-section .popular-title-row h2.section-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem) !important;
  color: #ffffff !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  /* Subtle glitch, minimal LED */
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.6),
    -0.5px 0 rgba(0, 220, 255, 0.25),
    0.5px 0 rgba(255, 100, 130, 0.25);
}
.popular-section .popular-title-row .section-title .text-neon-pink,
.popular-section .popular-title-row h2.section-title .text-neon-pink {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  color: #ff3d96 !important;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-shadow:
    0 0 6px rgba(255, 61, 150, 0.5),
    0 0 14px rgba(236, 72, 153, 0.25);
}

.popular-section-title,
.flash-section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.popular-title-line,
.flash-title-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.glow-spot-pink {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 30px;
  pointer-events: none;
  z-index: 0;
}

.fire-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.animated-line-pink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #e879f9, transparent);
  animation: slideLinePink 4s infinite linear;
}

.animated-line-orange {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
  animation: slideLinePink 3s infinite linear;
}

.flash-icon {
  margin-right: 0.5rem;
  animation: pulse 1s infinite;
}

@keyframes slideLinePink {
  0% { left: -100px; }
  100% { left: 100%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Scroll container (Popular Games) */
.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scroll-container .scroll-inner {
  flex-shrink: 0;
}

.scroll-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.35s ease;
}

.scroll-item {
  flex: 0 0 calc(20% - 16px);
  min-width: 0;
}

@media (max-width: 1200px) { .scroll-item { flex: 0 0 calc(25% - 15px); } }
@media (max-width: 992px) { .scroll-item { flex: 0 0 calc(33.33% - 14px); } }
@media (max-width: 768px) { .scroll-item { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 500px) { .scroll-item { flex: 0 0 85%; } }

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(232, 121, 249, 0.3);
  color: #e879f9;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.scroll-btn:hover {
  background: #e879f9;
  color: #000;
  box-shadow: 0 0 15px rgba(232, 121, 249, 0.5);
}

.scroll-btn-left {
  left: 0;
}

.scroll-btn-right {
  right: 0;
}

.popular-scroll-wrap {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.z-2 { z-index: 2; }
.d-block { display: block; }
.h-100 { height: 100%; }
.text-decoration-none { text-decoration: none; }
.position-relative { position: relative; }
.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.border-top { border-top: 1px solid rgba(255,255,255,0.1); }
.border-secondary { border-color: rgba(255,255,255,0.1); }
.p-3 { padding: 1rem; }
.text-white-50 { color: rgba(255,255,255,0.5); }
.fs-5 { font-size: 1.1rem; }
.fs-6 { font-size: 0.9rem; }
.fw-bold { font-weight: 700; }

.pop-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.pop-card:hover {
  transform: translateY(-8px);
  border-color: #e879f9;
  box-shadow: 0 10px 30px rgba(232, 121, 249, 0.15);
}

.rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #e879f9;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 5px 12px;
  border-bottom-right-radius: 12px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
}

.pop-img-wrapper {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* POPULAR GAMES: product UI — clear hierarchy, spacing, polish */
.popular-section .pop-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid #a855f7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.popular-section .pop-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.popular-section .pop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-left-color: #a855f7;
  border-color: rgba(255, 255, 255, 0.08);
}
.popular-section .pop-img-wrapper {
  aspect-ratio: 16 / 9;
  min-height: 120px;
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  overflow: hidden;
  position: relative;
  background: #0d0d0d;
  flex-shrink: 0;
  width: 100%;
}
.popular-section .pop-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
  pointer-events: none;
}
.popular-section .pop-img-wrapper .rank-badge {
  top: 10px;
  right: 10px;
  left: auto;
  width: 33px;
  height: 33px;
  min-width: 33px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease;
}
.popular-section .pop-card:hover .pop-img-wrapper .rank-badge {
  transform: scale(1.05);
}
.popular-section .pop-card-body {
  padding: 1rem 1.1rem 1.15rem;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.popular-section .pop-type-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 0.4rem;
}
.popular-section .pop-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.popular-section .pop-type-icon-img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  display: block;
}
.popular-section .pop-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.6rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  width: fit-content;
  letter-spacing: 0.03em;
}
.popular-section .pop-platform i {
  font-size: 0.65rem;
  opacity: 0.85;
}
.popular-section .pop-title {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f8fafc;
  margin: 0.52rem 0 0.72rem;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55em;
  white-space: normal !important;
  word-break: break-word;
}
/* POPULAR GAMES: price row — pill + CTA */
.popular-section .pop-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Desktop only: taller/more vertical Popular Games cards */
@media (min-width: 769px) {
  .popular-section .pop-img-wrapper {
    aspect-ratio: 3 / 4;
    min-height: 160px;
  }
  .popular-section .pop-card-body {
    padding: 1.35rem 1.15rem 1.65rem;
  }
  .popular-section .pop-type-row {
    margin-bottom: 0.7rem;
  }
  .popular-section .pop-platform {
    margin-bottom: 0.85rem;
  }
  .popular-section .pop-title {
    margin: 0.8rem 0 1.05rem;
  }
  .popular-section .pop-price-row {
    padding-top: 1.15rem;
  }
}

.popular-section .pop-account-access-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.popular-section .pop-account-access-label {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.popular-section .pop-price-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 13px;
  background: #212121 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  min-width: 0;
}
.popular-section .pop-card .pop-price-wrap {
  background: #212121 !important;
}
.popular-section .pop-price {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.22rem;
  line-height: 1;
  color: #f8fafc;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.popular-section .pop-currency {
  font-family: Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: bold;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.popular-section .pop-currency[data-currency="IQD"] {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.2);
}
.popular-section .pop-chevron {
  width: 37px;
  height: 37px;
  border-radius: 8px;
  background: #a855f7;
  color: #fff;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.35);
}
.popular-section .pop-card-link:hover .pop-chevron {
  background: #c084fc;
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.45);
}
.popular-section .pop-card:hover .pop-img {
  transform: scale(1.06);
  filter: brightness(1);
}
.popular-section .scroll-btn {
  display: flex !important;
  visibility: visible !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  z-index: 15;
  align-items: center;
  justify-content: center;
}
.popular-section .scroll-btn:hover {
  background: #2a2a2a;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.popular-section .scroll-btn i {
  font-size: 1.15rem;
}
.popular-section .scroll-btn-left {
  left: -2.5rem;
}
.popular-section .scroll-btn-right {
  right: -4rem;
}
.popular-section .scroll-item {
  flex: 0 0 var(--popular-item-width, 244px) !important;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.popular-section .scroll-item .pop-card {
  width: 100%;
}
/* 4-per-row: --popular-item-width set by JS; breakpoints above 768px removed; mobile grid overrides below */
@media (max-width: 992px) {
  /* pop-img-wrapper uses aspect-ratio 16/9 — fits UI at all widths */
}
@media (max-width: 768px) {
  .popular-section .scroll-item { flex: 0 0 228px !important; }
  .popular-section .pop-card-body { padding: 0.9rem 1.05rem 1.05rem; }
  .popular-section .pop-title { font-size: 1rem; min-height: 2.4em; }
  .popular-section .pop-price { font-size: 1.12rem; }
  .popular-section .pop-price-wrap { padding: 6px 11px; }
  .popular-section .pop-chevron { width: 35px; height: 35px; font-size: 0.88rem; }
}
@media (max-width: 500px) {
  .popular-section .scroll-item { flex: 0 0 202px !important; }
  .popular-section .pop-card-body { padding: 0.8rem 0.95rem 0.95rem; }
  .popular-section .pop-title { font-size: 0.92rem; min-height: 2.25em; }
  .popular-section .pop-price { font-size: 1.05rem; }
  .popular-section .pop-price-wrap { padding: 5px 9px; gap: 5px; }
  .popular-section .pop-currency { font-size: 0.62rem; padding: 2px 4px; }
  .popular-section .pop-chevron { width: 33px; height: 33px; font-size: 0.82rem; }
}

.pop-img-wrapper img,
.pop-img-wrapper .pop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pop-card:hover .pop-img-wrapper img,
.pop-card:hover .pop-img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

.pop-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: 0.3s;
}

.pop-card:hover .pop-overlay {
  opacity: 1;
}

.pop-card .btn-icon-only {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
}

.pop-card .btn-icon-only:hover {
  background: #e879f9;
  color: #fff;
  transform: scale(1.1);
}

.pop-card-content,
.pop-card .card-body {
  padding: 1rem;
}

.pop-card .platform-tag,
.pop-card .mb-2 {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.pop-card .pop-price,
.pop-card .text-neon-pink {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #e879f9 !important;
  text-shadow: 0 0 10px rgba(232, 121, 249, 0.4);
  font-size: 1.1rem;
}

/* POPULAR GAMES: force price style (override .pop-card .pop-price above) */
.popular-section .pop-card .pop-price {
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
  font-size: 1.5rem !important;
  color: #f1f5f9 !important;
  text-shadow: none;
}
@media (max-width: 768px) {
  .popular-section .pop-card .pop-price { font-size: 1.4rem !important; }
}
@media (max-width: 500px) {
  .popular-section .pop-card .pop-price { font-size: 1.25rem !important; }
}

/* Flash Deals - layout: one large featured (PRE-ORDER) left + 2x2 smaller cards right (like reference) */
.flash-deals-layout {
  display: flex;
  gap: 1.1rem;
  align-items: stretch;
  min-height: 0;
}
.flash-deals-featured {
  flex: 0 0 360px;
  min-width: 320px;
  max-width: 38%;
  align-self: flex-start;
}
.flash-deals-scroll-wrap {
  min-width: 0;
  overflow: hidden;
  flex: 1;
}
.flash-deals-scroll-container {
  overflow: visible;
  width: 100%;
  height: 100%;
}
.flash-deals-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  min-height: 0;
  height: 100%;
  max-width: 600px;
  margin-left: 2.25rem;
}

/* Featured card (PRE-ORDER) - large left card, prominent like reference */
.flash-featured-card {
  position: relative;
  background: linear-gradient(172deg, #212126 0%, #1a1a1e 40%, #151518 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 5px solid #a855f7;
  border-radius: 16px;
  overflow: hidden;
  padding: 1.35rem;
  height: auto;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05), 2px 0 20px -4px rgba(168, 85, 247, 0.25);
}
.flash-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
  opacity: 0.8;
  pointer-events: none;
}
.flash-featured-card:hover {
  border-left-color: #c084fc;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06), 2px 0 28px -4px rgba(168, 85, 247, 0.4);
  transform: translateY(-5px);
}
.flash-featured-label {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f3e8ff;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(124, 58, 237, 0.14) 100%);
  border-radius: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 20px -4px rgba(168, 85, 247, 0.2);
}
.flash-countdown {
  font-family: Arial, sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #f8fafc;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  padding: 0.6rem 1rem;
  background: linear-gradient(145deg, rgba(30, 28, 38, 0.95) 0%, rgba(22, 20, 28, 0.98) 100%);
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px -4px rgba(168, 85, 247, 0.15);
}
.flash-countdown i {
  color: #c084fc;
  font-size: 1.05rem;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
  margin-right: 0.15rem;
}
.flash-countdown .flash-countdown-hrs,
.flash-countdown .flash-countdown-min,
.flash-countdown .flash-countdown-sec {
  min-width: 1.75em;
  padding: 0.28rem 0.45rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 100%);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.flash-countdown-labels {
  display: none;
}
/* Show HRS/MIN/SEC labels on featured card only (like reference) */
.flash-featured-card .flash-countdown {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1.15rem;
}
.flash-featured-card .flash-countdown-labels {
  display: flex;
  flex-basis: 100%;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.flash-featured-card .flash-countdown .flash-countdown-hrs,
.flash-featured-card .flash-countdown .flash-countdown-min,
.flash-featured-card .flash-countdown .flash-countdown-sec {
  min-width: 2em;
  padding: 0.35rem 0.5rem;
  font-size: 1.15rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.25);
}
.flash-featured-img-wrap {
  width: calc(100% + 2.7rem);
  margin-left: -1.35rem;
  margin-right: -1.35rem;
  height: 320px;
  border-radius: 0;
  overflow: hidden;
  background: #0a0a0c;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.flash-featured-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.flash-featured-card:hover .flash-featured-img-wrap::after {
  opacity: 1;
}
.flash-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.flash-featured-card:hover .flash-featured-img-wrap img {
  transform: scale(1.07);
}
.flash-featured-title {
  font-family: Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.flash-featured-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.6rem 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flash-featured-price {
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.flash-featured-price .flash-price-now {
  font-family: Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.flash-featured-price .flash-price-was {
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  margin-top: 0.3rem;
  min-height: 1.2em;
}
.flash-featured-price .flash-price-was:empty {
  visibility: hidden;
}
.flash-btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.28s ease;
  margin-top: 0.35rem;
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.flash-btn-add:hover {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.55), 0 0 24px -4px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Mini cards (2x2 grid right side - roughly half size of featured card, like reference) */
.flash-mini-card {
  min-width: 0;
  position: relative;
  background: linear-gradient(172deg, #212126 0%, #1a1a1e 45%, #151518 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.flash-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}
.flash-mini-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 32px -8px rgba(168, 85, 247, 0.15);
}
.flash-mini-img-wrap {
  height: 120px;
  position: relative;
  overflow: hidden;
  background: #0a0a0c;
  flex-shrink: 0;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.flash-mini-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.flash-mini-card:hover .flash-mini-img-wrap::after {
  opacity: 1;
}
.flash-mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.flash-mini-card:hover .flash-mini-img {
  transform: scale(1.09);
}
.flash-mini-discount {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  color: #fff;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
  letter-spacing: 0.02em;
}
/* PRE-ORDER badge on first Flash Deal mini-card (mobile) */
.flash-mini-preorder {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%);
  color: #fff;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
  letter-spacing: 0.02em;
}
.flash-mini-body {
  padding: 0.5rem 0.6rem 0.6rem;
  margin-top: 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.flash-mini-title {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
  line-height: 1.26;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.flash-mini-card .flash-countdown {
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  justify-content: center;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(145deg, rgba(28, 26, 36, 0.95) 0%, rgba(20, 18, 26, 0.98) 100%);
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.flash-mini-card .flash-countdown .flash-countdown-hrs,
.flash-mini-card .flash-countdown .flash-countdown-min,
.flash-mini-card .flash-countdown .flash-countdown-sec {
  min-width: 1.8em;
  padding: 0.28rem 0.4rem;
  font-size: 1.05rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
}
.flash-mini-card .flash-countdown i {
  color: #c084fc;
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5));
}
.flash-mini-price {
  margin-bottom: 0.3rem;
  padding: 0.3rem 0.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  min-height: 3.2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flash-mini-price .flash-price-now {
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.flash-mini-price .flash-price-was {
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  margin-top: 0.15rem;
  min-height: 1.2em;
}
.flash-mini-price .flash-price-was:empty {
  visibility: hidden;
}
.flash-mini-btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.65rem;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.28s ease;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.flash-mini-btn-add:hover {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.5), 0 0 20px -4px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (max-width: 992px) {
  .flash-deals-layout {
    flex-direction: column;
  }
  .flash-deals-featured {
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
  }
}

/* Flash Deals — mobile-only: 4 smaller cards fill more horizontal space (featured card unchanged) */
/* Uses .pc-platform-section .flash-section AND .flash-section for max coverage */
@media (max-width: 768px) {
  /* 4 cards area: breakout to screen edges, minimal side padding */
  .pc-platform-section .flash-section .flash-deals-scroll-wrap,
  .flash-section .flash-deals-scroll-wrap {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    width: calc(100% + 2rem) !important;
    max-width: 100vw !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    box-sizing: border-box !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner,
  .flash-section .flash-deals-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-card,
  .flash-section .flash-deals-inner .flash-mini-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-img-wrap,
  .flash-section .flash-deals-inner .flash-mini-img-wrap {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-img,
  .flash-section .flash-deals-inner .flash-mini-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-body,
  .flash-section .flash-deals-inner .flash-mini-body {
    padding: 0.45rem 0.5rem 0.5rem !important;
    flex: 0 1 auto !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-title,
  .flash-section .flash-deals-inner .flash-mini-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.2rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-card .flash-countdown,
  .flash-section .flash-deals-inner .flash-mini-card .flash-countdown {
    font-size: 0.88rem !important;
    padding: 0.32rem 0.45rem !important;
    margin-bottom: 0.25rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-card .flash-countdown .flash-countdown-hrs,
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-card .flash-countdown .flash-countdown-min,
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-card .flash-countdown .flash-countdown-sec,
  .flash-section .flash-deals-inner .flash-mini-card .flash-countdown .flash-countdown-hrs,
  .flash-section .flash-deals-inner .flash-mini-card .flash-countdown .flash-countdown-min,
  .flash-section .flash-deals-inner .flash-mini-card .flash-countdown .flash-countdown-sec {
    font-size: 0.88rem !important;
    padding: 0.18rem 0.28rem !important;
    min-width: 1.5em !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-card .flash-countdown i,
  .flash-section .flash-deals-inner .flash-mini-card .flash-countdown i {
    font-size: 0.78rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-price,
  .flash-section .flash-deals-inner .flash-mini-price {
    padding: 0.28rem 0.4rem !important;
    margin-bottom: 0.2rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-price .flash-price-now,
  .flash-section .flash-deals-inner .flash-mini-price .flash-price-now {
    font-size: 0.95rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-price .flash-price-was,
  .flash-section .flash-deals-inner .flash-mini-price .flash-price-was {
    font-size: 0.68rem !important;
    min-height: 1.2em !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-btn-add,
  .flash-section .flash-deals-inner .flash-mini-btn-add {
    padding: 0.38rem 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-discount,
  .flash-section .flash-deals-inner .flash-mini-discount,
  .pc-platform-section .flash-section .flash-deals-inner .flash-mini-preorder,
  .flash-section .flash-deals-inner .flash-mini-preorder {
    font-size: 0.58rem !important;
    padding: 3px 6px !important;
  }
  /* Flash Deals mobile: featured PRE-ORDER card — same PC style, scaled proportionally */
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-card,
  .flash-section .flash-deals-featured .flash-featured-card {
    padding: 0.65rem 0.8rem !important;
    border-radius: 12px !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-label,
  .flash-section .flash-deals-featured .flash-featured-label {
    font-size: 0.62rem !important;
    padding: 0.28rem 0.5rem !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.15em !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-countdown,
  .flash-section .flash-deals-featured .flash-countdown {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.65rem !important;
    margin-bottom: 0.5rem !important;
    border-radius: 10px !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-countdown .flash-countdown-hrs,
  .pc-platform-section .flash-section .flash-deals-featured .flash-countdown .flash-countdown-min,
  .pc-platform-section .flash-section .flash-deals-featured .flash-countdown .flash-countdown-sec,
  .flash-section .flash-deals-featured .flash-countdown .flash-countdown-hrs,
  .flash-section .flash-deals-featured .flash-countdown .flash-countdown-min,
  .flash-section .flash-deals-featured .flash-countdown .flash-countdown-sec {
    min-width: 1.6em !important;
    padding: 0.2rem 0.35rem !important;
    font-size: 0.85rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-countdown i,
  .flash-section .flash-deals-featured .flash-countdown i {
    font-size: 0.8rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-countdown-labels,
  .flash-section .flash-deals-featured .flash-countdown-labels {
    font-size: 0.48rem !important;
    gap: 1.5rem !important;
    margin-top: 0.25rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-img-wrap,
  .flash-section .flash-deals-featured .flash-featured-img-wrap {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 150px !important;
    min-height: 150px !important;
    margin-bottom: 0.65rem !important;
    border-radius: 8px !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-title,
  .flash-section .flash-deals-featured .flash-featured-title {
    font-size: 0.95rem !important;
    margin: 0 0 0.3rem 0 !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-desc,
  .flash-section .flash-deals-featured .flash-featured-desc {
    font-size: 0.72rem !important;
    margin: 0 0 0.4rem 0 !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-price,
  .flash-section .flash-deals-featured .flash-featured-price {
    padding: 0.4rem 0.6rem !important;
    margin-bottom: 0.4rem !important;
    border-radius: 10px !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-price .flash-price-now,
  .flash-section .flash-deals-featured .flash-featured-price .flash-price-now {
    font-size: 1.2rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-featured-price .flash-price-was,
  .flash-section .flash-deals-featured .flash-featured-price .flash-price-was {
    font-size: 0.72rem !important;
    margin-top: 0.2rem !important;
  }
  .pc-platform-section .flash-section .flash-deals-featured .flash-btn-add,
  .flash-section .flash-deals-featured .flash-btn-add {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }
}

/* Cyber category sections (Top Shooter, Action, RPG, etc.) */
.game-section {
  background-color: #121212;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glow-red { background: radial-gradient(circle at 0% 50%, rgba(239, 68, 68, 0.15), transparent 70%); }
.glow-cyan { background: radial-gradient(circle at 100% 50%, rgba(6, 182, 212, 0.15), transparent 70%); }
.glow-purple { background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15), transparent 70%); }
.glow-green { background: radial-gradient(circle at 0% 100%, rgba(168, 85, 247, 0.15), transparent 70%); }
.glow-orange { background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15), transparent 70%); }
.glow-pink { background: radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.15), transparent 70%); }

.category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.cyber-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.title-bar {
  height: 3px;
  width: 80px;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.bar-red { background: linear-gradient(90deg, #ef4444, transparent); }
.bar-cyan { background: linear-gradient(90deg, #06b6d4, transparent); }
.bar-purple { background: linear-gradient(90deg, #a855f7, transparent); }
.bar-green { background: linear-gradient(90deg, #a855f7, transparent); }
.bar-orange { background: linear-gradient(90deg, #f97316, transparent); }
.bar-pink { background: linear-gradient(90deg, #ec4899, transparent); }

.section-title {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
}

.tracking-wide {
  letter-spacing: 3px;
}

.category-subtitle {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
}

.text-neon-red { color: #ef4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.text-neon-cyan { color: #06b6d4; text-shadow: 0 0 10px rgba(6, 182, 212, 0.5); }
.text-neon-purple { color: #a855f7; text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.text-neon-horror { color: #a855f7; text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.text-neon-orange { color: #f97316; text-shadow: 0 0 10px rgba(249, 115, 22, 0.5); }
.text-neon-pink { color: #ec4899; text-shadow: 0 0 10px rgba(236, 72, 153, 0.5); }

/* Banner text readability (atgxstore) */
.text-shadow {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.nav-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cyber-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cyber-nav-btn:hover {
  background: rgba(168, 85, 247, 0.25);
  color: #fff;
  border-color: rgba(168, 85, 247, 0.4);
}

/* Category sliders */
.slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* cyber-category-wrapper (atgxstore match) */
.cyber-category-wrapper .cyber-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 0.5rem 0;
}
.pc-platform-section .cyber-category-wrapper .cyber-title {
  font-family: Arial, sans-serif !important;
  font-weight: normal !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
  color: #e2e8f0;
}
.pc-platform-section .cyber-category-wrapper .cyber-title .text-neon-cyan,
.pc-platform-section .cyber-category-wrapper .cyber-title .text-neon-red,
.pc-platform-section .cyber-category-wrapper .cyber-title .text-neon-purple,
.pc-platform-section .cyber-category-wrapper .cyber-title .text-neon-horror,
.pc-platform-section .cyber-category-wrapper .cyber-title .text-neon-orange,
.pc-platform-section .cyber-category-wrapper .cyber-title .text-neon-pink {
  font-family: Arial, sans-serif !important;
  font-weight: normal !important;
}

.cyber-category-wrapper .title-bar {
  height: 3px;
  width: 100px;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.cyber-category-wrapper .nav-controls {
  display: flex;
  gap: 10px;
}

.cyber-category-wrapper .cyber-nav-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.cyber-category-wrapper .cyber-nav-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cyber-category-wrapper .slider-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.cyber-category-wrapper .slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cyber-category-wrapper .slider-item {
  flex: 0 0 calc(20% - 16px);
  min-width: 0;
}

@media (max-width: 1400px) {
  .cyber-category-wrapper .slider-item { flex: 0 0 calc(25% - 15px); }
}
@media (max-width: 1200px) {
  .cyber-category-wrapper .slider-item { flex: 0 0 calc(33.33% - 14px); }
}
@media (max-width: 768px) {
  .cyber-category-wrapper .slider-item { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 500px) {
  .cyber-category-wrapper .slider-item { flex: 0 0 85%; }
}

.slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease-out;
}

.slider-item {
  flex: 0 0 calc(20% - 10px);
  min-width: 200px;
}

@media (max-width: 1200px) { .slider-item { flex: 0 0 calc(25% - 10px); } }
@media (max-width: 900px) { .slider-item { flex: 0 0 calc(33.33% - 10px); } }
@media (max-width: 600px) { .slider-item { flex: 0 0 calc(50% - 8px); min-width: 160px; } }

.cyber-section .game-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  transition: transform 0.3s ease;
}

.cyber-section .game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cyber-section .game-card .card-image {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.cyber-section .game-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cyber-section .game-card .card-content {
  padding: 1rem;
}

.cyber-section .game-card .game-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cyber-section .game-card .game-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.cyber-section .game-card .game-title a:hover {
  color: #a855f7;
}

.cyber-section .game-card .slider-card-meta {
  font-size: 0.8rem;
  color: #a855f7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cyber-section .game-card .platform-row {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.cyber-section .game-card .current-price {
  color: #fff;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
}

.cyber-section .game-card .region-tag {
  color: #a855f7;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cyber-section .game-card .card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s;
}

.cyber-section .game-card:hover .card-border {
  border-color: #a855f7;
}

/* Category slider cards: platform icon (Parent Type) top-right — ensure visible above overlay */
.cyber-section .game-card .card-image .cyber-card-platform-icon,
.pc-platform-section .cyber-section .game-card .card-image .cyber-card-platform-icon {
  top: 8px;
  left: auto;
  right: 8px;
  z-index: 10;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.55) !important;
  padding: 4px;
  border-radius: 6px;
}
.cyber-section .game-card .card-image .cyber-card-platform-icon .platform-tag-icon,
.pc-platform-section .cyber-section .game-card .card-image .cyber-card-platform-icon .platform-tag-icon {
  width: 24px;
  height: 24px;
}

.cyber-section .game-card .card-image .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, #1a1a1a, transparent);
  z-index: 1;
}

.cyber-section .game-card .card-image .slider-card-meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #a855f7;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.cyber-section .game-card .platform-row .icon {
  font-size: 0.8rem;
  color: #888;
}

.cyber-section .game-card .btn-add-cat,
.cyber-section .game-card .btn-primary {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 0.5rem;
}

.cyber-section .game-card .btn-add-cat:hover,
.cyber-section .game-card .btn-primary:hover {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   FUTURISTIC DARK-MODE SECURE CHECKOUT (desktop, gaming store)
   ═══════════════════════════════════════════════════════════════ */
body.cart-page-futuristic {
  min-height: 100vh;
  background: #0a0a0c;
}

.cf-checkout {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1.5rem 4rem;
}

.cf-center {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.cf-checkout-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 0.5rem;
  margin-left: -1.5rem;
}

.cf-checkout-site-name {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.cf-checkout-site-name:hover {
  color: #c084fc;
}

.cf-checkout-site-name .game-site-atg {
  color: #a78bfa;
}

.cf-checkout-site-name .game-site-store {
  color: rgba(255, 255, 255, 0.95);
}

.cf-checkout-main {
  flex: 1;
  min-width: 0;
}

.cf-header {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2.75rem;
  padding: 0 1rem;
}

.cf-title {
  margin: -0.6rem 0 0.5rem 0;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading, Arial, Helvetica, sans-serif);
  line-height: 1.15;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6))
          drop-shadow(0 0 20px rgba(168, 85, 247, 0.4))
          drop-shadow(0 0 32px rgba(192, 132, 252, 0.3));
}

.cf-title-secure {
  color: #ffffff;
}

.cf-title-checkout {
  color: #a855f7;
}

/* Progress: 3 steps — Review, Payment, Finish + LED progress bar between steps */
.cf-progress {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  grid-auto-rows: auto;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.cf-progress-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 44px auto;
  justify-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0;
  width: 88px;
  transition: opacity 0.2s;
}

.cf-progress-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.cf-progress .cart-progress-step-active .cf-progress-icon {
  color: #fff;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}

.cf-progress .cart-progress-step-completed .cf-progress-icon {
  color: #fff;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
}

.cf-progress .cart-progress-text {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.cf-progress .cart-progress-step-active .cart-progress-text {
  color: #fff;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.cf-progress .cart-progress-step-completed .cart-progress-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Connector line between steps — inactive */
.cf-progress-line {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 2px;
  margin: 0 14px;
  align-self: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.25s ease;
  overflow: visible;
}

/* Completed connectors: slightly brighter than inactive (no heavy glow) */
.cf-progress .cart-progress-line-completed {
  background: rgba(34, 211, 238, 0.18);
}

/* Active connector — loading LED (light travels along the bar) */
.cf-progress .cart-progress-line-active {
  height: 4px;
  margin: 0 14px;
  background: rgba(34, 211, 238, 0.2);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
  overflow: hidden;
}

.cf-progress .cart-progress-line-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, #22d3ee, rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  animation: cf-loading-led 1.2s ease-in-out infinite;
}

.cf-progress .cart-progress-line-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
  filter: blur(2px);
  animation: cf-loading-led 1.2s ease-in-out infinite;
  animation-delay: 0.05s;
  pointer-events: none;
}

@keyframes cf-loading-led {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* 2-column layout */
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.cf-step {
  display: contents;
}

/* Step 3: Finish — EPIC design (hero + tracker + CTA) */
.cf-finish-panel {
  grid-column: 1 / -1;
  min-width: 0;
}
.cf-finish-card {
  padding: 0;
  background:
    linear-gradient(165deg, rgba(28, 28, 36, 0.99) 0%, rgba(18, 18, 26, 0.98) 50%, rgba(12, 12, 20, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 16px 32px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(168, 85, 247, 0.06);
  overflow: hidden;
  animation: cf-finish-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes cf-finish-in {
  from { opacity: 0; transform: scale(0.96) translateY(24px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cf-finish-hero {
  text-align: center;
  padding: 3.25rem 1.5rem 2.75rem;
  position: relative;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0.04) 40%, transparent 70%),
    linear-gradient(180deg, rgba(40, 167, 69, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.cf-finish-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  opacity: 0.8;
}
.cf-finish-hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #a855f7 0%, #a855f7 40%, #6d28d9 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  line-height: 1;
  box-shadow:
    0 0 0 6px rgba(168, 85, 247, 0.25),
    0 0 48px rgba(168, 85, 247, 0.4),
    0 16px 48px rgba(5, 150, 105, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: cf-finish-icon-in 0.6s cubic-bezier(0.34, 1.2, 0.64, 1) 0.1s both;
  position: relative;
  z-index: 1;
}
.cf-finish-hero-icon i {
  font-size: 1em;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
@keyframes cf-finish-icon-in {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}
.cf-finish-hero-title {
  margin: 0 0 0.5rem 0;
  font-family: Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.cf-finish-hero-sub {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.cf-finish-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 1.75rem;
  padding: 1.75rem 1.5rem;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.cf-finish-meta::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}
.cf-finish-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cf-finish-meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}
.cf-finish-order-no {
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-family: "SF Mono", "Monaco", "Consolas", "Roboto Mono", monospace;
}
.cf-finish-placed {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.cf-finish-placed-wrap .cf-finish-meta-label {
  color: rgba(255, 255, 255, 0.5);
}
/* ACCOUNT CREDENTIALS — epic keycard */
.cf-finish-accounts-wrap {
  margin: 0 0.25rem 1.5rem;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 0 40px rgba(6, 182, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cf-finish-accounts-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #67e8f9 0%, #22d3ee 30%, #06b6d4 70%, #0891b2 100%);
  border-radius: 5px 0 0 5px;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.5), 0 0 60px rgba(6, 182, 212, 0.2);
}
.cf-finish-credentials-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.2s;
  gap: 1rem;
}
.cf-finish-credentials-toggle:hover {
  background: rgba(255, 255, 255, 0.02);
}
.cf-finish-credentials-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(6, 182, 212, 0.4);
}
.cf-finish-credentials-keyhole {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(6, 182, 212, 0.5);
  box-shadow:
    0 0 32px rgba(6, 182, 212, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.cf-finish-credentials-toggle:hover .cf-finish-credentials-keyhole {
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.45), 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: scale(1.04);
  border-color: rgba(6, 182, 212, 0.6);
}
.cf-finish-credentials-icon {
  font-size: 1.1rem;
  color: #a5f3fc;
  display: block;
  transition: color 0.2s;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}
.cf-finish-credentials-toggle:hover .cf-finish-credentials-icon {
  color: #a5f3fc;
}
.cf-finish-credentials-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  padding-left: 0.25rem;
}
.cf-finish-credentials-sublabel {
  font-family: Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(6, 182, 212, 0.9);
  line-height: 1.2;
}
.cf-finish-purchased-title {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cf-finish-credentials-title-key {
  font-size: 0.7em;
  color: #67e8f9;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}
.cf-finish-credentials-chevron {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: transform 0.25s ease, color 0.2s, background 0.2s, border-color 0.2s;
}
.cf-finish-credentials-toggle[aria-expanded="true"] .cf-finish-credentials-chevron {
  transform: rotate(180deg);
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.35);
}
.cf-finish-credentials-toggle:hover .cf-finish-credentials-chevron {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.cf-finish-credentials-body {
  padding: 1rem 1.1rem 1.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  transition: max-height 0.4s ease;
  max-height: 78vh;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(0, 0, 0, 0.08) 100%);
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.08);
}
.cf-finish-credentials-body-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-top-color: transparent;
}
.cf-finish-credentials-actions {
  margin-bottom: 0.6rem;
}
.cf-finish-download-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 10px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a5f3fc;
  cursor: pointer;
  transition: all 0.25s;
  line-height: 1.3;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cf-finish-download-all:hover {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.28) 0%, rgba(6, 182, 212, 0.15) 100%);
  border-color: rgba(6, 182, 212, 0.55);
  color: #fff;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.cf-finish-download-all i {
  font-size: 0.95em;
  opacity: 0.95;
}
.cf-finish-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cf-finish-credential-card {
  padding: 1rem 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border-left: 4px solid rgba(6, 182, 212, 0.6);
  transition: border-left-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 24px rgba(6, 182, 212, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cf-finish-credential-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-left-color: rgba(6, 182, 212, 0.9);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 0 32px rgba(6, 182, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}
.cf-finish-credential-product {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.cf-finish-credential-product::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #67e8f9 0%, #22d3ee 100%);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6), 0 0 24px rgba(6, 182, 212, 0.25);
}
.cf-finish-accounts-empty-msg {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cf-finish-accounts-empty-msg strong {
  color: #fff;
  font-weight: 700;
}

/* Order received — pending fulfillment (epic) */
.cf-finish-accounts-pending-msg {
  margin: 0;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0.06) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 14px;
  border-left: 4px solid rgba(168, 85, 247, 0.8);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  animation: cf-pending-msg-in 0.45s cubic-bezier(0.34, 1.1, 0.64, 1);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes cf-pending-msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .cf-finish-accounts-pending-msg {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }
}
.cf-finish-account-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cf-finish-purchased-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: linear-gradient(145deg, rgba(40, 40, 48, 0.98) 0%, rgba(32, 32, 40, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.cf-finish-purchased-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cf-finish-purchased-label {
  flex: 1;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  min-width: 0;
}
.cf-finish-purchased-pill {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
}
.cf-finish-item-card {
  padding: 1.1rem 1.35rem;
  background: linear-gradient(145deg, rgba(40, 40, 48, 0.98) 0%, rgba(32, 32, 40, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.cf-finish-item-desc {
  margin: 0;
  grid-column: 1;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
}
.cf-finish-item-qty {
  grid-column: 1;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.cf-finish-item-view-details {
  grid-column: 1;
  background: none;
  border: none;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5b9bd5;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.cf-finish-item-view-details:hover {
  color: #7ab3e8;
  text-decoration: underline;
}
.cf-finish-item-right {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.cf-finish-item-price {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.cf-finish-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.cf-finish-btn-secondary {
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cf-finish-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.cf-finish-btn-chat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: #28a745;
  border-radius: 8px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, filter 0.2s;
}
.cf-finish-btn-chat:hover {
  background: #218838;
  color: #fff;
  filter: brightness(1.05);
}
.cf-finish-acc-details {
  padding: 1rem 1.25rem 0;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  grid-column: 1 / -1;
}
.cf-finish-acc-details-hidden {
  display: none;
}
.cf-finish-acc-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cf-finish-acc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.cf-finish-acc-row:hover {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 20px rgba(6, 182, 212, 0.06);
}
.cf-finish-acc-label {
  flex: 0 0 8.5rem;
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}
.cf-finish-acc-value {
  flex: 1;
  min-width: 0;
  color: #fff;
  word-break: break-all;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.4;
}
.cf-finish-acc-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cf-finish-acc-copy i {
  font-size: 0.9em;
}
.cf-finish-acc-copy:hover {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%);
  border-color: rgba(6, 182, 212, 0.5);
  color: #a5f3fc;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cf-finish-acc-copy:active {
  opacity: 0.9;
}
/* ORDER STATUS — epic tracker */
.cf-finish-tracker-wrap {
  margin: 0 1.25rem 1.75rem;
}
.cf-finish-tracker-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.5rem 0 0.5rem 0.75rem;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  border-left: 4px solid rgba(168, 85, 247, 0.8);
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.cf-finish-tracker-title i {
  font-size: 0.9em;
  opacity: 0.9;
  color: rgba(168, 85, 247, 0.95);
}
.cf-finish-tracker {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 2rem 1.5rem 1.75rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  gap: 0;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 60px rgba(168, 85, 247, 0.05);
}
/* Segment lines sit only between circles — never through them */
.cf-finish-tracker-segment {
  flex: 1;
  min-width: 12px;
  max-width: 28px;
  position: relative;
  align-self: stretch;
}
.cf-finish-tracker-segment::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(52px + 0.35rem);
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
.cf-finish-stage-done + .cf-finish-tracker-segment::before {
  background: linear-gradient(90deg, #a855f7 0%, #a855f7 50%, #a855f7 100%);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}
.cf-finish-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  max-width: 90px;
  min-width: 0;
  animation: cf-stage-in 0.45s cubic-bezier(0.34, 1.1, 0.64, 1) backwards;
}
.cf-finish-stage:nth-child(2) { animation-delay: 0.06s; }
.cf-finish-stage:nth-child(3) { animation-delay: 0.12s; }
.cf-finish-stage:nth-child(4) { animation-delay: 0.18s; }
.cf-finish-stage:nth-child(5) { animation-delay: 0.24s; }
.cf-finish-stage:nth-child(6) { animation-delay: 0.3s; }
@keyframes cf-stage-in {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cf-finish-stage-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, #a855f7 0%, #a855f7 35%, #a855f7 70%, #6d28d9 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow:
    0 0 0 5px rgba(168, 85, 247, 0.2),
    0 0 32px rgba(168, 85, 247, 0.35),
    0 8px 24px rgba(5, 150, 105, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cf-finish-stage-icon i {
  font-size: 1em;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.cf-finish-stage-done .cf-finish-stage-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.4), 0 10px 28px rgba(5, 150, 105, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cf-finish-stage-label {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.cf-finish-stage-pending .cf-finish-stage-icon {
  background: rgba(255, 255, 255, 0.03);
  color: transparent;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cf-finish-stage-done .cf-finish-stage-icon::after {
  display: none;
}
.cf-finish-stage-pending .cf-finish-stage-icon::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}
.cf-finish-stage-pending .cf-finish-stage-icon i {
  display: none;
}
.cf-finish-stage-pending .cf-finish-stage-label {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
}
/* ORDER TOTAL — epic premium block */
.cf-finish-total-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 1.25rem 1.75rem;
  padding: 1.4rem 1.75rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 48px rgba(168, 85, 247, 0.06);
  position: relative;
}
.cf-finish-total-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), transparent 50%, rgba(139, 92, 246, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cf-finish-total-label {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.cf-finish-total {
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 24px rgba(168, 85, 247, 0.2);
}
/* CTA — epic primary button */
.cf-finish-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 1.25rem 2.25rem;
  padding: 1.15rem 1.75rem;
  background: linear-gradient(165deg, #c084fc 0%, #a855f7 25%, #9333ea 50%, #7c3aed 75%, #6d28d9 100%);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s, filter 0.25s;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 32px rgba(168, 85, 247, 0.5),
    0 0 48px rgba(139, 92, 246, 0.25);
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}
.cf-finish-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}
.cf-finish-cta i {
  font-size: 1em;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.cf-finish-cta span {
  position: relative;
  z-index: 1;
}
.cf-finish-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 40px rgba(168, 85, 247, 0.55), 0 0 64px rgba(139, 92, 246, 0.35);
  transform: translateY(-3px);
  color: #fff;
}
.cf-finish-cta:active {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cf-finish-hero {
    padding: 2.5rem 1.25rem 2rem;
  }
  .cf-finish-hero-icon {
    width: 76px;
    height: 76px;
    font-size: 2.1rem;
    margin-bottom: 1.25rem;
  }
  .cf-finish-hero-title {
    font-size: 1.85rem;
  }
  .cf-finish-hero-sub {
    font-size: 0.95rem;
  }
  .cf-finish-meta {
    padding: 1.25rem 1.25rem;
    gap: 0 1.25rem;
  }
  .cf-finish-meta-item {
    min-width: 0;
  }
  .cf-finish-meta-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
  .cf-finish-order-no {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }
  .cf-finish-accounts-wrap {
    margin: 0 0.25rem 1.25rem;
    border-radius: 16px;
  }
  .cf-finish-accounts-wrap::before {
    width: 4px;
  }
  .cf-finish-credentials-toggle {
    padding: 0.8rem 0.9rem 0.8rem 1.05rem;
    gap: 0.85rem;
  }
  .cf-finish-credentials-keyhole {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .cf-finish-credentials-icon {
    font-size: 1rem;
  }
  .cf-finish-credentials-sublabel {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
  .cf-finish-purchased-title {
    font-size: 0.74rem;
  }
  .cf-finish-credentials-chevron {
    width: 30px;
    height: 30px;
    font-size: 0.68rem;
  }
  .cf-finish-credential-card {
    padding: 0.9rem 1rem;
  }
  .cf-finish-purchased-card,
  .cf-finish-item-card {
    padding: 0.95rem 1.1rem;
  }
  .cf-finish-item-card {
    grid-template-columns: 1fr;
  }
  .cf-finish-item-right {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .cf-finish-item-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .cf-finish-acc-label {
    flex: 0 0 100%;
  }
  .cf-finish-acc-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cf-finish-tracker-wrap {
    margin: 0 1rem 1.5rem;
  }
  .cf-finish-tracker-title {
    font-size: 0.72rem;
    margin-bottom: 0.9rem;
    letter-spacing: 0.1em;
    padding-left: 0.65rem;
  }
  .cf-finish-tracker-title i {
    font-size: 0.85em;
  }
  .cf-finish-tracker {
    padding: 1.5rem 0.85rem 1.4rem;
    border-radius: 18px;
  }
  .cf-finish-tracker-segment {
    min-width: 8px;
    max-width: 20px;
  }
  .cf-finish-tracker-segment::before {
    top: calc(42px + 0.3rem);
    height: 3px;
  }
  .cf-finish-stage {
    max-width: 56px;
    gap: 0.45rem;
  }
  .cf-finish-stage-icon {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
  .cf-finish-stage-icon i {
    font-size: 1em;
  }
  .cf-finish-stage-label {
    font-size: 0.7rem;
  }
  .cf-finish-total-wrap {
    margin: 0 1rem 1.5rem;
    padding: 1.15rem 1.25rem;
  }
  .cf-finish-total-label {
    font-size: 0.7rem;
  }
  .cf-finish-total {
    font-size: 1.45rem;
  }
  .cf-finish-cta {
    margin: 0 1rem 2rem;
    padding: 1.05rem 1.4rem;
    font-size: 0.95rem;
  }
  .cf-finish-cta i {
    font-size: 0.95em;
  }
}

.cf-cart-panel {
  min-width: 0;
}

.cf-summary-panel {
  min-width: 0;
}

/* Cart panel header — clearer + more premium */
.cf-cart-panel .cf-panel-title {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

.cf-cart-panel .cf-panel-title-icon {
  font-size: 1rem;
  color: #a855f7;
  opacity: 0.95;
}

/* Pro: panel headers */
.cf-panel-title {
  margin: 0 0 1.25rem 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cf-panel-title-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #a855f7, #22d3ee);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5), 0 0 16px rgba(34, 211, 238, 0.3);
}

/* Left: cart container — LED accent */
.cf-cart-card {
  background: rgba(18, 18, 22, 0.98);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(34, 211, 238, 0.1),
    0 0 24px rgba(168, 85, 247, 0.08),
    0 20px 40px -12px rgba(0, 0, 0, 0.4);
}

/* Your cart items — improved UI, Arial throughout */
.cf-cart-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.cf-cart-list .cart-item,
.cf-cart-list .gaming-cart-item {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.cf-cart-list .cart-item + .cart-item,
.cf-cart-list .gaming-cart-item + .gaming-cart-item {
  margin-top: 0.1rem;
}

.cf-cart-list .cart-item::before,
.cf-cart-list .gaming-cart-item::before {
  content: none;
}

.cf-cart-list .cart-item::after,
.cf-cart-list .gaming-cart-item::after {
  content: none;
}

.cf-cart-list .cart-item:hover,
.cf-cart-list .gaming-cart-item:hover {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.12);
}

.cf-cart-list .cart-item-left {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
}

.cf-cart-list .cart-img-wrapper {
  position: relative;
  width: 100px;
  min-height: 82px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  margin: 0 1.1rem 0 0;
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.cf-cart-list .cart-img-wrapper::after {
  content: none;
}

.cf-cart-list .cart-img-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 82px;
  object-fit: cover;
  display: block;
}

.cf-cart-list .cart-img-wrapper .cart-item-discount {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #a855f7;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  padding: 3px 6px;
  border-radius: 4px;
  z-index: 1;
}

.cf-cart-list .cart-item-info {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.cf-cart-list .cart-item-name {
  font-family: Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-cart-list .cart-item-discount-applied {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(233, 213, 255, 0.65);
  margin: 0;
  letter-spacing: 0.02em;
}

.cf-cart-list .cart-item-qty-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.cf-cart-list .cart-item-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cf-cart-list .cart-item-qty-row .cart-qty-btn,
.cf-cart-list .cart-item-qty-row .cart-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.08);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.cf-cart-list .cart-item-qty-row .cart-qty-btn:hover,
.cf-cart-list .cart-item-qty-row .cart-item-remove:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
}

.cf-cart-list .cart-item-qty-row .cart-item-remove:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.cf-cart-list .cart-item-qty-num {
  min-width: 1.85rem;
  text-align: center;
  font-weight: 700;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cf-cart-list .cart-item-price-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 1.1rem;
}

.cf-cart-list .cart-item-price,
.cf-cart-list .cart-item-price-now {
  font-family: Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.cf-cart-list .cart-item-price-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.cf-cart-list .cart-item-price-block .cart-item-price-was {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.cf-cart-list .cart-item-price-block .cart-item-price-now {
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cf-cart-list .cart-item-price-was {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.cf-cart-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cf-cart-badge {
  margin-right: auto;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* Primary button — LED glow */
.cf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #b47aff 0%, #8b5cf6 50%, #7c3aed 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset,
              0 4px 16px rgba(124, 58, 237, 0.4),
              0 0 24px rgba(168, 85, 247, 0.25);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.cf-btn-primary:hover {
  background: linear-gradient(180deg, #c084fc 0%, #a855f7 50%, #8b5cf6 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset,
              0 6px 20px rgba(124, 58, 237, 0.5),
              0 0 32px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

.cf-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
              0 2px 12px rgba(124, 58, 237, 0.4);
}

/* Order summary — title and UI */
.cf-summary-panel .cf-panel-title.cf-summary-title {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(180, 190, 210, 0.25);
  gap: 0.75rem;
}

.cf-summary-panel .cf-panel-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(34, 211, 238, 0.2));
  color: #c084fc;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.cf-summary-card {
  background: linear-gradient(180deg, rgba(30, 20, 45, 0.98) 0%, rgba(18, 18, 24, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.12), 0 0 0 1px rgba(168, 85, 247, 0.08) inset, 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.cf-summary-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #c084fc);
  opacity: 0.9;
}

.cf-summary-inner {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-discount-block {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.cf-discount-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.cf-discount-toggle:hover {
  color: #fff;
  opacity: 0.9;
}

.cf-discount-toggle i {
  font-size: 0.85rem;
  color: #fff;
  opacity: 0.95;
}

.cf-discount-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  justify-content: center;
}

.cf-discount-form[hidden] {
  display: none;
}

.cf-discount-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
}

.cf-discount-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cf-discount-input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.cf-discount-apply {
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(126, 34, 206, 0.9));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cf-discount-apply:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 1), rgba(126, 34, 206, 1));
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.cf-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  margin: 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  background: rgba(168, 85, 247, 0.05);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  border-left: 3px solid rgba(168, 85, 247, 0.25);
  transition: background 0.2s ease;
}

.cf-summary-row:hover {
  background: rgba(168, 85, 247, 0.08);
}

.cf-summary-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.cf-summary-label {
  font-family: Arial, sans-serif;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cf-summary-value {
  font-family: Arial, sans-serif;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  min-width: 5rem;
  text-align: right;
  letter-spacing: 0.02em;
}

.cf-summary-value .cart-total-currency {
  font-size: 0.75em;
  font-weight: 600;
  color: rgba(233, 213, 255, 0.6);
  text-transform: uppercase;
  margin-left: 0.2rem;
}

.cf-fee-free {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #c084fc !important;
  padding: 0.25rem 0.6rem;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
  flex: 1;
  text-align: center;
  min-width: 0;
}

.cf-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  margin-top: 0.85rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.12) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.cf-summary-total .cf-summary-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  text-shadow: none;
}

.cf-summary-total-value {
  font-family: Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.98);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-shadow: none;
}

.cf-summary-total-value .cart-total-currency {
  font-family: Arial, sans-serif;
  font-size: 0.45em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  text-shadow: none;
}

.cf-ssl {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.cf-ssl i {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #c084fc;
  margin-top: 0.1rem;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5));
}

.cf-ssl-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cf-ssl-text strong {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.cf-ssl-text span {
  font-size: 0.75rem;
  color: rgba(233, 213, 255, 0.5);
  font-weight: 400;
}

.cf-trustpilot {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 182, 122, 0.06);
  border: 1px solid rgba(0, 182, 122, 0.2);
  border-radius: 10px;
}

.cf-trustpilot-heading {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.cf-trustpilot-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s, opacity 0.2s;
}

.cf-trustpilot-link:hover {
  color: #00b67a;
  opacity: 1;
}

.cf-trustpilot-star {
  color: #00b67a;
  font-size: 1rem;
}

.cf-trustpilot-label {
  letter-spacing: 0.02em;
}

/* Step 2: payment options — ATG Wallet, FIB */
.cf-payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cf-payment-options .cf-pay-opt:nth-child(1) { grid-column: 1; grid-row: 1; }
.cf-payment-options .cf-pay-opt:nth-child(2) { grid-column: 2; grid-row: 1; }

.cf-pay-opt {
  flex: 1;
  min-width: 0;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  cursor: pointer;
}

.cf-pay-opt:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

.cf-pay-opt i:first-of-type,
.cf-pay-opt .cf-pay-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

.cf-pay-opt .cf-pay-logo {
  width: 40px;
  height: 40px;
  padding: 6px;
  object-fit: contain;
  box-sizing: border-box;
}

.cf-pay-opt span {
  flex: 1;
  min-width: 0;
}

.cf-pay-opt .fa-check {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: transparent;
  transition: color 0.2s;
}

.cf-pay-opt-active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cf-pay-opt-active:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.55);
}

.cf-pay-opt-active i:first-of-type,
.cf-pay-opt-active .cf-pay-logo {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.cf-pay-opt .fa-check {
  color: transparent;
}
.cf-pay-opt-active .fa-check {
  color: #c084fc;
}

/* Gateway options visible but unusable until server env is set */
.cf-pay-opt-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.35);
}
.cf-pay-opt-disabled.cf-pay-opt-active {
  opacity: 0.45;
}
.cf-pay-opt-disabled.cf-pay-opt-active > span,
.cf-pay-opt-disabled.cf-pay-opt-active .fa-check {
  color: rgba(255, 255, 255, 0.5);
}

/* FIB: First Iraqi Bank — text white when selected */
.cf-pay-opt-fib.cf-pay-opt-active > span {
  color: #fff;
}
.cf-pay-opt-fib.cf-pay-opt-active i:first-of-type,
.cf-pay-opt-fib.cf-pay-opt-active .cf-pay-logo {
  background: rgba(28, 136, 141, 0.35);
  color: #1C888D;
  box-shadow: 0 0 12px rgba(28, 136, 141, 0.4);
}
.cf-pay-opt-fib.cf-pay-opt-active .fa-check {
  color: #1C888D;
}
.cf-pay-opt-fib.cf-pay-opt-active {
  background: rgba(28, 136, 141, 0.12);
  border-color: rgba(28, 136, 141, 0.5);
  box-shadow: 0 0 20px rgba(28, 136, 141, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cf-pay-opt-fib.cf-pay-opt-active:hover {
  background: rgba(28, 136, 141, 0.16);
  border-color: rgba(28, 136, 141, 0.6);
  box-shadow: 0 0 24px rgba(28, 136, 141, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* FastPay wordmark — wider slot + white backing for brand PNG */
.cf-pay-opt-fastpay .cf-pay-logo.cf-pay-logo-fastpay {
  width: auto;
  min-width: 5.5rem;
  max-width: 7.5rem;
  height: 40px;
  padding: 4px 10px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* FastPay — redirect checkout */
.cf-pay-opt-fastpay.cf-pay-opt-active > span {
  color: #fff;
}
.cf-pay-opt-fastpay.cf-pay-opt-active i:first-of-type,
.cf-pay-opt-fastpay.cf-pay-opt-active .cf-pay-logo {
  background: rgba(5, 150, 105, 0.35);
  color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}
.cf-pay-opt-fastpay.cf-pay-opt-active .cf-pay-logo.cf-pay-logo-fastpay {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.45), 0 0 14px rgba(16, 185, 129, 0.25);
}
.cf-pay-opt-fastpay.cf-pay-opt-active .fa-check {
  color: #34d399;
}
.cf-pay-opt-fastpay.cf-pay-opt-active {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cf-pay-opt-fastpay.cf-pay-opt-active:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* FIB payment modal (checkout) */
.fib-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(6, 10, 24, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.fib-pay-overlay[hidden] {
  display: none !important;
}
.fib-pay-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: linear-gradient(165deg, rgba(22, 32, 48, 0.98) 0%, rgba(12, 18, 30, 0.99) 100%);
  border: 1px solid rgba(28, 136, 141, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.fib-pay-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.fib-pay-close:hover {
  background: rgba(28, 136, 141, 0.25);
  color: #fff;
}
.fib-pay-modal-inner {
  padding: 1.5rem 1.35rem 1.35rem;
}
.fib-pay-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 2rem 0.5rem 0;
  font-family: 'Syne', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.fib-pay-title-logo {
  border-radius: 8px;
  flex-shrink: 0;
}
.fib-pay-sub {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}
.fib-pay-amount-line {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
.fib-pay-amount-line strong {
  color: #5eead4;
  font-variant-numeric: tabular-nums;
}
.fib-pay-currency {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.fib-pay-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fib-pay-qr {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}
.fib-pay-code-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.fib-pay-readable {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.65rem 0.5rem;
  margin-bottom: 1rem;
  color: #5eead4;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  border: 1px dashed rgba(28, 136, 141, 0.4);
  word-break: break-all;
}
.fib-pay-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.fib-pay-open-app {
  display: block;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(135deg, #5eead4, #2dd4bf);
  transition: filter 0.2s, transform 0.15s;
}
.fib-pay-open-app:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #0f172a;
}
.fib-pay-valid {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(251, 191, 36, 0.9);
}
.fib-pay-hint {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}
.fib-pay-hint i {
  margin-right: 0.35rem;
  color: rgba(28, 136, 141, 0.85);
}
.fib-pay-actions {
  display: flex;
  justify-content: stretch;
}
.fib-pay-check-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cf-payment-block {
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 14px;
  padding: 1.35rem 1.6rem;
}

.cf-pay-label {
  margin: 0 0 0.6rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.cf-pay-send {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.cf-pay-send strong {
  font-family: Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
  color: #e9d5ff;
  font-weight: bold;
}

.cf-pay-phone-row {
  margin: 0 0 0.6rem 0;
  font-size: 0.9rem;
}

.cf-pay-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.cf-pay-phone {
  color: #22d3ee;
  font-size: 1.05rem;
}

.cf-pay-phone-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cf-copy-btn {
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.cf-copy-btn:hover {
  background: rgba(168, 85, 247, 0.2);
}

.cf-checkout-left .cf-btn-back {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cf-checkout-left .cf-btn-back:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
}

.cf-checkout-left .cf-btn-back i {
  margin-right: 0.35rem;
}

.cf-step2-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.cf-step2-actions .cf-btn-primary {
  width: 100%;
  min-width: 0;
}

.cf-step2-actions .cf-step2-back-to-cart {
  width: 100%;
  justify-content: center;
}

.cf-btn-back {
  padding: 0.95rem 1.35rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.cf-btn-back:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cf-cart-list .empty-cart {
  padding: 3rem 2.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cf-cart-list .empty-cart::before {
  content: '\f07a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: block;
  font-size: 2rem;
  color: rgba(168, 85, 247, 0.35);
  margin-bottom: 0.75rem;
}

/* Futuristic checkout: narrow viewport / mobile */
/* Mobile only: Secure Checkout — stacked layout, touch-friendly (PC unchanged above 900px) */
@media (max-width: 900px) {
  body.cart-page-futuristic {
    overflow-x: hidden;
  }
  .cf-checkout {
    padding: 1rem max(1rem, env(safe-area-inset-left)) 3rem max(1rem, env(safe-area-inset-right));
    padding-bottom: max(3rem, env(safe-area-inset-bottom));
  }
  .cf-center {
    flex-direction: column;
    gap: 1.25rem;
    max-width: 100%;
  }
  .cf-checkout-left {
    order: -1;
    margin-left: 0;
  }
  .cf-checkout-main {
    width: 100%;
  }
  /* Review only */
  .cf-checkout-main:has(#cart-step-1:not([hidden])) .cf-header {
    margin-top: 11rem;
  }
  /* Payment only */
  .cf-checkout-main:has(#cart-step-2:not([hidden])) .cf-header {
    margin-top: 11rem;
  }
  /* Finish only */
  .cf-checkout-main:has(#cart-step-3:not([hidden])) .cf-header {
    margin-top: 11rem;
  }
  .cf-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  .cf-title {
    font-size: 1.35rem;
    margin-top: 0;
    letter-spacing: 0.06em;
  }
  .cf-progress {
    max-width: 100%;
    gap: 0;
    margin-top: 0.75rem;
  }
  .cf-progress-step {
    width: 64px;
    grid-template-rows: 38px auto;
    gap: 0.4rem;
    padding: 0.5rem 0;
  }
  .cf-progress-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .cf-progress .cart-progress-text {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  .cf-progress-line {
    margin: 0 6px;
    height: 2px;
  }
  .cf-progress .cart-progress-line-active {
    margin: 0 6px;
    height: 3px;
  }
  .cf-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 1.25rem;
    width: 100%;
  }
  .cf-summary-panel {
    order: -1;
    width: 100%;
    margin-top: 4rem;
  }
  /* Payment only: Order summary higher (Review & Finish unchanged) */
  #cart-step-2 .cf-summary-panel {
    margin-top: 0.5rem;
  }
  /* Review only: Order summary higher (Payment & Finish unchanged) */
  #cart-step-1 .cf-summary-panel {
    margin-top: 1.5rem;
  }
  .cf-cart-panel {
    width: 100%;
  }
  .cf-cart-footer .cf-btn-primary {
    min-height: 50px;
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: 700;
  }
  .cf-cart-card {
    padding: 1.15rem 1.1rem;
  }
  .cart-page-items .cart-item,
  .cart-page-items .gaming-cart-item {
    padding: 1rem 1rem;
    min-height: 72px;
  }
  .cart-page-items .cart-item-remove {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cart-page-items .cart-item-qty-row button {
    min-width: 44px;
    min-height: 44px;
  }
  /* Order summary: mobile-friendly padding and typography */
  .cf-summary-panel .cf-panel-title.cf-summary-title {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
  }
  .cf-summary-panel .cf-panel-title-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  .cf-summary-inner {
    padding: 1.15rem 1.25rem;
  }
  .cf-summary-row {
    padding: 0.75rem 0.95rem;
    margin-bottom: 0.4rem;
  }
  .cf-summary-label {
    font-size: 0.75rem;
  }
  .cf-summary-value {
    font-size: 0.9rem;
    min-width: 4rem;
  }
  .cf-summary-total {
    padding: 1rem 1.15rem;
    margin-top: 0.65rem;
  }
  .cf-summary-total .cf-summary-label {
    font-size: 0.85rem;
  }
  .cf-summary-total-value {
    font-size: 1.5rem;
  }
  .cf-discount-block {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .cf-discount-toggle {
    font-size: 0.85rem;
  }
  .cf-discount-input {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }
  .cf-discount-apply {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }
  .cf-trustpilot {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
  }
  .cf-trustpilot-heading {
    font-size: 0.65rem;
  }
  .cf-step2-actions {
    margin-top: 0.9rem;
  }
  .cf-step2-actions .cf-btn-primary {
    min-height: 48px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }
  /* Select payment: single column, touch-friendly on mobile */
  .cf-payment-options {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .cf-payment-options .cf-pay-opt:nth-child(1),
  .cf-payment-options .cf-pay-opt:nth-child(2),
  .cf-payment-options .cf-pay-opt:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }
  .cf-pay-opt {
    min-height: 52px;
    padding: 0.95rem 1rem;
    gap: 0.75rem;
  }
  .cf-cart-panel .cf-panel-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }
  .cf-cart-card {
    padding: 1.25rem 1.25rem;
  }
  .cf-summary-card {
    width: 100%;
    box-sizing: border-box;
  }
  .cf-cart-list {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .cf-cart-list .cart-item,
  .cf-cart-list .gaming-cart-item {
    min-height: 72px;
    padding: 0.85rem 1rem;
  }
  .cart-page-items .cart-img-wrapper {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 8px;
  }
  .cart-page-items .cart-item-name {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  .cart-page-items .cart-item-price {
    font-size: 0.95rem;
  }
  .cf-summary-value,
  .cf-summary-total-value {
    word-break: break-all;
    overflow-wrap: break-word;
  }
  .cf-summary-row,
  .cf-summary-total {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .cf-checkout {
    padding: 0.75rem max(0.75rem, env(safe-area-inset-left)) 2.5rem max(0.75rem, env(safe-area-inset-right));
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }
  /* Review only */
  .cf-checkout-main:has(#cart-step-1:not([hidden])) .cf-header {
    margin-top: 9rem;
  }
  /* Payment only */
  .cf-checkout-main:has(#cart-step-2:not([hidden])) .cf-header {
    margin-top: 9rem;
  }
  /* Finish only */
  .cf-checkout-main:has(#cart-step-3:not([hidden])) .cf-header {
    margin-top: 9rem;
  }
  .cf-header {
    margin-bottom: 1.25rem;
  }
  .cf-title {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
  }
  .cf-progress-step {
    width: 52px;
    grid-template-rows: 34px auto;
    padding: 0.4rem 0;
  }
  .cf-progress-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .cf-progress .cart-progress-text {
    font-size: 0.6rem;
  }
  .cf-progress-line {
    margin: 0 4px;
  }
  .cf-progress .cart-progress-line-active {
    margin: 0 4px;
  }
  .cf-payment-options {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .cf-pay-opt {
    padding: 0.85rem 0.9rem;
    font-size: 0.9rem;
    min-height: 48px;
  }
  .cf-pay-opt i:first-of-type,
  .cf-pay-opt .cf-pay-logo {
    width: 36px;
    height: 36px;
  }
  .cf-pay-opt .cf-pay-logo {
    padding: 5px;
  }
  .cf-pay-opt-fastpay .cf-pay-logo.cf-pay-logo-fastpay {
    width: auto;
    min-width: 4.75rem;
    max-width: 6.5rem;
    height: 36px;
    padding: 3px 8px;
  }
  .cf-cart-card {
    padding: 1rem 1rem;
  }
  .cf-cart-panel .cf-panel-title {
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
  }
  .cf-cart-list .cart-item,
  .cf-cart-list .gaming-cart-item {
    min-height: 68px;
    padding: 0.7rem 0.85rem;
  }
  .cart-page-items .cart-img-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .cart-page-items .cart-item-name {
    font-size: 0.85rem;
  }
  .cf-checkout-left .cf-btn-back {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    min-height: 44px;
  }
  /* Order summary: compact on small phones */
  .cf-summary-panel .cf-panel-title.cf-summary-title {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
  }
  .cf-summary-panel .cf-panel-title-icon {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }
  .cf-summary-inner {
    padding: 1rem 1rem;
  }
  .cf-summary-row {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.35rem;
  }
  .cf-summary-label {
    font-size: 0.7rem;
  }
  .cf-summary-value {
    font-size: 0.85rem;
    min-width: 3.5rem;
  }
  .cf-summary-total {
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
  }
  .cf-summary-total-value {
    font-size: 1.35rem;
  }
  .cf-discount-block {
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
  }
  .cf-discount-toggle {
    font-size: 0.8rem;
  }
  .cf-trustpilot {
    margin-top: 0.6rem;
    padding: 0.5rem 0.75rem;
  }
  .cf-step2-actions .cf-btn-primary {
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    width: 100%;
  }
  .cf-discount-form {
    flex-wrap: wrap;
  }
  .cf-discount-input {
    min-width: 0;
    width: 100%;
  }
  .cf-discount-apply {
    width: 100%;
  }
}

/* ========== Best Selling: full-width Genji background; entire section edge-to-edge; no overlay ========== */
section.best-selling-section,
.products .best-selling-section,
#product-wallpaper-section .best-selling-section,
.pc-platform-section .best-selling-section {
  background-color: transparent !important;
  background-image: url('/assets/best-selling-bg.png') !important;
  background-size: cover !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
  min-height: 500px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
section.best-selling-section::before,
section.best-selling-section::after,
.products .best-selling-section::before,
.products .best-selling-section::after,
#product-wallpaper-section .best-selling-section::before,
#product-wallpaper-section .best-selling-section::after,
.pc-platform-section .best-selling-section::before,
.pc-platform-section .best-selling-section::after {
  display: none !important;
}
.products .best-selling-section .glow-orb,
#product-wallpaper-section .best-selling-section .glow-orb,
.pc-platform-section .best-selling-section .glow-orb {
  display: none !important;
}
.products .best-selling-section .container,
#product-wallpaper-section .best-selling-section .container,
.pc-platform-section .best-selling-section .container {
  background: transparent !important;
  background-color: transparent !important;
}

/* ========== Popular Games: sci-fi background image; full width; no overlay ========== */
section.popular-section,
.products .popular-section,
#product-wallpaper-section .popular-section,
.pc-platform-section .popular-section,
.pc-platform-section [id="popular-games-section"] {
  background-color: transparent !important;
  background-image: none !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 420px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
.products .popular-section .glow-spot-pink,
.products .popular-section .grid-lines,
#product-wallpaper-section .popular-section .glow-spot-pink,
#product-wallpaper-section .popular-section .grid-lines,
.pc-platform-section .popular-section .glow-spot-pink,
.pc-platform-section .popular-section .grid-lines,
.pc-platform-section [id="popular-games-section"] .glow-spot-pink,
.pc-platform-section [id="popular-games-section"] .grid-lines {
  display: none !important;
}
.products .popular-section .container,
#product-wallpaper-section .popular-section .container,
.pc-platform-section .popular-section .container,
.pc-platform-section [id="popular-games-section"] .container {
  background: transparent !important;
  background-color: transparent !important;
}

/* ========== Best Selling: true full viewport width — remove parent constraints ========== */
/* When a visible platform section contains Best Selling, use full viewport width so no black bars on sides */
main.content:has(.pc-platform-section:not([hidden]) .best-selling-steam-ui),
.content:has(.pc-platform-section:not([hidden]) .best-selling-steam-ui) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.pc-platform-section:not([hidden]):has(.best-selling-steam-ui) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* ========== Best Selling: gaming store hero/banner — full-width section background (Steam + EA App + Epic + Rockstar + GOG + Battle.net + Ubisoft) ========== */
/* background-size: cover | centered image | dark overlay | heavy blur | lower opacity | black side fades | soft neon center glow */
.best-selling-steam-ui,
section.best-selling-section.best-selling-steam-ui {
  background-color: #0a0a0f !important;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.86) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.86) 100%),
    url('assets/best-selling-bg.png') !important;
  background-size: cover, cover, cover !important;
  background-position: center, center, center !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-origin: border-box !important;
  background-clip: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 600px !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
/* ::before: dark overlay + heavy blur + glass overlay (frosted, subtle edge) */
.best-selling-steam-ui::before,
section.best-selling-section.best-selling-steam-ui::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.72) 40%, rgba(0, 0, 0, 0.76) 100%) !important;
  backdrop-filter: blur(40px) brightness(0.22) saturate(0.55) !important;
  -webkit-backdrop-filter: blur(40px) brightness(0.22) saturate(0.55) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}
/* ::after: black side fades (left/right into black) + soft neon center glow only */
.best-selling-steam-ui::after,
section.best-selling-section.best-selling-steam-ui::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.97) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.97) 100%) !important,
    radial-gradient(ellipse 65% 75% at 50% 55%, rgba(168, 85, 247, 0.03) 0%, rgba(236, 72, 153, 0.02) 50%, transparent 75%) !important;
}
/* Best Selling title: like reference — gradient on BEST, white SELLING, glitch/chromatic aberration */
.best-selling-steam-ui .section-title,
.best-selling-steam-ui h2.section-title {
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
  font-size: 1.6rem !important;
  letter-spacing: 0.12em !important;
  color: #f8f8f8 !important;
  text-shadow:
    -1px 0 rgba(255, 60, 80, 0.5),
    1px 0 rgba(80, 180, 255, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 16px rgba(0, 0, 0, 0.6) !important;
  margin-bottom: 0.25rem !important;
}
.best-selling-steam-ui .section-title .text-gradient-purple,
.best-selling-steam-ui h2.section-title .text-gradient-purple {
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 40%, #c026d3 70%, #ec4899 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(-1px 0 rgba(255, 60, 80, 0.45)) drop-shadow(1px 0 rgba(80, 180, 255, 0.45)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85)) !important;
}
.best-selling-steam-ui .text-secondary,
.best-selling-steam-ui .section-desc {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}
.best-selling-steam-ui .container,
.best-selling-steam-ui .glow-orb {
  background-color: transparent !important;
}
/* Content above background: title + cards + button */
.best-selling-steam-ui .container {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: min(1600px, 98vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
  box-sizing: border-box !important;
}
/* Center Best Selling title at the top */
.best-selling-steam-ui .d-flex.align-items-center.justify-content-center.mb-5,
.best-selling-steam-ui .container > div:first-of-type {
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}
.best-selling-steam-ui .section-title,
.best-selling-steam-ui h2.section-title {
  text-align: center !important;
}
/* Product row: horizontal carousel, sharp and above background */
.best-selling-steam-ui .position-relative.mb-4,
.best-selling-steam-ui .scroll-container,
.best-selling-steam-ui .scroll-inner {
  position: relative !important;
  z-index: 3 !important;
}
.best-selling-steam-ui .position-relative.mb-4 {
  padding-left: 4rem !important;   /* gutter for left arrow outside products */
  padding-right: 4rem !important;  /* gutter for right arrow outside products */
  overflow: visible !important;
}
.best-selling-steam-ui .scroll-btn-left {
  left: 4px !important;   /* in left gutter, outside product row */
}
.best-selling-steam-ui .scroll-btn-right {
  right: 4px !important;  /* in right gutter, outside product row */
}
.best-selling-steam-ui .scroll-container {
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
.best-selling-steam-ui .scroll-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 20px !important;
  min-width: min-content !important;
}
.best-selling-steam-ui .scroll-item {
  flex: 0 0 calc(20% - 20px) !important;
  min-width: 0 !important;
}
@media (max-width: 1200px) {
  .best-selling-steam-ui .scroll-item { flex: 0 0 calc(25% - 18px) !important; }
}
@media (max-width: 768px) {
  /* Mobile: force single-card slider — exactly 1 card visible, disable multi-card desktop layout */
  .best-selling-steam-ui .scroll-inner {
    width: 100% !important;
    min-width: 100% !important;  /* override base min-width: min-content */
  }
  .best-selling-steam-ui .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
  }
  .best-selling-steam-ui .scroll-container {
    overflow: hidden !important;
  }
}
@media (max-width: 500px) {
  .best-selling-steam-ui .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}
.best-selling-steam-ui .scroll-item,
.best-selling-steam-ui .gaming-card,
.best-selling-steam-ui .product-card,
.best-selling-steam-ui .game-card {
  position: relative !important;
  z-index: 4 !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
}

/* Best Selling product card — refined premium UI */
.best-selling-steam-ui .gaming-card {
  background:
    linear-gradient(168deg, rgba(32, 32, 42, 0.99) 0%, rgba(20, 20, 28, 1) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.12) !important;
  border-radius: 22px !important;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 8px 24px -4px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(168, 85, 247, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.07) !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  overflow: hidden !important;
}
.best-selling-steam-ui .gaming-card:hover {
  transform: translateY(-12px) scale(1.015) !important;
  border-color: rgba(168, 85, 247, 0.65) !important;
  background:
    linear-gradient(168deg, rgba(32, 32, 42, 0.99) 0%, rgba(20, 20, 28, 1) 100%) !important;
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(168, 85, 247, 0.5),
    0 0 32px -4px rgba(168, 85, 247, 0.45),
    0 0 56px -8px rgba(139, 92, 246, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08) !important;
}
.best-selling-steam-ui .gaming-card .gaming-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  height: 100% !important;
  outline: none !important;
}
.best-selling-steam-ui .gaming-card .gaming-card-link:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.6) !important;
  outline-offset: 2px !important;
}
.best-selling-steam-ui .gaming-card .card-img-wrapper {
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 20px 20px 0 0 !important;
  position: relative !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15) !important;
}
.best-selling-steam-ui .gaming-card .card-img-wrapper::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 55% !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%) !important;
  pointer-events: none !important;
}
.best-selling-steam-ui .gaming-card .card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
.best-selling-steam-ui .gaming-card:hover .card-img {
  transform: scale(1.08) !important;
}
.best-selling-steam-ui .gaming-card .platform-tag {
  top: 14px !important;
  left: 14px !important;
  padding: 8px 14px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  background: rgba(0, 0, 0, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(14px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.2) !important;
  letter-spacing: 0.1em !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  text-transform: uppercase !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.best-selling-steam-ui .gaming-card:hover .platform-tag {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}
.best-selling-steam-ui .gaming-card .platform-tag--icon {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.best-selling-steam-ui .gaming-card:hover .platform-tag--icon {
  box-shadow: none !important;
}
.best-selling-steam-ui .gaming-card .card-content {
  padding: 1.25rem 1.35rem 1.35rem !important;
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.98) 0%, rgba(16, 16, 24, 1) 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: background 0.3s ease !important;
}
.best-selling-steam-ui .gaming-card:hover .card-content {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.98) 0%, rgba(16, 16, 24, 1) 100%) !important;
  border-top-color: rgba(255, 255, 255, 0.05) !important;
}
.best-selling-steam-ui .gaming-card .card-title {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #f8f8f8 !important;
  margin: 0 0 1rem 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.8em !important;
  letter-spacing: 0.015em !important;
  transition: color 0.25s ease !important;
}
.best-selling-steam-ui .gaming-card:hover .card-title {
  color: #fff !important;
}
.best-selling-steam-ui .gaming-card .d-flex.align-items-end.justify-content-between.mt-3 {
  align-items: center !important;
  margin-top: 0 !important;
  padding-top: 1.05rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  gap: 0.85rem !important;
}
.best-selling-steam-ui .gaming-card .price-block,
.best-selling-steam-ui .gaming-card .price-block .text-neon-green {
  font-family: Arial, sans-serif !important;
}
.best-selling-steam-ui .gaming-card .price-block {
  padding: 0.55rem 0.9rem !important;
  background: linear-gradient(135deg, rgba(0, 255, 140, 0.12) 0%, rgba(0, 255, 120, 0.06) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  border-radius: 14px !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
}
.best-selling-steam-ui .gaming-card:hover .price-block {
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.12) !important;
}
.best-selling-steam-ui .gaming-card .price-block .text-neon-green {
  font-size: 1.28rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.025em !important;
  color: #a855f7 !important;
  text-shadow: 0 0 24px rgba(0, 255, 140, 0.2) !important;
}
.best-selling-steam-ui .gaming-card .price-block small {
  opacity: 0.92 !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  letter-spacing: 0.03em !important;
}
.best-selling-steam-ui .gaming-card .btn-icon {
  width: 46px !important;
  height: 46px !important;
  font-size: 1rem !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  color: #fff !important;
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
.best-selling-steam-ui .gaming-card:hover .btn-icon {
  background: linear-gradient(135deg, #b366ff 0%, #8b5cf6 50%, #7c3aed 100%) !important;
  border-color: rgba(168, 85, 247, 0.9) !important;
  transform: translateX(5px) rotate(-45deg) scale(1.06) !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.best-selling-steam-ui .scroll-btn {
  z-index: 20 !important;
  display: flex !important;
  visibility: visible !important;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  width: 56px !important;
  height: 56px !important;
  font-size: 1.35rem !important;
}
.best-selling-steam-ui .scroll-btn i {
  font-size: inherit !important;
}
.best-selling-steam-ui .scroll-btn:hover {
  background: rgba(168, 85, 247, 0.9) !important;
  border-color: #a855f7 !important;
  color: #fff !important;
}
.best-selling-steam-ui .scroll-btn[style*="opacity: 0"]:hover,
.best-selling-steam-ui .scroll-btn[style*="opacity:0"]:hover {
  cursor: not-allowed;
}
.best-selling-steam-ui .glow-orb {
  display: none !important;
}

/* ========== MOBILE ONLY - UI fixes (max-width 768px & 480px) ========== */
@media (max-width: 768px) {
  .upcoming-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 320px;
    padding: 0.6rem 0;
    margin-bottom: 1.25rem;
  }
  .product-filter-bar {
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }
  .product-filter-grid {
    gap: 0.85rem;
  }
  .product-filter-row {
    gap: 0.75rem 1rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .product-filter-price-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .product-filter-price-range {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .product-filter-input {
    width: 100%;
    min-width: 0;
    max-width: 8rem;
    padding: 0.5rem 0.65rem;
    font-size: 1rem;
  }
  .product-filter-select {
    padding: 0.5rem 1.75rem 0.5rem 0.85rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .product-filter-vsep {
    display: none;
  }
  .product-filter-reset {
    align-self: center;
    padding: 0.4rem 0.75rem;
  }
  #product-wallpaper-section {
    padding: 1.5rem 0 2.5rem;
    overflow-x: hidden;
  }
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
    padding: 0 0.25rem;
  }
  .upcoming-pagination {
    padding: 1rem 0.75rem;
    margin-top: 1.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 480px) {
  .upcoming-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 380px;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }
  .product-filter-select {
    padding: 0.45rem 1.5rem 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
  .product-filter-input {
    font-size: 0.95rem;
    padding: 0.45rem 0.6rem;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8rem;
  }
  .product-filter-checkbox-wrap {
    font-size: 0.8rem;
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 2rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem !important;
  }
  .upcoming-pagination {
    padding: 0.85rem 0.5rem;
    margin-top: 1.5rem;
    gap: 0.4rem;
  }
  .upcoming-pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 0.6rem;
    font-size: 0.8rem;
  }
}

/* ========== MOBILE-ONLY UI FIXES (no desktop changes) ========== */
@media (max-width: 768px) {
  .upcoming-container { padding: 0 1rem; }
  .product-filter-bar-wrap--visible { max-height: 320px; margin-bottom: 1rem; padding: 0.5rem 0; }
  .product-filter-bar { max-width: 100%; padding: 0 0.5rem; box-sizing: border-box; }
  .upcoming-section .product-filter-bar--gaming { padding: 1rem; border-radius: 12px; }
  .product-filter-grid { gap: 0.75rem; }
  .product-filter-row { gap: 0.75rem 1rem; }
  .product-filter-row--bottom { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .product-filter-select { padding: 0.5rem 1.75rem 0.5rem 0.75rem; font-size: 0.85rem; }
  .product-filter-price-block { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .product-filter-price-range { flex-wrap: wrap; }
  .product-filter-input { width: 100%; max-width: 8rem; min-width: 0; padding: 0.45rem 0.6rem; font-size: 1rem; }
  .product-filter-reset { margin-top: 0.25rem; }
  #product-wallpaper-section { padding: 1.25rem 0 2rem; }
  #product-wallpaper-section .product-grid { gap: 1rem !important; }
  .upcoming-pagination { padding: 1rem 0.5rem; gap: 0.5rem; }
  .upcoming-pagination-btn { min-width: 36px; height: 36px; font-size: 0.875rem; padding: 0 0.75rem; }
  .content, main.content { overflow-x: hidden; }
  .trending-grid-shell { overflow-x: hidden; max-width: 100%; }
}
@media (max-width: 480px) {
  .upcoming-container { padding: 0 0.75rem; }
  .product-filter-bar-wrap--visible { max-height: 380px; padding: 0.4rem 0; }
  .upcoming-section .product-filter-bar--gaming { padding: 0.85rem; border-radius: 10px; }
  .product-filter-row--top { gap: 0.6rem; }
  .product-filter-select { padding: 0.45rem 1.5rem 0.45rem 0.65rem; font-size: 0.8rem; }
  .product-filter-label, .product-filter-price-label { font-size: 0.8rem; }
  .product-filter-input { font-size: 0.95rem; padding: 0.4rem 0.55rem; }
  .product-filter-checkbox-wrap { font-size: 0.8rem; }
  .product-filter-reset { font-size: 0.8rem; }
  #product-wallpaper-section { padding: 1rem 0 1.5rem; }
  #product-wallpaper-section .product-grid { gap: 0.85rem !important; }
  .upcoming-pagination { padding: 0.75rem 0.4rem; gap: 0.4rem; margin-top: 1.5rem; }
  .upcoming-pagination-btn { min-width: 32px; height: 32px; font-size: 0.8rem; padding: 0 0.6rem; border-radius: 8px; }
}

/* ========== MOBILE UI FIXES — applies only for mobile (max-width: 768px and 480px) ========== */
@media (max-width: 768px) {
  /* Upcoming section — prevent overflow, better padding */
  .upcoming-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100%;
    overflow-x: hidden;
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 2rem !important;
  }
  /* Product filter bar — full width, stacked, increased height for content */
  .product-filter-bar-wrap--visible {
    max-height: 320px !important;
    margin-bottom: 1.25rem !important;
    padding: 0.6rem 0 !important;
  }
  .product-filter-bar {
    max-width: 100% !important;
    padding: 0 0.25rem !important;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 1rem !important;
    border-radius: 12px !important;
  }
  /* Filter grid and rows — stack vertically, better spacing */
  .product-filter-grid {
    gap: 0.75rem !important;
  }
  .product-filter-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }
  .product-filter-row--bottom {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }
  /* Filter selects — full width, readable size */
  .product-filter-select {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.6rem 2.25rem 0.6rem 1rem !important;
    font-size: 0.9rem !important;
  }
  /* Price block — stack, full width inputs */
  .product-filter-price-block {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .product-filter-price-range {
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
  }
  .product-filter-input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0.55rem 0.7rem !important;
    font-size: 1rem !important;
  }
  .product-filter-vsep {
    display: none !important;
  }
  .product-filter-reset {
    text-align: center !important;
    padding: 0.5rem !important;
  }
  /* Product grid — tighter gap, prevent overflow */
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
    padding: 0 !important;
  }
  /* Pagination — smaller buttons, wrap */
  .upcoming-pagination {
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
    padding: 1rem 0.5rem !important;
  }
  .upcoming-pagination-btn {
    min-width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
    padding: 0 0.6rem !important;
  }
}

@media (max-width: 480px) {
  .upcoming-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  #product-wallpaper-section {
    padding: 1rem 0 1.5rem !important;
  }
  .product-filter-bar-wrap--visible {
    max-height: 380px !important;
    padding: 0.5rem 0 !important;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.85rem !important;
    border-radius: 10px !important;
  }
  .product-filter-select {
    font-size: 0.875rem !important;
    padding: 0.55rem 2rem 0.55rem 0.9rem !important;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8rem !important;
  }
  .product-filter-input {
    font-size: 0.95rem !important;
    padding: 0.5rem 0.65rem !important;
  }
  .product-filter-checkbox-wrap {
    font-size: 0.85rem !important;
  }
  .product-filter-reset {
    font-size: 0.8rem !important;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem !important;
  }
  .upcoming-pagination-btn {
    min-width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }
}

/* ========== MOBILE-ONLY UI FIXES (no desktop changes) ========== */
@media (max-width: 768px) {
  .upcoming-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .product-filter-bar {
    max-width: 100%;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
  }
  .product-filter-bar-wrap--visible {
    max-height: 320px;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 1rem 1rem;
  }
  .product-filter-grid {
    gap: 0.75rem;
  }
  .product-filter-row--top {
    gap: 0.75rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  .product-filter-price-block {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }
  .product-filter-price-range {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }
  .product-filter-input {
    width: 5.5rem;
    min-width: 4.5rem;
    padding: 0.5rem 0.6rem;
    font-size: 1rem;
  }
  .product-filter-select {
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 100%;
  }
  .product-filter-reset {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }
  .product-filter-vsep {
    display: none;
  }
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
    padding: 0 0.25rem;
  }
  .upcoming-pagination {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .upcoming-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .product-filter-bar {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 380px;
    margin-bottom: 1rem;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.85rem 0.75rem;
  }
  .product-filter-row--top {
    gap: 0.6rem;
  }
  .product-filter-select {
    padding: 0.45rem 1.5rem 0.45rem 0.65rem;
    font-size: 0.8rem;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8rem;
  }
  .product-filter-input {
    width: 5rem;
    min-width: 4rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.95rem;
  }
  .product-filter-checkbox-wrap {
    font-size: 0.8rem;
  }
  .product-filter-checkbox {
    width: 1rem;
    height: 1rem;
  }
  .product-filter-reset {
    font-size: 0.75rem;
  }
  #product-wallpaper-section {
    padding: 1.5rem 0 2.5rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem !important;
  }
  .upcoming-pagination {
    padding: 0.85rem 0.5rem;
    gap: 0.4rem;
  }
  .upcoming-pagination-btn {
    min-width: 34px;
    height: 34px;
    font-size: 0.8rem;
    padding: 0 0.6rem;
  }
}

@media (max-width: 768px) {
  .content,
  main.content,
  #home {
    overflow-x: hidden;
  }
  .upcoming-section,
  .trending-grid-shell {
    overflow-x: hidden;
  }
  .product-filter-bar-wrap,
  .product-filter-bar {
    overflow-x: hidden;
  }
}

/* ========== MOBILE UI FIXES (mobile only - desktop unchanged) ========== */
@media (max-width: 768px) {
  /* Upcoming section & container */
  .upcoming-container {
    padding: 0 1rem;
    max-width: 100%;
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 2rem;
  }
  /* Product filter bar - full width, stacked, prevent overflow */
  .product-filter-bar {
    max-width: 100%;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  .product-filter-bar-wrap--visible {
    max-height: 380px;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.85rem 1rem;
  }
  .product-filter-grid {
    gap: 0.75rem;
  }
  .product-filter-row {
    gap: 0.65rem 1rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .product-filter-price-block {
    flex-wrap: wrap;
  }
  .product-filter-price-range {
    flex-wrap: wrap;
  }
  .product-filter-input {
    width: 100%;
    min-width: 0;
    max-width: 8rem;
  }
  .product-filter-select {
    font-size: 0.85rem;
    padding: 0.5rem 1.75rem 0.5rem 0.85rem;
  }
  .product-filter-reset {
    text-align: center;
  }
  .product-filter-vsep {
    display: none;
  }
  /* Product grid - spacing */
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
    padding: 0 0.25rem;
  }
  /* Pagination */
  .upcoming-pagination {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
    padding: 0 0.75rem;
  }
  /* Trending cards */
  .trending-product-card .trending-card-body {
    padding: 12px !important;
  }
  .trending-product-card .trending-card-title {
    font-size: 0.95rem !important;
  }
  .trending-product-card .trending-card-price {
    font-size: 1rem !important;
  }
}
@media (max-width: 480px) {
  .upcoming-container {
    padding: 0 0.75rem;
  }
  #product-wallpaper-section {
    padding: 1rem 0 1.75rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 420px;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }
  .product-filter-row--top {
    gap: 0.6rem;
  }
  .product-filter-select {
    font-size: 0.8rem;
    padding: 0.45rem 1.5rem 0.45rem 0.75rem;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8rem;
  }
  .product-filter-input {
    font-size: 0.95rem;
    padding: 0.45rem 0.6rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem !important;
  }
  .upcoming-pagination {
    padding: 0.85rem 0.5rem;
    gap: 0.4rem;
    margin-top: 1.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0 0.6rem;
  }
  .trending-product-card .trending-card-body {
    padding: 10px !important;
  }
  .trending-product-card .trending-card-title {
    font-size: 0.9rem !important;
  }
}

/* ========== MOBILE-ONLY UI FIXES (no desktop changes) ========== */
@media (max-width: 768px) {
  /* Upcoming section - prevent overflow */
  .upcoming-container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 2rem;
  }
  /* Product filter bar - full width, stacking, fit on mobile */
  .product-filter-bar {
    max-width: 100% !important;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
  }
  .product-filter-bar-wrap--visible {
    max-height: 360px;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }
  .product-filter-grid {
    gap: 0.75rem;
  }
  .product-filter-row {
    gap: 0.65rem 1rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .product-filter-price-block {
    flex-wrap: wrap;
  }
  .product-filter-select {
    padding: 0.5rem 1.5rem 0.5rem 0.85rem;
    font-size: 0.8125rem;
    min-width: 0;
  }
  .product-filter-input {
    width: 100%;
    min-width: 0;
    max-width: 8rem;
    font-size: 1rem;
    padding: 0.5rem 0.65rem;
  }
  .product-filter-vsep {
    display: none;
  }
  .product-filter-reset {
    text-align: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  /* Product grid - spacing */
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
  }
  /* Pagination - fit on mobile */
  .upcoming-pagination {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .upcoming-container {
    padding: 0 0.75rem;
  }
  #product-wallpaper-section {
    padding: 1rem 0 1.5rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 420px;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }
  .product-filter-select {
    font-size: 0.8rem;
    padding: 0.45rem 1.25rem 0.45rem 0.75rem;
  }
  .product-filter-input {
    font-size: 0.95rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.875rem !important;
  }
  .upcoming-pagination {
    padding: 0.85rem 0.5rem;
    gap: 0.4rem;
  }
  .upcoming-pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }
}

/* ========== MOBILE UI FIXES ONLY (max-width: 768px and below) — Desktop unchanged ========== */
@media (max-width: 768px) {
  /* Upcoming section: padding and overflow */
  .upcoming-container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 2rem;
  }
  /* Product filter bar: full width, more height for stacked layout */
  .product-filter-bar {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .product-filter-bar-wrap--visible {
    max-height: 320px;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin: 0 0.5rem;
  }
  /* Filter grid: stack vertically */
  .product-filter-grid {
    gap: 0.85rem;
  }
  .product-filter-row {
    gap: 0.75rem 1rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .product-filter-price-block {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .product-filter-price-range {
    flex-wrap: wrap;
  }
  .product-filter-vsep {
    display: none;
  }
  .product-filter-select {
    width: 100%;
    min-width: 0;
    font-size: 0.9rem;
    padding: 0.5rem 2rem 0.5rem 0.85rem;
  }
  .product-filter-input {
    width: 100%;
    min-width: 0;
    max-width: 8rem;
    font-size: 1rem;
  }
  .product-filter-reset {
    align-self: center;
    margin-top: 0.25rem;
  }
  /* Product grid: prevent overflow */
  #product-wallpaper-section .product-grid {
    padding: 0;
    gap: 1rem;
    min-width: 0;
  }
  /* Pagination: compact */
  .upcoming-pagination {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
    padding: 0 0.75rem;
  }
}

@media (max-width: 480px) {
  .upcoming-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .upcoming-section .product-filter-bar--gaming {
    margin: 0 0.25rem;
    padding: 0.75rem 0.85rem;
  }
  .product-filter-row--top {
    gap: 0.65rem;
  }
  .product-filter-select {
    font-size: 0.85rem;
    padding: 0.45rem 1.75rem 0.45rem 0.75rem;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8125rem;
  }
  .product-filter-input {
    font-size: 0.95rem;
    padding: 0.45rem 0.6rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem;
  }
  .upcoming-pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0 0.6rem;
  }
  .upcoming-pagination {
    padding: 0.85rem 0.5rem;
    gap: 0.4rem;
  }
}

/* Mobile overflow prevention (applies to main content area) */
@media (max-width: 768px) {
  .content,
  main.content,
  #home,
  .upcoming-section,
  .trending-grid-shell {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .product-grid,
  .row.g-4 {
    max-width: 100%;
    min-width: 0;
  }
  #product-wallpaper-section .trending-game-col {
    min-width: 0;
  }
}

/* ========== MOBILE UI FIXES (mobile only - desktop unchanged) ========== */
/* Tablet & small tablet */
@media (max-width: 768px) {
  .upcoming-container {
    padding-left: clamp(0.75rem, 4vw, 1rem);
    padding-right: clamp(0.75rem, 4vw, 1rem);
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 2rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 320px;
    padding: 0.65rem 0;
    margin-bottom: 1rem;
  }
  .product-filter-bar {
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.9rem 1rem;
  }
  .product-filter-grid {
    gap: 0.75rem;
  }
  .product-filter-row {
    gap: 0.65rem 1rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .product-filter-price-block {
    flex-wrap: wrap;
  }
  .product-filter-price-range {
    flex-wrap: wrap;
  }
  .product-filter-input {
    width: 100%;
    min-width: 0;
    max-width: 8rem;
  }
  .product-filter-select {
    font-size: 0.85rem;
    padding: 0.5rem 1.75rem 0.5rem 0.85rem;
  }
  .product-filter-reset {
    text-align: center;
  }
  .upcoming-pagination {
    padding: 1rem 0.75rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
  }
}

/* Phones */
@media (max-width: 480px) {
  .upcoming-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #product-wallpaper-section {
    padding: 1rem 0 1.5rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 380px;
    padding: 0.5rem 0;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }
  .product-filter-row--top {
    gap: 0.65rem;
  }
  .product-filter-select {
    font-size: 0.8rem;
    padding: 0.45rem 1.5rem 0.45rem 0.75rem;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8rem;
  }
  .product-filter-input {
    font-size: 1rem;
    padding: 0.45rem 0.65rem;
    max-width: none;
  }
  .product-filter-price-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-filter-row--bottom {
    gap: 0.5rem;
  }
  .product-filter-vsep {
    display: none;
  }
  .product-filter-reset {
    padding: 0.4rem 0;
  }
  .upcoming-pagination {
    gap: 0.45rem;
    padding: 0.85rem 0.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 34px;
    height: 34px;
    font-size: 0.8rem;
    padding: 0 0.6rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem !important;
  }
  .trending-product-card .trending-card-body,
  .trending-product-card .trending-card-title,
  .product-card .product-card-title {
    font-size: 0.95rem !important;
  }
}

/* Prevent overflow on mobile */
@media (max-width: 768px) {
  .upcoming-section,
  .product-filter-bar-wrap,
  .product-filter-bar,
  .product-filter-grid,
  .trending-grid-shell,
  .upcoming-container {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .product-filter-bar *,
  .product-filter-select,
  .product-filter-input {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ========== MOBILE-ONLY UI FIXES (desktop unchanged) ========== */
@media (max-width: 768px) {
  /* Upcoming section: prevent overflow */
  .upcoming-container {
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
  }
  #product-wallpaper-section {
    padding: 1.5rem 0 2rem;
    overflow-x: hidden;
  }
  /* Product filter bar: full width, stacked, fit content */
  .product-filter-bar {
    max-width: 100%;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
  }
  .product-filter-bar-wrap--visible {
    max-height: 320px;
    padding: 0.6rem 0;
    margin-bottom: 1.25rem;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }
  /* Filter rows: stack and tighten */
  .product-filter-grid {
    gap: 0.75rem;
  }
  .product-filter-row {
    gap: 0.65rem 1rem;
  }
  .product-filter-row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .product-filter-price-block {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .product-filter-price-range {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .product-filter-input {
    width: 5.5rem;
    min-width: 4.5rem;
    padding: 0.45rem 0.6rem;
    font-size: 1rem;
  }
  .product-filter-select {
    padding: 0.5rem 1.75rem 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
  .product-filter-vsep {
    display: none;
  }
  .product-filter-reset {
    text-align: center;
    margin-top: 0.25rem;
  }
  /* Product grid: ensure cards fit */
  #product-wallpaper-section .product-grid {
    gap: 1rem !important;
    padding: 0 0.25rem;
  }
  /* Pagination: compact */
  .upcoming-pagination {
    padding: 1rem 0.5rem;
    margin-top: 1.5rem;
    gap: 0.5rem;
  }
  .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .upcoming-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  #product-wallpaper-section {
    padding: 1.25rem 0 1.75rem;
  }
  .product-filter-bar-wrap--visible {
    max-height: 380px;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }
  .upcoming-section .product-filter-bar--gaming {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }
  .product-filter-row--top {
    gap: 0.6rem;
  }
  .product-filter-select {
    padding: 0.45rem 1.5rem 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
  .product-filter-label,
  .product-filter-price-label {
    font-size: 0.8rem;
  }
  .product-filter-input {
    width: 5rem;
    min-width: 4rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.95rem;
  }
  .product-filter-checkbox-wrap {
    font-size: 0.8rem;
  }
  .product-filter-reset {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
  #product-wallpaper-section .product-grid {
    gap: 0.85rem !important;
  }
  .upcoming-pagination {
    padding: 0.85rem 0.4rem;
    margin-top: 1.25rem;
    gap: 0.4rem;
  }
  .upcoming-pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    font-size: 0.8rem;
  }
}

/* Mobile: prevent horizontal scroll, ensure cards fit */
@media (max-width: 768px) {
  body, html { overflow-x: hidden; }
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 480px) {
  body, html { overflow-x: hidden; }
}

/* Mobile: prevent horizontal scroll, ensure cards fit */
@media (max-width: 768px) {
  body, html { overflow-x: hidden; }
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * { min-width: 0; max-width: 100%; }
}
@media (max-width: 480px) {
  body, html { overflow-x: hidden; }
}

/* Mobile: prevent horizontal scroll, ensure cards fit */
@media (max-width: 768px) {
  body, html { overflow-x: hidden; }
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * { min-width: 0; max-width: 100%; }
}
@media (max-width: 480px) {
  body, html { overflow-x: hidden; }
}

/* Mobile: prevent overflow, ensure cards fit */
@media (max-width: 768px) {
  body, html { overflow-x: hidden; }
  .content, main.content { overflow-x: hidden; max-width: 100%; }
  .trending-grid-shell { overflow-x: hidden; max-width: 100%; }
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * { min-width: 0; max-width: 100%; }
}
@media (max-width: 480px) {
  body, html { overflow-x: hidden; }
}

/* ========== MOBILE: Overflow prevention + card fit (no desktop changes) ========== */
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
  }
  .content, main.content, .upcoming-container {
    overflow-x: hidden;
    max-width: 100%;
  }
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .trending-uni, .trending-product-card, .product-card, .game-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 480px) {
  body, html {
    overflow-x: hidden !important;
  }
  /* Ensure product grid has proper spacing (override later rules) */
  .upcoming-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box;
  }
  #product-wallpaper-section .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 0 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ========== FINAL MOBILE SAFEGUARDS (max-width 768px) ========== */
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .content, main.content, .upcoming-container {
    overflow-x: hidden;
    max-width: 100%;
  }
  .trending-grid-shell {
    overflow-x: hidden;
    max-width: 100%;
  }
  #product-wallpaper-section .product-grid .trending-game-col,
  #product-wallpaper-section .product-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .trending-uni, .product-card, .game-card {
    min-width: 0;
    max-width: 100%;
  }
}

/* ========== BEST SELLING MOBILE: Force single-card slider (overrides all else) ========== */
@media (max-width: 768px) {
  .best-selling-section .scroll-container,
  .best-selling-steam-ui .scroll-container,
  section.best-selling-section .scroll-container {
    overflow: hidden !important;
    overflow-x: hidden !important;
  }
  /* Override width: max-content and min-width: min-content from earlier rules so flex 100% resolves to container */
  .pc-platform-section .best-selling-section .scroll-inner,
  .pc-platform-section .best-selling-section .scroll-container .scroll-inner,
  .pc-platform-section [id$="-best-selling-track"],
  .best-selling-section .scroll-inner,
  .best-selling-steam-ui .scroll-inner,
  section.best-selling-section .scroll-inner {
    width: 100% !important;
    min-width: 100% !important;
    gap: 20px !important;  /* keep card spacing; do not reduce at 480px */
  }
  .best-selling-section .scroll-item,
  .best-selling-steam-ui .scroll-item,
  section.best-selling-section .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
  }
  .best-selling-section .scroll-btn,
  .best-selling-steam-ui .scroll-btn {
    display: flex !important;
    visibility: visible !important;
  }
  /* Preserve 20px gap for correct scroll step (matches JS: item.offsetWidth + 20) */
  .best-selling-section .scroll-inner,
  .best-selling-steam-ui .scroll-inner,
  [id$="-best-selling-track"] {
    gap: 20px !important;
  }
}
@media (max-width: 480px) {
  .best-selling-section .scroll-item,
  .best-selling-steam-ui .scroll-item,
  section.best-selling-section .scroll-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* ========== SOFTWARE PAGE — Dedicated design ========== */
.software-page-wrap {
  width: 100%;
  padding-bottom: 4rem;
}
.software-hero {
  position: relative;
  padding: 4rem 0 4.5rem;
  overflow: hidden;
}
.software-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #0a0a0f 0%, #0d1520 35%, #0a0f18 70%, #080c12 100%);
}
.software-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 70%);
}
.software-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(16, 185, 129, 0.12), transparent 55%);
  pointer-events: none;
}
.software-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.software-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.software-hero-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, #fff 0%, #a7f3d0 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.software-hero-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.software-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.software-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.software-hero-stats i {
  color: #34d399;
  font-size: 0.9rem;
}
/* Software filter pills */
.software-filters-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 2rem 0;
  margin-top: 1.5rem;
}
.software-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  flex-wrap: wrap;
}
.software-filters::-webkit-scrollbar {
  display: none;
}
.software-filter-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
}
.software-filter-tab:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.software-filter-tab.active {
  color: #fff;
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}
.software-sections-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.software-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.software-section:last-child {
  border-bottom: none;
}
.software-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.software-section-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 1.1rem;
}
.software-section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.04em;
}
.software-section-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 100px;
  margin-left: auto;
}
.software-section .software-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1399px) {
  .software-section .software-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1099px) {
  .software-section .software-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .software-section .software-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}
@media (max-width: 380px) {
  .software-section .software-grid {
    grid-template-columns: 1fr;
  }
}
.software-section .software-section-pagination {
  margin-top: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── SOFTWARE PRODUCT CARD (dedicated layout) ─── */
.sw-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}
.sw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}
.sw-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sw-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}
.sw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sw-card:hover .sw-card-img {
  transform: scale(1.06);
}
.sw-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: none;
}
.sw-card-badges .sw-card-disc {
  margin-left: auto;
}
.sw-card-type {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sw-card-disc {
  padding: 4px 8px;
  border-radius: 6px;
  background: #10b981;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}
.sw-card-body {
  padding: 1rem 1.1rem 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sw-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  transition: color 0.2s ease;
}
.sw-card:hover .sw-card-name {
  color: #6ee7b7;
}
.sw-card-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sw-card-meta i {
  color: #34d399;
  font-size: 0.7rem;
}
.sw-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.sw-card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.sw-card-currency {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.sw-card-cta {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.sw-card:hover .sw-card-cta {
  background: #10b981;
  color: #fff;
}
.sw-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 1.1rem 1rem;
}
.sw-card-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.sw-card-buy:hover {
  filter: brightness(1.12);
  transform: scale(1.02);
}
.sw-card-wish {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.sw-card-wish:hover {
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.3);
  background: rgba(244, 114, 182, 0.08);
}
.sw-card-wish.active {
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.4);
  background: rgba(244, 114, 182, 0.12);
}
.sw-card-wish.active i::before {
  content: '\f004';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
@media (max-width: 768px) {
  .software-hero {
    padding: 2.75rem 0 3rem;
  }
  .software-hero-content {
    padding: 0 1rem;
  }
  .software-filters-wrap {
    padding: 0 0.75rem 1.25rem;
    margin-top: 1rem;
  }
  .software-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    gap: 8px;
    padding: 4px 2px 10px;
    margin: 0 -2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.35) transparent;
  }
  .software-filter-tab {
    scroll-snap-align: start;
  }
  .software-section {
    padding: 1.75rem 0;
  }
  .software-section-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
  .software-section-count {
    margin-left: 0;
    flex: 0 0 auto;
  }
  .software-section .software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .sw-card-body { padding: 0.85rem 1rem 0.75rem; }
  .sw-card-name { font-size: 0.88rem; }
  .sw-card-price { font-size: 1rem; }
  .sw-card-actions { padding: 0 1rem 0.85rem; }
  .sw-card-buy { padding: 8px 12px; font-size: 0.75rem; }
  .software-section .software-section-pagination {
    margin-top: 1.35rem;
    padding: 0.75rem 0.25rem;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .software-page-wrap {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
  }
  .software-hero {
    padding: calc(1.5rem + env(safe-area-inset-top, 0px) * 0.25) 0.75rem 2.25rem;
  }
  .software-hero-badge {
    font-size: 0.65rem;
    padding: 5px 12px;
    margin-bottom: 1rem;
  }
  .software-hero-title {
    font-size: clamp(1.65rem, 9vw, 2.4rem);
    letter-spacing: 0.05em;
    line-height: 1.1;
  }
  .software-hero-tagline {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
    padding: 0 0.25rem;
  }
  .software-hero-stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .software-hero-stats span {
    font-size: 0.75rem;
  }
  .software-filters-wrap {
    padding: 0 0.65rem 1rem;
  }
  .software-filter-tab {
    padding: 7px 14px;
    font-size: 0.74rem;
  }
  .software-sections-wrap {
    padding: 0 0.65rem 1.5rem;
  }
  .software-section {
    padding: 1.35rem 0;
  }
  .software-section-header {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      'icon title'
      'count count';
    gap: 8px 12px;
    margin-bottom: 1.1rem;
  }
  .software-section-icon {
    grid-area: icon;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .software-section-title {
    grid-area: title;
    font-size: 1.05rem;
    align-self: center;
    line-height: 1.25;
  }
  .software-section-count {
    grid-area: count;
    margin-left: 0;
    justify-self: start;
    font-size: 0.65rem;
    padding: 3px 10px;
  }
  .software-section .software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sw-card:hover {
    transform: none;
  }
  .sw-card-body { padding: 0.65rem 0.75rem 0.55rem; }
  .sw-card-name { font-size: 0.78rem; -webkit-line-clamp: 2; line-height: 1.3; }
  .sw-card-meta {
    font-size: 0.62rem;
    gap: 4px;
  }
  .sw-card-meta .fa-bolt {
    display: none;
  }
  .sw-card-price { font-size: 0.88rem; }
  .sw-card-currency { font-size: 0.6rem; }
  .sw-card-cta {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  .sw-card-actions { padding: 0 0.75rem 0.7rem; gap: 6px; }
  .sw-card-buy {
    padding: 8px 10px;
    font-size: 0.68rem;
    gap: 6px;
  }
  .sw-card-buy i {
    font-size: 0.75rem;
  }
  .sw-card-wish { width: 34px; height: 34px; font-size: 0.85rem; }
  .sw-card-badges {
    top: 6px;
    left: 6px;
    right: 6px;
  }
  .sw-card-type {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sw-card-disc {
    flex-shrink: 0;
  }
  .software-section .software-section-pagination {
    margin-top: 1rem;
    padding: 0.5rem 0;
    gap: 0.35rem;
  }
  .software-section .software-section-pagination .upcoming-pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.55rem;
    font-size: 0.8rem;
    border-radius: 10px;
  }
  .software-section .software-section-pagination .upcoming-pagination-btn.prev,
  .software-section .software-section-pagination .upcoming-pagination-btn.next {
    padding: 0 0.65rem;
  }
  .software-section .software-section-pagination .upcoming-pagination-btn.prev .btn-text,
  .software-section .software-section-pagination .upcoming-pagination-btn.next .btn-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

/* SOFTWARE view: undo UPCOMING mobile full-bleed hack (prevents horizontal scroll / clipped hero) */
@media (max-width: 480px) {
  #product-wallpaper-section.pw-section--software {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  #product-wallpaper-section.pw-section--software .upcoming-container {
    padding-left: max(0.65rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px)) !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }
}


