/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #05050a;
    --bg-secondary: #0a0a14;
    --bg-card: rgba(10, 10, 25, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    --accent-cyan: #00f0ff;
    --accent-purple: #9d4edd;
    --accent-magenta: #ff006e;
    --accent-gold: #ffd700;

    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #9d4edd 50%, #ff006e 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(157, 78, 221, 0.3) 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.3);

    /* Rarity Colors */
    --rarity-common: #b0b0b0;
    --rarity-uncommon: #4ade80;
    --rarity-rare: #3b82f6;
    --rarity-legendary: #a855f7;
    --rarity-godly: #fbbf24;
    --rarity-vintage: #ec4899;
    --rarity-ancient: #14b8a6;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 130px;
    /* Restored original padding for header + banner space */
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20px 30px, white, transparent),
        radial-gradient(1px 1px at 150px 120px, white, transparent),
        radial-gradient(2px 2px at 300px 250px, white, transparent),
        radial-gradient(1px 1px at 450px 80px, white, transparent),
        radial-gradient(1px 1px at 600px 380px, white, transparent),
        radial-gradient(2px 2px at 750px 180px, white, transparent),
        radial-gradient(1px 1px at 900px 450px, white, transparent),
        radial-gradient(1px 1px at 80px 500px, white, transparent),
        radial-gradient(2px 2px at 520px 600px, white, transparent),
        radial-gradient(1px 1px at 380px 150px, white, transparent),
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 1000px 700px, 1000px 700px, 1000px 700px, 1000px 700px, 1000px 700px,
        1000px 700px, 1000px 700px, 1000px 700px, 1000px 700px, 1000px 700px, 80px 80px, 80px 80px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: gridMove 100s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(80px, 80px);
    }
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 60%);
    top: -250px;
    right: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-magenta), transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.btn-block {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    /* Set explicit height to prevent layout shifting on different devices */
    display: flex;
    align-items: center;
    /* Removed backdrop-filter: blur(20px) which forces GPU to re-blur every scrolling item that passes under the header */
    background: rgba(10, 10, 15, 0.96);
    border-bottom: 1px solid var(--border-color);
    will-change: transform;
    transform: translateZ(0);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-icon {
    font-size: 1.5rem;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-accent {
    color: var(--accent-cyan);
}

.nav {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-btn {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.cart-icon {
    width: 24px;
    height: 24px;
}

.discord-btn {
    background: #5865F2;
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.discord-btn i {
    font-size: 1.1rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-magenta);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    /* Removed backdrop-filter: blur(20px) to prevent scroll lag */
    background: rgba(10, 10, 15, 0.98);
    padding: var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    will-change: transform;
    transform: translateZ(0);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-nav-link:hover {
    background: var(--bg-glass);
}

/* ===== MOBILE MENU — GAME LINK CARDS ===== */
.mobile-game-links {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-game-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
    padding: 0 var(--space-sm);
}

.mobile-game-links .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Per-game border colors — matching hub card glow colors */
.mobile-game-links a[href="/murder-mystery-2"] {
    border-color: rgba(0, 240, 255, 0.28);
    box-shadow: 0 2px 12px rgba(0, 240, 255, 0.05);
}
.mobile-game-links a[href="/murder-mystery-2"]:hover {
    background: rgba(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.55);
}

.mobile-game-links a[href="/beeswarm"] {
    border-color: rgba(255, 193, 7, 0.28);
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.05);
}
.mobile-game-links a[href="/beeswarm"]:hover {
    background: rgba(255, 193, 7, 0.06);
    border-color: rgba(255, 193, 7, 0.55);
}

.mobile-game-links a[href="/bladeball"] {
    border-color: rgba(255, 68, 68, 0.28);
    box-shadow: 0 2px 12px rgba(255, 68, 68, 0.05);
}
.mobile-game-links a[href="/bladeball"]:hover {
    background: rgba(255, 68, 68, 0.06);
    border-color: rgba(255, 68, 68, 0.55);
}

.mobile-game-links a[href="/bloxfruits"] {
    border-color: rgba(255, 107, 53, 0.28);
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.05);
}
.mobile-game-links a[href="/bloxfruits"]:hover {
    background: rgba(255, 107, 53, 0.06);
    border-color: rgba(255, 107, 53, 0.55);
}

.mobile-game-links a[href="/nightsinforest"] {
    border-color: rgba(124, 77, 255, 0.28);
    box-shadow: 0 2px 12px rgba(124, 77, 255, 0.05);
}
.mobile-game-links a[href="/nightsinforest"]:hover {
    background: rgba(124, 77, 255, 0.06);
    border-color: rgba(124, 77, 255, 0.55);
}

.mobile-game-links a[href="/dresstoimpress"] {
    border-color: rgba(233, 30, 99, 0.28);
    box-shadow: 0 2px 12px rgba(233, 30, 99, 0.05);
}
.mobile-game-links a[href="/dresstoimpress"]:hover {
    background: rgba(233, 30, 99, 0.06);
    border-color: rgba(233, 30, 99, 0.55);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

/* Game pages — hero should fit content, not force full-screen height */
.hero:not(.landing-hero) {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* ===== GAME SWITCHER (hero section of game pages) ===== */
.game-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: var(--space-2xl);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.game-switch-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #a0a0b0;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 100px;
}

.game-switch-btn:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.35);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.1);
}

.game-switch-btn.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    cursor: default;
    pointer-events: none;
}

.game-switch-btn img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
}

@media (max-width: 600px) {
    .game-switcher {
        gap: 10px;
    }
    .game-switch-btn {
        min-width: 80px;
        padding: 14px 16px;
        font-size: 0.78rem;
    }
    .game-switch-btn img {
        width: 40px;
        height: 40px;
    }
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-card {
    position: relative;
    width: 350px;
    height: 400px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-knife-display {
    font-size: 10rem;
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* ===== GAME SELECTOR ===== */
.game-selector {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    align-items: center;
}

.game-card {
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 250px;
    height: 300px;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

.game-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.bee-glow {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ff6b35 100%);
}

#beeCard:hover {
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CATEGORIES ===== */
.categories {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-2xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.category-card>* {
    position: relative;
    z-index: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.2) 0%, rgba(var(--accent-purple-rgb), 0.1) 60%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.5s ease;
    opacity: 0.6;
}

.badge-bundle {
    background: linear-gradient(135deg, #9900ff, #00ccff);
    color: #fff;
    box-shadow: 0 0 8px rgba(153, 0, 255, 0.4);
}

.category-card:hover::before,
.category-card.active::before {
    opacity: 1;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.3) 0%, rgba(var(--accent-purple-rgb), 0.1) 60%, transparent 70%);
}

.category-card:hover,
.category-card.active {
    background: var(--gradient-glow);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.category-icon {
    font-size: 2.5rem;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.category-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.category-card:hover .category-icon-img,
.category-card.active .category-icon-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(var(--accent-cyan-rgb), 0.6));
}

.category-name {
    font-weight: 600;
}

/* ===== FEATURED & SHOP ===== */
.featured,
.shop {
    padding: var(--space-3xl) 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: var(--space-2xl);
    width: 100%;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.shop-controls {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    transition: all var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.search-box svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    width: 200px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.sort-select {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    padding-left: var(--space-lg);
    /* Ensure enough left padding */
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-fast);
    text-align: left;
    /* Force left alignment */
    appearance: none;
    /* Remove default arrow for custom styling if needed, but keeping simple for now */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    /* Make room for the custom arrow */
}

.sort-select:focus {
    border-color: var(--accent-cyan);
}

.sort-select option {
    background: var(--bg-secondary);
}

.featured-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    position: relative;
    z-index: 10;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    /* Restored for absolute children */
    display: flex;
    flex-direction: column;
    /* Removed heavy fadeInUp animation and box-shadow for performance - causes layout thrashing on 300+ items */
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    /* Force Hardware Acceleration to prevent paint lag on scroll */
    will-change: transform;
    transform: translateZ(0);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
    /* Restored lightweight glow */
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
    overflow: hidden;
    padding: 45px 20px 20px 20px;
}

.product-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    object-position: center center;
    transition: transform var(--transition-normal), filter var(--transition-normal);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    mix-blend-mode: lighten;
    display: block;
    margin: 15px auto 0 auto;
}

.product-card:hover .product-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(0, 240, 255, 0.4)) contrast(1.1) brightness(1.05);
}

.product-fallback {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-emoji {
    font-size: 5rem;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-emoji {
    transform: scale(1.1) rotate(5deg);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-godly {
    background: var(--rarity-godly);
    color: #000;
}

.badge-vintage {
    background: var(--rarity-vintage);
    color: #fff;
}

.badge-ancient {
    background: var(--rarity-ancient);
    color: #fff;
}

.badge-legendary {
    background: var(--rarity-legendary);
    color: #fff;
}

.badge-rare {
    background: var(--rarity-rare);
    color: #fff;
}

.badge-chroma {
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #7b68ee, #ff0080);
    background-size: 200% 100%;
    animation: chromaShift 5s linear infinite;
    will-change: background-position;
    color: #fff;
}

.badge-bundle {
    background: linear-gradient(135deg, #00f0ff, #9d4edd);
    color: #fff;
}

@keyframes chromaShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.product-hot {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--accent-magenta);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
}

.product-info {
    padding: var(--space-lg);
}

.product-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.product-type {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.original-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    position: absolute;
    top: 45px;
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ff3366, #ff0044);
    color: #fff;
}

.add-to-cart-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--bg-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.add-to-cart-btn svg {
    width: 18px;
    height: 18px;
}

/* ===== TRUST SECTION ===== */
.trust {
    padding: var(--space-3xl) 0;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.trust-item {
    padding: var(--space-lg);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.trust-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--space-3xl) 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: var(--space-3xl) 0;
    background: var(--gradient-glow);
    border-top: 1px solid var(--border-color);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--accent-cyan);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: var(--text-secondary);
    margin: var(--space-lg) 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    /* Removed backdrop-filter: blur(5px) — causes GPU re-compositing lag during cart interactions */
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    will-change: opacity;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-sm);
    transition: color var(--transition-fast);
}

.cart-close:hover {
    color: var(--accent-magenta);
}

.cart-close svg {
    width: 24px;
    height: 24px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-2xl);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: 2rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cart-item-price {
    color: var(--accent-cyan);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--accent-magenta);
}

.cart-item-emoji {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.cart-item-info h4 {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cart-item-info p {
    color: var(--accent-cyan);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cart-item-actions button {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-item-actions button:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.cart-item-actions .remove-btn {
    color: var(--accent-magenta);
}

.cart-item-actions .remove-btn:hover {
    border-color: var(--accent-magenta);
    background: rgba(255, 0, 110, 0.1);
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.promo-code-section {
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.promo-grid {
    display: flex;
    gap: var(--space-sm);
}

.promo-code-input {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
}

.promo-code-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.promo-code-btn {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.promo-code-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.promo-status {
    font-size: 0.8rem;
    padding: var(--space-xs) 0;
    display: none;
}

.promo-status.success {
    display: block;
    color: #4CAF50;
}

.promo-status.error {
    display: block;
    color: #f44336;
}

/* Promo Banner Redesign */
.promo-banner {
    /* Removed backdrop-filter: blur(10px) to prevent GPU bottleneck on scroll */
    background: rgba(10, 10, 15, 0.96);
    color: var(--accent-cyan);
    text-align: center;
    padding: 6px 0;
    /* Skinnier */
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 999;
    position: fixed;
    top: 72px;
    /* Meets the bottom of the 72px header exactly */
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--border-color);
    will-change: transform;
    transform: translateZ(0);
}

.promo-banner .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: var(--space-md);
}

.banner-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    opacity: 0.9;
}

.banner-item i {
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.trustpilot-item {
    color: var(--accent-cyan);
    font-weight: 700;
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.stars i {
    color: var(--accent-cyan);
    font-size: 0.7rem;
}

.promo-highlight {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

@media (max-width: 768px) {
    .promo-banner .container {
        flex-direction: column;
        gap: 3px;
    }

    .banner-item:not(.promo-text-item) {
        display: none;
    }

    .banner-item.promo-text-item {
        display: flex;
        font-size: 0.75rem;
    }
}

.promo-code-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cart-total span:last-child {
    color: var(--accent-cyan);
}

.cart-secure {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: var(--space-md);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        order: -1;
        margin-bottom: 2rem;
    }

    .game-selector {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
    }

    .game-card,
    .hero-card {
        width: 160px;
        height: 180px;
    }

    .hero-knife-display {
        font-size: 4rem;
    }

    .game-label {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .cart-sidebar {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 var(--space-md);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .products-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.product-card {
    /* Removed fadeInUp animation for performance - causes layout thrashing on 300+ items */
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* ===== PAGE TRANSITIONS ===== */
#page-transition-overlay {
    position: fixed;
    inset: 0;
    background: #080816;
    z-index: 99999;
    pointer-events: none;
    opacity: 1;
}

#page-transition-overlay.revealing {
    animation: page-reveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#page-transition-overlay.covering {
    opacity: 0;
    animation: page-cover 0.25s ease-in forwards;
}

@keyframes page-reveal {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes page-cover {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    #page-transition-overlay { display: none !important; }
}

/* ===== CARD CLICK RIPPLE ===== */
.card-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.45) 0%, rgba(139, 92, 246, 0.25) 55%, transparent 100%);
    transform: scale(0);
    animation: card-ripple-anim 0.55s ease-out forwards;
    pointer-events: none;
    z-index: 5;
}

@keyframes card-ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.product-card:active {
    transform: scale(0.96) translateZ(0) !important;
    transition: transform 0.08s ease !important;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-glow);
    z-index: 2000;
    animation: slideInRight 0.3s ease-out;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    font-weight: 500;
}

/* ===== UNDER CONSTRUCTION MODAL ===== */
.construction-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.construction-modal.active {
    display: flex;
}

.construction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.construction-content {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.95), rgba(30, 30, 50, 0.95));
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    max-width: 450px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2), 0 0 100px rgba(157, 78, 221, 0.1);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.construction-icon {
    font-size: 5rem;
    margin-bottom: var(--space-lg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.construction-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.construction-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.construction-progress {
    margin-bottom: var(--space-xl);
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    width: 75%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

/* ===== FLOATING BACKGROUND ===== */
#floating-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    opacity: 0.15;
    filter: blur(4px);
    animation: floatUp linear infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    /* Hide floating background elements on mobile to prevent overlap */
    #floating-bg {
        display: none;
    }

    .floating-orbs {
        display: none;
    }

    /* Adjust product grid for mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    /* Adjust category grid for mobile */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .category-card {
        padding: 0.75rem 0.5rem;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .category-name {
        font-size: 0.7rem;
    }

    /* Hero section mobile adjustments */
    .hero {
        padding: 6rem 0 2rem;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Game selector mobile */
    .game-selector {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    .game-card {
        width: 130px;
        height: 150px;
    }

    .hero-card {
        width: 130px;
        height: 150px;
    }

    .hero-knife-display {
        font-size: 3rem;
    }

    .game-label {
        font-size: 0.7rem;
        padding: 4px 10px;
        bottom: 10px;
    }

    .hero-glow {
        width: 60px;
        height: 60px;
    }

    /* Shop controls mobile */
    .shop-controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-box {
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    /* Trust grid mobile */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== PASSWORD PROTECTION ===== */
body.locked {
    overflow: hidden;
}

.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.password-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.password-container {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: passwordFadeIn 0.5s ease-out;
}

@keyframes passwordFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.password-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.password-logo {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.password-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.password-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.password-input-wrapper {
    position: relative;
}

.password-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    text-align: center;
    letter-spacing: 2px;
    transition: all var(--transition-fast);
}

.password-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.password-input::placeholder {
    color: var(--text-muted);
    letter-spacing: normal;
}

.password-input.shake {
    animation: shake 0.5s ease-in-out;
    border-color: var(--accent-magenta);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-10px);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(-10px);
    }

    80% {
        transform: translateX(10px);
    }
}

.password-error {
    color: var(--accent-magenta);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    height: 0;
    overflow: hidden;
}

.password-error.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: var(--space-sm);
}

.password-submit {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
}

.password-hint {
    margin-top: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile password styles */
@media (max-width: 480px) {
    .password-container {
        padding: var(--space-xl);
    }

    .password-logo {
        font-size: 3rem;
    }

    .password-title {
        font-size: 1.4rem;
    }
}

/* ===== CHAT WIDGET ===== */
.chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--bg-primary);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
    z-index: 1002;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.6);
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
}

@media (max-width: 600px) {
    .chat-widget {
        left: 12px;
        right: 12px;
        width: auto;
        bottom: 90px;
        height: 55vh;
        max-height: 55vh;
        border-radius: 16px;
    }

    .chat-toggle-btn {
        bottom: 20px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--bg-card);
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.chat-header h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.chat-message {
    max-width: 80%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message.support {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-bottom-left-radius: 0;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--accent-blue);
    color: white;
    border-bottom-right-radius: 0;
}

.chat-footer {
    padding: var(--space-md);
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.chat-send {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    cursor: pointer;
    padding: 0 var(--space-sm);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send:hover {
    transform: translateX(3px);
}

/* ===== INFO MODAL ===== */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.info-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.info-content {
    position: relative;
    background: var(--bg-surface);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.info-modal.active .info-content {
    transform: translateY(0);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.info-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== BUNDLE UPSELL CARDS ===== */
.cart-upsells {
    padding: 0 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.upsell-header {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00f0ff;
    padding: 10px 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.upsell-sparkle {
    font-size: 1rem;
}

.upsell-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(157, 78, 221, 0.06));
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    transition: border-color 0.2s ease;
}

.upsell-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
}

.upsell-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.upsell-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.upsell-info {
    flex: 1;
    min-width: 0;
}

.upsell-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upsell-match {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1px;
}

.upsell-prices {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.upsell-old-price {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
}

.upsell-new-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #00ff88;
}

.upsell-save-badge {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    flex-shrink: 0;
    animation: upsellPulse 2s ease-in-out infinite;
}

@keyframes upsellPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.upsell-btn {
    width: 100%;
    padding: 7px 12px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(157, 78, 221, 0.15));
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 8px;
    color: #00f0ff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upsell-btn:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(157, 78, 221, 0.25));
    border-color: rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

/* ===== BUNDLE UPSELL MODAL ===== */
.bundle-upsell-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.bundle-upsell-modal-overlay.active {
    opacity: 1;
}
.bundle-upsell-modal {
    background: #111827;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    padding: 36px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.3s ease;
}
.bundle-upsell-modal-overlay.active .bundle-upsell-modal {
    transform: translateY(0);
}
.bundle-upsell-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}
.bundle-upsell-close:hover { color: #fff; }
.bundle-upsell-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.bundle-upsell-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 auto 16px;
    display: block;
}
.bundle-upsell-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.bundle-upsell-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 16px;
}
.bundle-upsell-desc strong { color: #e2e8f0; }
.bundle-upsell-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}
.bundle-upsell-old {
    text-decoration: line-through;
    color: #64748b;
    font-size: 0.88rem;
}
.bundle-upsell-new {
    color: #00f0ff;
    font-size: 1.2rem;
    font-weight: 700;
}
.bundle-upsell-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bundle-upsell-btn-primary {
    background: linear-gradient(135deg, #00f0ff, #0080ff);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}
.bundle-upsell-btn-primary:hover { opacity: 0.88; }
.bundle-upsell-btn-secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 0.83rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.bundle-upsell-btn-secondary:hover {
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================== */
/* ===== COMPREHENSIVE MOBILE RESPONSIVE ======= */
/* ============================================== */

/* ---------- TABLET (≤ 900px) ---------- */
@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .discord-btn span,
    .discord-btn {
        font-size: 0.8rem;
        padding: var(--space-sm) var(--space-md);
    }

    .hero {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: var(--space-xl);
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .featured-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: var(--space-md);
    }

    .section-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
        margin-bottom: var(--space-xl);
    }
}

/* ---------- MOBILE (≤ 768px) ---------- */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    /* -- Header -- */
    .header {
        height: 60px;
    }

    .header .container {
        padding: 0 var(--space-md);
        gap: 0;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .nav {
        display: none;
    }

    /* Hide game dropdown on mobile — hamburger menu already has game links */
    .game-dropdown {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions {
        gap: var(--space-sm);
    }

    /* Hide the "Join Discord" text on mobile, keep just the icon */
    .discord-btn {
        padding: 8px 10px;
        font-size: 0;
        gap: 0;
    }

    .discord-btn i {
        font-size: 1.2rem;
    }

    .mobile-menu {
        top: 60px;
    }

    /* -- Promo Banner -- */
    .promo-banner {
        top: 60px;
        padding: 4px 0;
        font-size: 0.72rem;
    }

    /* -- Hero -- */
    .hero {
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: var(--space-xs) var(--space-md);
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: var(--space-lg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-xl);
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        gap: var(--space-lg);
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* -- Product Grids -- */
    .featured-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-image {
        height: 140px;
        padding: 30px 10px 10px 10px;
    }

    .product-img {
        width: 80px;
        height: 80px;
    }

    .product-info {
        padding: var(--space-md);
    }

    .product-name {
        font-size: 0.85rem;
    }

    .product-type {
        font-size: 0.75rem;
        margin-bottom: var(--space-sm);
    }

    .product-price {
        font-size: 1rem;
    }

    .original-price {
        font-size: 0.8rem;
    }

    .product-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    .discount-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
        top: 35px;
    }

    .product-footer {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }

    .add-to-cart-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 0.8rem;
        padding: var(--space-sm);
    }

    /* -- Category Grid -- */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .category-card {
        padding: var(--space-sm);
    }

    .category-icon {
        font-size: 1.8rem;
        height: 40px;
        width: 40px;
    }

    .category-icon-img {
        width: 40px;
        height: 40px;
    }

    .category-name {
        font-size: 0.75rem;
    }

    /* -- Shop Controls -- */
    .shop-controls {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    /* -- Trust / Why Us Section -- */
    .trust {
        padding: var(--space-2xl) 0;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .trust-item {
        padding: var(--space-lg);
    }

    .trust-item h3 {
        font-size: 0.95rem;
    }

    .trust-item p {
        font-size: 0.82rem;
    }

    .trust-icon {
        font-size: 1.8rem;
    }

    /* -- FAQ -- */
    .faq {
        padding: var(--space-2xl) 0;
    }

    .faq-grid {
        gap: var(--space-sm);
    }

    .faq-question {
        padding: var(--space-md);
        font-size: 0.9rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
        padding: 0 var(--space-md) var(--space-md);
    }

    /* -- Newsletter -- */
    .newsletter {
        padding: var(--space-2xl) 0;
    }

    .newsletter-content h2 {
        font-size: 1.4rem;
    }

    .newsletter-content p {
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    /* -- Footer -- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    /* -- Cart Sidebar -- */
    .cart-sidebar {
        width: 100% !important;
        max-width: 100%;
    }

    /* -- Container padding -- */
    .container {
        padding: 0 var(--space-md);
    }

    /* -- General spacing -- */
    .categories,
    .featured,
    .shop {
        padding: var(--space-2xl) 0;
    }

    /* -- Game Page Product Cards (gp-) -- */
    .gp-product-card {
        padding: var(--space-md);
    }

    .gp-name {
        font-size: 0.85rem;
    }

    .gp-price {
        font-size: 1rem;
    }

    .gp-original-price {
        font-size: 0.8rem;
    }

    .gp-add-btn {
        font-size: 0.82rem;
        padding: 8px 12px;
    }
}

/* ---------- SMALL MOBILE (≤ 480px) ---------- */
@media (max-width: 480px) {
    body {
        padding-top: 90px;
    }

    .header {
        height: 56px;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .mobile-menu {
        top: 56px;
    }

    .promo-banner {
        top: 56px;
    }

    .hero-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: var(--space-md);
    }

    .stat-value {
        font-size: 1.3rem;
    }

    /* Single column products on very small screens */
    .featured-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .product-image {
        height: 180px;
        padding: 35px 20px 15px 20px;
    }

    .product-img {
        width: 100px;
        height: 100px;
    }

    .product-footer {
        flex-direction: row;
        align-items: center;
    }

    .add-to-cart-btn {
        width: auto;
    }

    /* Category grid → 2 columns on tiny screens */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Trust grid → single column */
    .trust-grid {
        grid-template-columns: 1fr;
    }

    /* Section titles even smaller */
    .section-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    /* Game hub cards full width */
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 640px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    /* Collapse similar-items/bundles to 2 cols on mobile */
    #product-detail-page .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-sm) !important;
    }
}

@media (max-width: 480px) {
    #product-detail-page .products-grid {
        grid-template-columns: 1fr !important;
    }
}