/* ========================================================
   GITGAMES — Ultra-Modern Gaming & Voucher Marketplace
   Aesthetic Dark Theme inspired by Eneba, Steam & Epic Games
   ======================================================== */

:root {
  --bg-dark: #0b0e14;
  --bg-card: #121824;
  --bg-surface: #172033;
  --bg-hover: #1e293b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.3);
  
  --color-primary: #8b5cf6;
  --color-primary-hover: #7c3aed;
  --color-cyan: #06b6d4;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 25px rgba(139, 92, 246, 0.35);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================================
   1. TOP NOTIFICATION & GEOLOCATION BAR (HIDDEN AS REQUESTED)
   ======================================================== */
.top-geo-bar {
  display: none !important;
}
.top-geo-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.geo-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.geo-tag-badge span.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-selectors {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dropdown-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

/* ========================================================
   2. MAIN SITE HEADER
   ======================================================== */
.site-header {
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 500;
}
.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-link img {
  height: 42px;
  width: auto;
  display: block;
}

/* Search Bar (Eneba Style with Platform Filter) */
.header-search-wrapper {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.header-search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.header-search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.search-icon-slot {
  padding-left: 14px;
  color: var(--text-dim);
}
.header-search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 12px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.header-search-input::placeholder {
  color: var(--text-dim);
}
.header-search-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 16px;
  height: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.header-search-btn:hover {
  background: var(--color-primary-hover);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-sell-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}
.btn-sell-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.header-icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  font-size: 1.1rem;
}
.header-icon-btn:hover {
  border-color: var(--color-primary);
  background: var(--bg-surface);
}
.header-icon-btn .badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Language Switcher Dropdown Modal */
.lang-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  width: 220px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
}
.lang-dropdown-panel.open {
  display: block;
}
.lang-option {
  width: 100%;
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: var(--text-main);
  text-align: left;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.lang-option:hover {
  background: var(--bg-surface);
  color: var(--color-cyan);
}

/* ========================================================
   3. CATEGORY NAVIGATION TABS BAR
   ======================================================== */
.nav-categories-bar {
  background: #0f141d;
  border-bottom: 1px solid var(--border-color);
}
.nav-categories-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}
.cat-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.cat-filter-btn:hover {
  color: #fff;
}
.cat-filter-btn.active {
  color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
}

/* ========================================================
   4. HERO PROMOTIONAL BANNER CAROUSEL
   ======================================================== */
.hero-banner-section {
  padding: 24px 0 36px;
}
.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-promo-card {
  background: 
    linear-gradient(90deg, rgba(7, 9, 14, 0.96) 0%, rgba(11, 15, 23, 0.90) 42%, rgba(11, 15, 23, 0.35) 75%, rgba(7, 9, 14, 0.7) 100%),
    url('../images/wallpapers/gitgames_hero_wallpaper.jpg') right center / cover no-repeat;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 24px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 92, 246, 0.2);
}
.hero-promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.poster-badge-hot {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
  z-index: 2;
  letter-spacing: 0.5px;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-promo-title {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-promo-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}
.hero-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  transition: var(--transition);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.6);
}

.hero-featured-poster {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}
.hero-featured-poster img {
  max-height: 310px;
  width: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(139, 92, 246, 0.35);
  border: 1px solid rgba(139, 92, 246, 0.4);
  transform: rotateY(-6deg) rotateX(3deg) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.hero-featured-poster:hover img {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.95), 0 0 50px rgba(6, 182, 212, 0.5);
}

/* ========================================================
   5. PERKS & GUARANTEES STRIP
   ======================================================== */
.perks-strip {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  background: rgba(18, 24, 36, 0.4);
}
.perks-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.perk-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.perk-icon-wrap svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
}
.perk-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.perk-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ========================================================
   6. PLATFORM QUICK PILLS
   ======================================================== */
.platform-pills-bar {
  padding: 20px 0 12px;
}
.platform-pills-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}
.plat-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.plat-pill-btn img,
.plat-pill-btn svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  vertical-align: middle !important;
}
.plat-pill-btn:hover {
  background: var(--bg-surface);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.plat-pill-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

/* ========================================================
   7. PRODUCT CARDS & GRID
   ======================================================== */
.section-wrapper {
  padding: 28px 0;
}
.section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title svg,
.section-title-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Flash Timer Tag */
.flash-timer-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Game Card */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.6), var(--shadow-neon);
}

.card-cover-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #0f141d;
  overflow: hidden;
}
.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .card-cover-img {
  transform: scale(1.04);
}

.card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge-discount {
  background: var(--color-rose);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
}
.badge-region {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-wish-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}
.btn-wish-toggle:hover, .btn-wish-toggle.active {
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--color-rose);
}

/* Card Body */
.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.platform-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.platform-tag img {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}
.badge-cat-tag {
  font-size: 0.63rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
}
.badge-category-modal {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
  display: inline-flex;
  align-items: center;
}
.stock-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-emerald);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.stock-pill svg {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  max-width: 11px !important;
  flex-shrink: 0 !important;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.rating svg {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  max-width: 11px !important;
  flex-shrink: 0 !important;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.seller-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-pricing-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.price-stack {
  display: flex;
  flex-direction: column;
}
.original-price {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}
.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.btn-quick-buy {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.05rem;
}
.btn-quick-buy:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

/* ========================================================
   8. MULTI-SELLER PRODUCT MODAL
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.product-detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 95%;
  max-width: 860px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}
.product-detail-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-header-thumb {
  display: none;
}
.modal-header-info {
  flex: 1;
  min-width: 0;
}
.modal-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.modal-product-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
  margin: 0;
}
.btn-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  transition: var(--transition);
}
.btn-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.modal-grid-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
.modal-poster-wrap {
  width: 100%;
}
.modal-poster-wrap img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  display: block;
}
.modal-specs-wrap {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.modal-specs-wrap p:first-child {
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-content-details {
  min-width: 0;
  width: 100%;
}
.modal-product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.modal-best-deal-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.deal-price-col {
  display: flex;
  flex-direction: column;
}
.deal-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 2px;
}
.deal-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}
.deal-badge-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.sellers-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 16px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.sellers-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seller-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  box-sizing: border-box;
}
.seller-row:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: #1b253b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.seller-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.seller-badge-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1;
}
.seller-details {
  min-width: 0;
  flex: 1;
}
.seller-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.best-offer-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.seller-stats {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.seller-stats b {
  color: #cbd5e1;
}
.stat-dot {
  color: var(--text-dim);
  opacity: 0.6;
}
.seller-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.seller-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}
.btn-buy-seller {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.btn-buy-seller:hover {
  background: linear-gradient(135deg, #9061f9, #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5);
}
.btn-buy-seller:active {
  transform: translateY(0);
}
.btn-buy-seller .btn-text-desktop {
  display: inline;
}
.btn-buy-seller .btn-text-mobile {
  display: none;
}

/* ========================================================
   9. SELLER PORTAL MODAL ("Vinde pe GitGames")
   ======================================================== */
.seller-portal-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 95%;
  max-width: 640px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  padding: 28px;
  z-index: 1000;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
}
.seller-portal-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-input, .form-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus {
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.payout-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px dashed rgba(52, 211, 153, 0.4);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ========================================================
   10. CART DRAWER & KEY REVEAL MODAL
   ======================================================== */
.cart-slide-drawer,
.wishlist-slide-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}
.cart-slide-drawer.active,
.wishlist-slide-drawer.active {
  right: 0;
}
.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-items-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cart-item-thumb {
  width: 50px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.cart-item-plat {
  font-size: 0.7rem;
  color: var(--color-cyan);
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  font-size: 0.9rem;
}
.cart-item-remove:hover {
  color: var(--color-rose);
}
.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(11, 14, 20, 0.8);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Wishlist Item Rows & Interactive Buttons */
.wishlist-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}
.wishlist-item-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.wishlist-item-thumb {
  width: 52px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.wishlist-item-info {
  flex: 1;
  min-width: 0;
}
.wishlist-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.btn-wishlist-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-wishlist-add-cart:hover {
  background: #10b981;
  color: #07090e;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}
.btn-wishlist-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #f43f5e;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.btn-wishlist-remove:hover {
  background: #f43f5e;
  color: #fff;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.4);
  transform: translateY(-1px);
}

/* Key Reveal Modal */
.key-reveal-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 95%;
  max-width: 580px;
  background: var(--bg-card);
  border: 1px solid var(--color-cyan);
  border-radius: 20px;
  padding: 28px;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.3);
}
.key-reveal-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.key-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.key-reveal-box {
  margin-top: 8px;
  background: #090d14;
  border: 1px dashed var(--color-cyan);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.revealed-key-code {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-cyan);
  letter-spacing: 2px;
}
.btn-copy-code {
  background: var(--color-cyan);
  color: #000;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.btn-copy-code.copied {
  background: var(--color-emerald);
  color: #fff;
}

/* ========================================================
   11. GEOLOCATION TOAST NOTIFICATION
   ======================================================== */
.geo-toast-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(18, 24, 36, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-cyan);
  border-radius: 14px;
  padding: 14px 18px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 420px;
}
.geo-toast-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.geo-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.geo-flag {
  font-size: 1.8rem;
}
.geo-text {
  flex: 1;
  font-size: 0.85rem;
}
.geo-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}
.geo-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.marketplace-toast {
  background: var(--bg-surface);
  border: 1px solid var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.25s ease;
}
.marketplace-toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* ========================================================
   12. MOBILE BOTTOM NAVIGATION BAR
   ======================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 14, 20, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  z-index: 500;
  padding: 8px 22px calc(8px + env(safe-area-inset-bottom, 0px)) 18px;
  box-sizing: border-box;
}
.mobile-nav-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: center;
  padding: 4px 0;
}
.mobile-nav-link span.icon {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 24px;
}
.mobile-nav-link span.icon svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}
.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--color-cyan);
}
.mobile-nav-link .badge-count {
  position: absolute;
  top: -3px;
  right: -7px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#mobile-nav-cart {
  /* Extra safeguard to ensure Cart is comfortably inward from the right bezel */
  padding-right: 6px;
}
  align-items: center;
  justify-content: center;
}

/* ========================================================
   13. FOOTER
   ======================================================== */
.site-footer {
  background: #080b10;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 80px;
  color: var(--text-muted);
}
.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--color-cyan);
}
.footer-bottom {
  max-width: 1320px;
  margin: 36px auto 0;
  padding: 24px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ========================================================
   14. RESPONSIVE MEDIA QUERIES (MOBILE PERFECTION)
   ======================================================== */
@media (max-width: 1024px) {
  .marketplace-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-promo-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .hero-featured-poster {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-geo-bar {
    display: none; /* Keep header super clean on mobile */
  }
  .header-container {
    padding: 10px 14px;
    gap: 10px;
  }
  .brand-logo-link img {
    height: 34px;
  }
  .header-actions .btn-sell-primary span.btn-text {
    display: none; /* Compact sell button on mobile */
  }
  .header-actions .btn-sell-primary {
    padding: 8px 12px;
  }
  .header-search-wrapper {
    max-width: 100%;
    margin-top: 6px;
    order: 3;
    width: 100%;
  }
  .header-container {
    flex-wrap: wrap;
  }

  .marketplace-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card-body {
    padding: 10px;
  }
  .card-title {
    font-size: 0.85rem;
    height: 2.6em;
  }
  .current-price {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.15rem !important;
    gap: 8px !important;
  }
  .section-title svg,
  .section-title-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
  }
  .perk-item {
    gap: 10px !important;
  }
  .perk-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
  }
  .perk-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
  }
  .plat-pill-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    gap: 6px !important;
  }
  .plat-pill-btn img,
  .plat-pill-btn svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    flex-shrink: 0 !important;
  }
  .cat-filter-btn {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    gap: 6px !important;
  }
  .cat-filter-btn .cat-svg-icon {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }

  /* Mobile Modals: Absolute guarantee against overflow */
  .product-detail-modal,
  .seller-portal-modal,
  .key-reveal-modal {
    position: fixed !important;
    top: 50% !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
    transform: translateY(-50%) scale(0.98) !important;
    padding: 16px 12px !important;
    border-radius: 16px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .product-detail-modal.active,
  .seller-portal-modal.active,
  .key-reveal-modal.active {
    transform: translateY(-50%) scale(1) !important;
  }

  /* Modal Header on Mobile */
  .modal-header-row {
    margin-bottom: 12px !important;
    gap: 10px !important;
  }
  .modal-header-thumb {
    display: block !important;
    width: 48px !important;
    height: 64px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: #090d14 !important;
  }
  .modal-header-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .modal-product-title {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
  }
  .btn-modal-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 1.25rem !important;
  }

  /* Grid layout becomes clean vertical stack */
  .modal-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .modal-poster-wrap {
    display: none !important;
  }
  .modal-product-desc {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    max-height: 68px;
    overflow-y: auto;
  }

  /* Best Deal Box */
  .modal-best-deal-box {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .deal-value {
    font-size: 1.3rem !important;
  }
  .deal-badge-pill {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }

  /* Seller Rows on Mobile: Clean 2-tier stacked card */
  .sellers-section-title {
    font-size: 0.92rem !important;
    margin: 12px 0 8px !important;
  }
  .seller-row {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 11px 12px !important;
    gap: 8px !important;
    background: #141c2c !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
  }
  .seller-info {
    width: 100% !important;
    gap: 10px !important;
  }
  .seller-badge-icon {
    font-size: 1.15rem !important;
  }
  .seller-name {
    font-size: 0.88rem !important;
    gap: 6px !important;
  }
  .seller-stats {
    font-size: 0.68rem !important;
    gap: 4px !important;
    margin-top: 2px !important;
    color: #94a3b8 !important;
  }
  .seller-action {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 0 !important;
  }
  .seller-price {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #34d399 !important;
    white-space: nowrap !important;
  }
  .btn-buy-seller {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    min-width: 90px !important;
    text-align: center !important;
  }
  .btn-buy-seller .btn-text-desktop {
    display: none !important;
  }
  .btn-buy-seller .btn-text-mobile {
    display: inline !important;
    font-weight: 800 !important;
  }

  /* Seller Portal Form on Mobile */
  .seller-portal-modal .form-group {
    margin-bottom: 12px;
  }
  .seller-portal-modal .payout-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Key Reveal Modal on Mobile */
  .key-reveal-modal {
    padding: 18px 14px !important;
  }
  .key-reveal-box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    text-align: center !important;
  }
  .revealed-key-code {
    font-size: 0.95rem !important;
    word-break: break-all !important;
  }

  .cart-slide-drawer,
  .wishlist-slide-drawer {
    width: 100%;
    right: -100%;
  }
  .cart-slide-drawer.active,
  .wishlist-slide-drawer.active {
    right: 0 !important;
  }

  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .site-footer {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .footer-bottom {
    margin-top: 30px !important;
    padding-top: 20px !important;
    padding-bottom: 25px !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .footer-bottom span {
    display: block !important;
    line-height: 1.5 !important;
  }

  .geo-toast-banner {
    left: 12px;
    right: 12px;
    bottom: 74px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-promo-title {
    font-size: 1.9rem;
  }
  .hero-promo-desc {
    font-size: 0.85rem;
  }
  .marketplace-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .perks-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.admin-top-link { display: inline-flex; align-items: center; gap: 5px; background: rgba(139, 92, 246, 0.15); border: 1px solid var(--color-primary); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 6px; text-decoration: none; transition: var(--transition); } 
.admin-top-link:hover { background: var(--color-primary); box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }

/* ==========================================================================
   GitGames Modern Branding, Android App Integration & Wallpaper Styles
   ========================================================================== */

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 230px;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.brand-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.4));
}

/* Top bar Android button */
.btn-top-android {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-top-android:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}
.top-android-badge {
  background: #10b981;
  color: #064e3b;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Main Header Android Button */
.btn-android-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-android-header:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}
.badge-android-free {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Hero Section Android CTA Button */
.btn-hero-android {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-hero-android:hover {
  background: #10b981;
  color: #07090e;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* Floating Android Install Pill (Mobile) */
.android-float-banner {
  display: none;
  position: fixed;
  bottom: 68px;
  left: 12px;
  right: 12px;
  z-index: 995;
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.2);
  padding: 10px 14px;
  animation: slideUpFloat 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpFloat {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.android-float-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.android-float-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.android-float-icon-box {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.android-app-thumb {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.android-dot-indicator {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #07090e;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}
.android-float-text {
  min-width: 0;
}
.android-float-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.android-official-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.android-float-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.android-float-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-install-float-action {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  white-space: nowrap;
  transition: var(--transition);
}
.btn-install-float-action:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}
.btn-float-dismiss {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s ease;
}
.btn-float-dismiss:hover {
  color: #fff;
}

/* ==========================================================================
   Android App Modal Styles
   ========================================================================== */

.android-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}
.android-app-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0c111c;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 24px;
  padding: 28px 24px;
  z-index: 1001;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(16, 185, 129, 0.15);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPopIn {
  from { transform: translate(-50%, -46%) scale(0.95); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.android-app-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 14px;
  margin-bottom: 20px;
}
.android-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.3);
  border: 2px solid rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}
.android-ratings-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.android-ratings-row .stars {
  color: #fbbf24;
  font-size: 0.85rem;
}
.android-ratings-row .rating-num {
  font-weight: 800;
  color: #fff;
  font-size: 0.85rem;
}
.android-ratings-row .reviews-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.badge-play-protect {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.android-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.android-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: 14px;
}
.android-feat-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.android-feat-item strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 2px;
}
.android-feat-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.android-modal-cta-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-android-main-install {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
}
.btn-android-main-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}
.btn-android-download-apk {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-android-download-apk:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.android-steps-hint {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.5;
}
.android-steps-hint strong {
  color: #38bdf8;
}

@media (max-width: 768px) {
  .hero-promo-card {
    background: 
      linear-gradient(180deg, rgba(7, 9, 14, 0.96) 0%, rgba(11, 15, 23, 0.92) 55%, rgba(7, 9, 14, 0.98) 100%),
      url('../images/wallpapers/gitgames_hero_wallpaper.jpg') top center / cover no-repeat !important;
    padding: 24px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }
  .hero-promo-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-tagline {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    padding: 4px 10px !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }
  .hero-promo-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .hero-promo-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .hero-cta-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-cta-actions .btn-hero-primary {
    flex: 1 1 calc(50% - 5px) !important;
    min-width: 120px !important;
    padding: 11px 12px !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
  .hero-cta-actions .btn-sell-primary {
    flex: 1 1 calc(50% - 5px) !important;
    min-width: 120px !important;
    padding: 11px 12px !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
  .hero-cta-actions .btn-hero-android {
    flex: 1 1 100% !important;
    padding: 11px 12px !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .android-float-banner {
    left: 8px !important;
    right: 8px !important;
    bottom: 64px !important;
    padding: 7px 10px !important;
  }
  .android-float-inner {
    gap: 8px !important;
  }
  .android-float-left {
    min-width: 0 !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
  }
  .android-float-icon-box {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
  .android-float-title {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .android-float-subtitle {
    font-size: 0.65rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .btn-install-float-action {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }

  .btn-android-header {
    display: none; /* Mobile uses floating banner or topbar */
  }
}

/* ==========================================================================
   Wallpapers Showcase Grid
   ========================================================================== */
.wallpapers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.wallpaper-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.wallpaper-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.2);
}
.wallpaper-thumb-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #07090e;
}
.wallpaper-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.wallpaper-card:hover .wallpaper-img {
  transform: scale(1.05);
}
.wallpaper-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #8b5cf6;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.wallpaper-info {
  padding: 16px;
}
.wallpaper-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.wallpaper-res {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.btn-download-wallpaper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-download-wallpaper:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
@media (max-width: 900px) {
  .wallpapers-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Checkout Modal & Multi-Payment System Styles
   ========================================================================== */
.checkout-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 980px;
  max-height: 92vh;
  overflow-y: auto;
  background: #0b0f17;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 24px;
  padding: 28px;
  z-index: 1005;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95), 0 0 50px rgba(139, 92, 246, 0.2);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.checkout-modal.active {
  display: block;
}

.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  margin-top: 18px;
}

.checkout-section-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.checkout-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.input-hint-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

/* Payment Tabs Grid */
.payment-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.pay-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.pay-tab-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
}
.pay-tab-btn.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}
.pay-tab-icon {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.pay-tab-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}
.pay-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Payment Details Panes */
.pay-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}
.pay-pane.active {
  display: block;
}

/* Virtual Card Preview */
.virtual-card-preview {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #0f172a 100%);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
}
.virtual-card-preview::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.vc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.vc-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border-radius: 4px;
  display: inline-block;
}
.vc-brand {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.vc-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.vc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.vc-label {
  font-size: 0.6rem;
  color: #94a3b8;
  display: block;
  letter-spacing: 1px;
}
.vc-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.card-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Express buttons */
.btn-express-gpay,
.btn-express-apple,
.btn-express-revolut {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-express-gpay {
  background: #000;
  color: #fff;
}
.btn-express-gpay:hover {
  background: #111;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}
.btn-express-apple {
  background: #000;
  color: #fff;
  font-weight: 700;
}
.btn-express-apple:hover {
  background: #111;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}
.btn-express-revolut {
  background: linear-gradient(135deg, #0075eb 0%, #0056b3 100%);
  color: #fff;
  font-weight: 700;
}

/* PayPal box */
.paypal-box {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 14px;
  padding: 16px;
}
.paypal-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paypal-options-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.pay-radio-option:hover,
.pay-radio-option.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

/* Bank Grid */
.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bank-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  transition: var(--transition);
}
.bank-pill-btn.active,
.bank-pill-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
  color: #34d399;
}
.bank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Crypto Box */
.crypto-details-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-top: 12px;
}
.crypto-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}
.crypto-qr-address-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.crypto-qr-placeholder {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
}
.crypto-address-text {
  background: #07090e;
  border: 1px solid #1e293b;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #38bdf8;
  display: block;
  word-break: break-all;
  margin-bottom: 6px;
}
.btn-copy-address {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Wallet Box */
.wallet-pay-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 16px;
}
.wallet-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wallet-badge-active {
  background: #10b981;
  color: #064e3b;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Right Summary Col */
.checkout-summary-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  position: sticky;
  top: 10px;
}
.summary-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 14px;
}
.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.checkout-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.checkout-item-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
}
.checkout-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-cyan);
  white-space: nowrap;
}

.btn-apply-coupon {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--color-primary);
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-apply-coupon:hover {
  background: var(--color-primary);
  color: #fff;
}
.coupon-feedback-msg {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 4px;
}

.summary-math-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 12px;
  margin-bottom: 14px;
}
.math-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.total-line {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  padding-top: 6px;
}
.total-amount-glow {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.escrow-shield-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.escrow-shield-strip .shield-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.escrow-shield-strip strong {
  display: block;
  font-size: 0.78rem;
  color: #34d399;
}
.escrow-shield-strip p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.btn-pay-now-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 15px 20px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
}
.btn-pay-now-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}

/* Payment Processing Overlay */
.payment-processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
  text-align: center;
}
.processing-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-right-color: #06b6d4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@media (max-width: 900px) {
  .checkout-grid-layout {
    grid-template-columns: 1fr;
  }
  .payment-tabs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .checkout-modal {
    padding: 18px 12px !important;
    max-height: 94vh !important;
    left: 6px !important;
    right: 6px !important;
    width: auto !important;
    transform: translateY(-50%) !important;
  }
  .payment-tabs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .bank-grid {
    grid-template-columns: 1fr !important;
  }
  .card-inputs-grid {
    grid-template-columns: 1fr !important;
  }
  .card-inputs-grid .col-span-2 {
    grid-column: span 1 !important;
  }
}

.order-receipt-badge {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
}
.activation-guide-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}
.btn-download-receipt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-download-receipt:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: #38bdf8;
  color: #fff;
}




