
:root {
    /* Color Palette */
    --bg-deep: #050508;
    --bg-dark: #0a0a12;
    --bg-panel: rgba(22, 22, 35, 0.85);
    --bg-card: rgba(30, 30, 45, 0.6);
    
    --primary-neon: #00f3ff;  /* Cyan */
    --secondary-neon: #9d00ff; /* Purple */
    --accent-red: #ff3c3c;    /* Kratos Red */
    --accent-lime: #ccff00;   /* Lime Green */
    
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* Layout */
    --header-height: 70px;
    --border-radius: 12px;
    
    /* Fonts */
    --font-primary: 'Vazirmatn', sans-serif;
}

/* Reset & Base Styles */
* { box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-neon); }

/* --- Components --- */

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-neon), #6a00ff);
    color: white; padding: 12px 28px; border-radius: 8px; border: none;
    font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex;
    align-items: center; gap: 8px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(157, 0, 255, 0.5); }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
    background: transparent; border: 2px solid var(--primary-neon); color: var(--primary-neon);
    padding: 10px 25px; border-radius: 8px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
}
.btn-secondary:hover { background: var(--primary-neon); color: #000; box-shadow: 0 0 15px var(--primary-neon); }

.glow-effect { animation: glowPulse 2s infinite; }
@keyframes glowPulse {
    0% { box-shadow: 0 0 5px var(--secondary-neon); }
    50% { box-shadow: 0 0 20px var(--secondary-neon); }
    100% { box-shadow: 0 0 5px var(--secondary-neon); }
}

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0; background: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s;
}
.loading #preloader { opacity: 1; visibility: visible; }
body:not(.loading) #preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.axe-spinner { 
    font-size: 4rem; color: var(--accent-red); margin-bottom: 20px;
    animation: spinAxe 1.5s infinite linear; filter: drop-shadow(0 0 10px var(--accent-red));
}
@keyframes spinAxe { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } }
.loading-text { font-size: 1.1rem; color: var(--text-muted); animation: pulse 1s infinite; }

/* --- 3D Canvas --- */
#gow-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.vignette-overlay {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(circle at center, transparent 0%, #050508 90%);
}

/* --- Header --- */
.main-header {
    position: sticky; top: 0; z-index: 1000; height: var(--header-height);
    background: rgba(5, 5, 8, 0.9); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center;
}
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; width: 100%; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo-area { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-area h1 { font-size: 1.5rem; font-weight: 900; letter-spacing: 1px; }
.logo-icon { color: var(--secondary-neon); font-size: 1.8rem; }
.highlight { color: var(--primary-neon); text-shadow: 0 0 10px rgba(0,243,255,0.4); }

/* Search Bar */
.search-box { position: relative; flex: 1; max-width: 450px; }
.search-box input {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
    color: white; padding: 10px 45px 10px 15px; border-radius: 50px;
    font-family: inherit; transition: 0.3s;
}
.search-box input:focus { border-color: var(--primary-neon); background: rgba(0,0,0,0.6); box-shadow: 0 0 10px rgba(0,243,255,0.1); }
.search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
#clear-search {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer;
}
.search-dropdown {
    position: absolute; top: 110%; left: 0; width: 100%;
    background: #151520; border: 1px solid var(--border-light);
    border-radius: 10px; overflow: hidden; max-height: 0; transition: max-height 0.3s;
    z-index: 1001; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.search-dropdown.active { max-height: 350px; overflow-y: auto; }
.search-item {
    display: flex; align-items: center; gap: 15px; padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: 0.2s;
}
.search-item:hover { background: rgba(255,255,255,0.1); }
.search-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }

/* Navigation */
.desktop-nav { display: flex; gap: 25px; align-items: center; }
.nav-item { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: 0.3s; position: relative; }
.nav-item:hover, .nav-item.active { color: var(--primary-neon); }
.nav-item::after {
    content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px;
    background: var(--primary-neon); transition: 0.3s;
}
.nav-item:hover::after { width: 100%; }

.nav-icons { display: flex; gap: 15px; }
.nav-icon-btn {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
    color: white; width: 40px; height: 40px; border-radius: 10px;
    cursor: pointer; position: relative; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-icon-btn:hover { background: var(--primary-neon); color: black; border-color: var(--primary-neon); }
.badge {
    position: absolute; top: -5px; right: -5px;
    background: var(--accent-red); color: white;
    font-size: 0.7rem; padding: 2px 6px; border-radius: 10px;
    border: 2px solid var(--bg-deep); font-weight: bold;
}

.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section --- */
.hero { 
    min-height: 85vh; display: flex; align-items: center; justify-content: center; 
    text-align: center; position: relative; padding: 40px 20px;
}
.hero-content { z-index: 2; max-width: 900px; }
.hero-badge {
    display: inline-block; background: rgba(255,60,60,0.15); color: var(--accent-red);
    padding: 6px 16px; border-radius: 20px; font-weight: bold; margin-bottom: 20px;
    border: 1px solid rgba(255,60,60,0.3);
}
.hero-title {
    font-size: 4rem; font-weight: 900; margin-bottom: 20px; line-height: 1.2;
    background: linear-gradient(to right, #fff, #b3b3b3); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-group { display: flex; gap: 15px; justify-content: center; margin-bottom: 50px; }

.hero-stats {
    display: flex; justify-content: center; gap: 40px; border-top: 1px solid var(--border-light);
    padding-top: 30px; margin-top: 30px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 1.8rem; font-weight: 900; color: var(--primary-neon); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* --- Filters --- */
.filter-container { padding: 25px; margin-bottom: 20px; }
.filter-header { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border-light); }
.filter-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 0.9rem; color: var(--primary-neon); font-weight: bold; }
select {
    background: #0f0f15; color: white; border: 1px solid #333;
    padding: 12px; border-radius: 8px; font-family: inherit; cursor: pointer;
    transition: 0.3s;
}
select:hover { border-color: var(--primary-neon); }

.filter-toggles { margin-top: 20px; display: flex; gap: 20px; flex-wrap: wrap; }
.checkbox-container {
    display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none;
}
.checkbox-container input { display: none; }
.checkmark {
    width: 20px; height: 20px; background: #222; border: 1px solid #444; border-radius: 4px;
    position: relative; transition: 0.2s;
}
.checkbox-container input:checked ~ .checkmark { background: var(--primary-neon); border-color: var(--primary-neon); }
.checkbox-container input:checked ~ .checkmark::after {
    content: '✔'; position: absolute; left: 4px; top: -2px; color: black; font-size: 14px;
}

/* --- Games Grid --- */
.section-gap { padding: 40px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.center-header { flex-direction: column; text-align: center; justify-content: center; }
.center-header p { color: var(--text-muted); margin-top: 10px; }
.section-title { font-size: 2rem; position: relative; padding-right: 15px; }
.section-title::before {
    content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 4px;
    background: var(--secondary-neon); border-radius: 2px; box-shadow: 0 0 10px var(--secondary-neon);
}

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.no-results { text-align: center; grid-column: 1/-1; padding: 50px; background: var(--bg-panel); border-radius: 10px; }
.no-results i { font-size: 4rem; color: #333; margin-bottom: 20px; }

/* Game Card */
.game-card {
    background: var(--bg-card); border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border-light); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; position: relative;
}
.game-card:hover {
    transform: translateY(-10px); border-color: var(--primary-neon);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 243, 255, 0.1);
}
.card-image-wrapper { position: relative; height: 320px; overflow: hidden; cursor: pointer; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.game-card:hover .card-img { transform: scale(1.1); }
.card-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    opacity: 0.8;
}

/* Card Badges */
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.badge-item {
    padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: bold;
    backdrop-filter: blur(5px);
}
.badge-stock { background: rgba(0,0,0,0.7); border: 1px solid; }
.badge-stock.in { color: var(--accent-lime); border-color: var(--accent-lime); }
.badge-stock.out { color: var(--accent-red); border-color: var(--accent-red); }
.badge-plus { background: #ffcc00; color: black; }

.card-content { padding: 15px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--border-light); }
.card-title { font-size: 1.1rem; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.card-price { font-size: 1.2rem; font-weight: 800; color: var(--primary-neon); }
.card-price.price-pulse { animation: pricePulse 0.25s ease-out; }

.variant-switcher { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.variant-row { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-btn { padding: 8px 12px; border-radius: 10px; border: 1px solid #333; background: #0f0f15; color: #cfd9ff; cursor: pointer; transition: 0.2s; min-width: 68px; }
.toggle-btn:hover:not(:disabled) { border-color: var(--primary-neon); color: white; box-shadow: 0 0 10px rgba(0,243,255,0.2); }
.toggle-btn.active { background: linear-gradient(135deg, rgba(0,243,255,0.2), rgba(255,60,60,0.15)); border-color: var(--secondary-neon); color: white; box-shadow: 0 0 10px rgba(0,243,255,0.25); }
.toggle-btn:disabled { opacity: 0.35; cursor: not-allowed; filter: grayscale(0.4); }
.platform-btn { text-transform: uppercase; letter-spacing: 0.5px; }
.capacity-btn { border-radius: 999px; font-weight: 700; }

@keyframes pricePulse {
    0% { transform: translateY(4px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 1; }
}

.card-actions { display: flex; gap: 8px; }
.btn-icon {
    width: 36px; height: 36px; border-radius: 8px; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.btn-cart { background: var(--bg-deep); color: white; border: 1px solid #333; }
.btn-cart:hover { background: var(--secondary-neon); border-color: var(--secondary-neon); }
.btn-fav { background: transparent; color: #666; border: 1px solid #333; }
.btn-fav:hover { color: var(--accent-red); border-color: var(--accent-red); }
.btn-fav.active { color: var(--accent-red); background: rgba(255,60,60,0.1); border-color: var(--accent-red); }

/* --- Plus Plans --- */
.plus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.plus-card {
    border-radius: 16px; padding: 30px 20px; text-align: center; position: relative; overflow: hidden;
    transition: 0.3s; display: flex; flex-direction: column;
}
.plus-card:hover { transform: translateY(-10px); }

/* Plus Variants */
.plus-essential { background: linear-gradient(135deg, #a0a0a0, #e0e0e0); color: #222; }
.plus-extra { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #222; }
.plus-premium { background: linear-gradient(135deg, #222, #444); color: white; border: 1px solid #ffd700; }
.plus-premium .price { color: #ffd700; }

.plus-icon { font-size: 3rem; margin-bottom: 15px; }
.plus-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 5px; }
.plus-duration { font-size: 1.1rem; opacity: 0.8; margin-bottom: 20px; }
.plus-price { font-size: 1.8rem; font-weight: 900; margin-bottom: 20px; }
.btn-plus {
    width: 100%; padding: 12px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer;
    background: rgba(0,0,0,0.8); color: white; transition: 0.3s;
}
.plus-premium .btn-plus { background: #ffd700; color: black; }
.btn-plus:hover { transform: scale(1.05); }

/* --- Sidebars --- */
.sidebar {
    position: fixed; top: 0; bottom: 0; width: 380px; background: #12121a; z-index: 2000;
    display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
#cart-sidebar { left: 0; transform: translateX(-100%); border-right: 1px solid #333; }
#wishlist-sidebar { right: 0; transform: translateX(100%); border-left: 1px solid #333; }
.sidebar.active { transform: translateX(0); }

.sidebar-header {
    padding: 20px; background: #1a1a25; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #333;
}
.sidebar-content { flex: 1; overflow-y: auto; padding: 20px; }
.sidebar-footer { padding: 25px; background: #1a1a25; border-top: 1px solid #333; }

.cart-item {
    display: flex; gap: 15px; background: rgba(255,255,255,0.03); padding: 10px;
    border-radius: 10px; margin-bottom: 15px; position: relative;
}
.cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-title { font-size: 0.95rem; font-weight: bold; color: white; }
.cart-item-price { color: var(--primary-neon); font-size: 0.9rem; }
.cart-remove {
    background: none; border: none; color: #666; cursor: pointer; font-size: 1.1rem;
    position: absolute; left: 10px; top: 10px;
}
.cart-remove:hover { color: var(--accent-red); }

.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-muted); }
.summary-row.total { color: white; font-weight: bold; font-size: 1.2rem; margin-top: 15px; padding-top: 15px; border-top: 1px solid #333; }
.price-text { color: var(--accent-lime); }
.btn-checkout {
    width: 100%; background: #25D366; color: white; border: none; padding: 14px;
    border-radius: 8px; font-weight: bold; margin-bottom: 10px; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 1rem;
}
.btn-clear-cart {
    width: 100%; background: transparent; border: 1px solid #444; color: #888;
    padding: 10px; border-radius: 8px; cursor: pointer; transition: 0.2s;
}
.btn-clear-cart:hover { border-color: var(--accent-red); color: var(--accent-red); }

#overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1500;
    opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(4px);
}
#overlay.active { opacity: 1; pointer-events: auto; }

/* --- Mobile Menu --- */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(10,10,15,0.98); z-index: 2500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu-content { display: flex; flex-direction: column; align-items: center; gap: 25px; width: 100%; }
.mobile-logo { font-size: 2rem; font-weight: 900; margin-bottom: 20px; }
.mobile-menu-content a { color: white; text-decoration: none; font-size: 1.4rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.mobile-menu-content a:hover { color: var(--primary-neon); }
.close-menu { position: absolute; top: 20px; left: 20px; background: none; border: none; color: white; font-size: 2rem; }
.mobile-divider { width: 50%; border: 0; border-top: 1px solid #333; }
.mobile-install { margin-top: 20px; }

/* --- Modal --- */


.modal {
    display: none; position: fixed; z-index: 3000; inset: 0;
    background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn 0.3s;
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 100; /* High z-index to ensure clickability */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6); /* Darker background for visibility */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
  color: var(--primary-neon);
}

/* Ensure modal hero wrap allows absolute positioning context */
.modal-hero-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  flex-shrink: 0;
}


@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  background: #151520; /* Deep solid dark background */
  border: 1px solid #2a2a35;
  border-radius: 24px; /* Larger modern radius */
  padding: 0; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  max-width: 500px; /* Mobile-first width preference */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Scrollable area for description */
.modal-scroll-area {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Floating Close Button */
.close-modal-floating {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.close-modal-floating:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

/* Info Section */
.modal-info {
  padding: 10px 24px 20px;
  text-align: right;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Tags Row (Pills) */
.modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tag-pill {
  background: #1e1e2d;
  border: 1px solid #333;
  color: #cfd9ff;
  padding: 6px 14px;
  border-radius: 50px; /* Pill shape */
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-pill i {
  color: var(--primary-neon);
  font-size: 0.8rem;
}

.modal-desc {
  color: #a0a0b0;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Sticky Footer (Buy Bar) */
.modal-footer {
  background: #1a1a25;
  border-top: 1px solid #2a2a35;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: sticky;
  bottom: 0;
  z-index: 20;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.price-container {
  display: flex;
  flex-direction: column;
}

.modal-price-label {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 2px;
}

.modal-price-val {
  font-size: 1.5rem;
  color: var(--primary-neon); /* Cyan */
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-buy-modal {
  background: linear-gradient(135deg, #9d00ff, #6a00ff);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(157, 0, 255, 0.35);
  flex: 1; /* Takes remaining space on mobile */
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s;
}

.btn-buy-modal:active {
  transform: scale(0.96);
}
/* --- Toasts --- */
#toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.toast {
    background: #1a1a25; color: white; padding: 16px 20px; border-radius: 8px;
    display: flex; align-items: center; gap: 12px; min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-right: 4px solid;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.success { border-color: var(--accent-lime); }
.toast.error { border-color: var(--accent-red); }
.toast i { font-size: 1.2rem; }
.toast.success i { color: var(--accent-lime); }
.toast.error i { color: var(--accent-red); }

/* --- Footer --- */
.footer { background: #020203; border-top: 1px solid #111; padding: 60px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; right: 0; bottom: 0; width: 40px; height: 3px; background: var(--secondary-neon); }
.footer p, .footer a { color: #777; line-height: 1.8; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: var(--primary-neon); padding-right: 5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.social-links { display: flex; gap: 15px; margin-bottom: 15px; }
.social-links a { font-size: 1.5rem; color: #fff; background: #111; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.social-links a:hover { background: var(--secondary-neon); color: white; transform: translateY(-5px); }

.footer-bottom { border-top: 1px solid #111; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-icons { font-size: 1.5rem; color: #444; display: flex; gap: 15px; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .desktop-nav, .search-box { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 3rem; }
    .sidebar { width: 90%; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 20px; }
    .section-header { flex-direction: column; text-align: center; gap: 10px; }
    .section-title::before { display: none; }
}
