/* ============================================
   GAMECHEAT.VIP - CYBERPUNK TERMINAL THEME
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Core Colors */
    --bg-void: #030304;
    --bg-dark: #080809;
    --bg-card: #0c0c0e;
    --bg-card-hover: #111113;
    --bg-elevated: #141416;
    
    /* Neon Accents */
    --neon-green: #00ff88;
    --neon-green-dim: #00cc6a;
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff00ff;
    --neon-yellow: #ffee00;
    --neon-red: #ff3366;
    --neon-orange: #ff6600;
    
    /* Text Colors */
    --text-primary: #e8e8e8;
    --text-secondary: #888899;
    --text-muted: #555566;
    --text-accent: var(--neon-cyan);
    
    /* Borders & Lines */
    --border-dim: rgba(255, 255, 255, 0.06);
    --border-normal: rgba(255, 255, 255, 0.1);
    --border-bright: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(0, 240, 255, 0.3);
    
    /* Status Colors */
    --status-online: var(--neon-green);
    --status-warning: var(--neon-yellow);
    --status-danger: var(--neon-red);
    
    /* Shadows & Glows */
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.3), 0 0 40px rgba(0, 255, 136, 0.1);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.3), 0 0 40px rgba(255, 0, 255, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --font-display: 'Outfit', 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme */
[data-theme="light"] {
    --bg-void: #f0f0f2;
    --bg-dark: #e8e8ec;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f8;
    --bg-elevated: #ffffff;
    
    --text-primary: #1a1a2e;
    --text-secondary: #555577;
    --text-muted: #8888aa;
    
    --border-dim: rgba(0, 0, 0, 0.05);
    --border-normal: rgba(0, 0, 0, 0.1);
    --border-bright: rgba(0, 0, 0, 0.15);
    
    --neon-green: #00b366;
    --neon-cyan: #0099cc;
    --neon-magenta: #cc00cc;
    
    --glow-green: 0 0 20px rgba(0, 179, 102, 0.15);
    --glow-cyan: 0 0 20px rgba(0, 153, 204, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* === OVERLAY EFFECTS === */
.scanlines {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.5;
}

.noise {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

[data-theme="light"] .scanlines,
[data-theme="light"] .noise {
    display: none;
}

/* === CONTAINER === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 3, 4, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dim);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    font-family: var(--font-mono);
}

.logo-glitch {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    position: relative;
}

.logo-bracket {
    color: var(--text-muted);
    font-weight: 400;
}

.logo-main {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.logo-suffix {
    color: var(--neon-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Nav Status */
.nav-status {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.status-label {
    color: var(--text-muted);
}

.status-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.status-value.online {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.status-divider {
    width: 1px;
    height: 16px;
    background: var(--border-normal);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
}

.discord-btn {
    background: #5865F2;
    color: white;
    border: 1px solid #5865F2;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-text {
    display: inline;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-normal);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* === PRODUCTS SECTION === */
.products-section {
    padding: var(--space-2xl) 0;
    padding-top: 100px;
    flex: 1;
    position: relative;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-normal), transparent);
}

.section-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 2px;
    white-space: nowrap;
}

.title-prefix {
    color: var(--neon-cyan);
}

/* Filter Container */
.filter-container {
    margin-bottom: var(--space-xl);
    position: relative;
}

.filter-label {
    display: none;
}

.game-filters {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid var(--border-dim);
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Scroll shadow indicators */
.filter-container::before,
.filter-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 1px;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-void), transparent);
}

.filter-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-void), transparent);
}

.filter-container.scroll-left::before,
.filter-container.scroll-right::after {
    opacity: 1;
}

[data-theme="light"] .filter-container::before {
    background: linear-gradient(to right, var(--bg-void), transparent);
}

[data-theme="light"] .filter-container::after {
    background: linear-gradient(to left, var(--bg-void), transparent);
}

.game-filters::-webkit-scrollbar {
    display: none;
}

.game-btn {
    position: relative;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0.6;
}

.game-btn::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.game-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-cyan);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.game-btn:hover {
    opacity: 1;
}

.game-btn:hover::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.game-btn.active {
    color: var(--neon-cyan);
    opacity: 1;
}

.game-btn.active::before {
    opacity: 0;
}

.game-btn.active::after {
    transform: scaleX(1);
}

/* Light Theme Filters */
[data-theme="light"] .game-btn.active {
    color: var(--neon-cyan);
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Product Card */
.product-card {
    display: grid;
    grid-template-columns: 50px 12px auto 1fr auto auto;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--neon-cyan);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-bright);
    transform: translateX(3px);
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Rank */
/* Product Rank */
.product-rank {
    min-width: 40px;
    height: 28px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-normal);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.product-card:hover .product-rank {
    border-color: var(--border-bright);
    color: var(--text-primary);
}

/* Top 3 Ranks */
.product-card:nth-child(1) .product-rank {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.25);
    color: #ffd700;
}

.product-card:nth-child(2) .product-rank {
    background: rgba(192, 192, 192, 0.1);
    border-color: rgba(192, 192, 192, 0.25);
    color: #b8b8b8;
}

.product-card:nth-child(3) .product-rank {
    background: rgba(205, 127, 50, 0.1);
    border-color: rgba(205, 127, 50, 0.25);
    color: #cd7f32;
}

/* Light Theme Ranks */
[data-theme="light"] .product-rank {
    background: var(--bg-card);
}

[data-theme="light"] .product-card:nth-child(1) .product-rank {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.3);
    color: #d4a000;
}

[data-theme="light"] .product-card:nth-child(2) .product-rank {
    background: rgba(158, 158, 158, 0.12);
    border-color: rgba(158, 158, 158, 0.3);
    color: #757575;
}

[data-theme="light"] .product-card:nth-child(3) .product-rank {
    background: rgba(205, 127, 50, 0.12);
    border-color: rgba(205, 127, 50, 0.3);
    color: #b5651d;
}

/* Status Dot */
.product-status {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    animation: ping 1.5s ease-out infinite;
}

.status-dot.green {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.status-dot.green::after {
    background: var(--neon-green);
}

.status-dot.yellow {
    background: var(--neon-yellow);
    box-shadow: 0 0 10px var(--neon-yellow);
}

.status-dot.yellow::after {
    background: var(--neon-yellow);
}

.status-dot.red {
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

.status-dot.red::after {
    background: var(--neon-red);
}

/* Product Game Tag */
.product-game {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Product Info */
.product-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    min-width: 0;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.rating-stars {
    color: var(--neon-yellow);
    letter-spacing: 2px;
}

/* Product Actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Click Counter */
.click-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-normal);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.click-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.click-count {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.click-count.click-pulse {
    color: var(--neon-cyan);
    transform: scale(1.1);
}

.product-card:hover .click-counter {
    border-color: var(--border-bright);
    color: var(--text-primary);
}

.product-card:hover .click-icon {
    opacity: 1;
}

.btn {
    padding: var(--space-sm) var(--space-md);
    border: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-normal);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn-primary {
    background: var(--neon-cyan);
    color: var(--bg-void);
}

.btn-primary:hover {
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    transform: translateY(-1px);
}

/* Loading State */
.loading-state {
    display: none;
    padding: var(--space-2xl);
    text-align: center;
}

.loader {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.loader-dots {
    animation: blink 1s step-start infinite;
}

/* === FOOTER === */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-dim);
    padding: var(--space-lg) 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-sponsors {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sponsor-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.partner-link {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-dark);
    border: 1px solid var(--border-dim);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
}

.link-bracket {
    color: var(--text-muted);
}

.partner-link:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.footer-copyright {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.copyright-symbol {
    color: var(--neon-cyan);
}

/* === GALLERY MODAL === */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.gallery-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
}

.gallery-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-card);
    border: 1px solid var(--border-normal);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2002;
    transition: all var(--transition-normal);
}

.gallery-close:hover {
    border-color: var(--neon-red);
    color: var(--neon-red);
}

.close-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.close-text {
    font-size: 0.6rem;
    letter-spacing: 1px;
}

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 2001;
    width: 100%;
    height: 100%;
    padding: var(--space-lg);
}

.gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    max-width: 100%;
    max-height: 100%;
}

.gallery-frame {
    border: 1px solid var(--border-normal);
    padding: var(--space-xs);
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-frame img {
    max-width: 85vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.gallery-info {
    font-family: var(--font-mono);
}

.gallery-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.gallery-nav {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-normal);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-nav:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.gallery-controls-mobile {
    display: none;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav-status {
        display: none;
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--space-md);
    }
    
    .logo-glitch {
        font-size: 0.95rem;
    }
    
    .btn-text {
        display: none;
    }
    
    .discord-btn {
        padding: var(--space-sm);
    }
    
    .hero {
        padding: 80px var(--space-md);
        min-height: auto;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .product-card {
        grid-template-columns: 40px 12px 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-sm) var(--space-md);
        padding: var(--space-md);
    }
    
    .product-game {
        grid-column: 3;
        justify-self: start;
    }
    
    .product-info {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
    
    .product-actions {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .product-actions .btn {
        flex: 1;
    }
    
    .click-counter {
        min-width: auto;
        padding: var(--space-xs);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-sponsors {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    /* Gallery Mobile */
    .gallery-modal {
        flex-direction: column;
    }
    
    .gallery-container {
        flex-direction: column;
        padding: var(--space-md);
        padding-top: 60px;
        gap: var(--space-md);
    }
    
    .gallery-nav.gallery-prev,
    .gallery-nav.gallery-next {
        display: none !important;
    }
    
    .gallery-frame img {
        max-width: 95vw;
        max-height: 55vh;
    }
    
    .gallery-controls-mobile {
        display: flex !important;
        justify-content: center;
        gap: var(--space-lg);
        padding: var(--space-md);
        z-index: 2002;
        position: fixed;
        bottom: 30px;
        left: 0;
        right: 0;
    }
    
    .mobile-nav {
        padding: 14px 32px;
        background: var(--bg-card);
        border: 1px solid var(--border-normal);
        border-radius: 8px;
        color: var(--text-primary);
        font-family: var(--font-mono);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-normal);
    }
    
    .mobile-nav:active {
        background: var(--neon-cyan);
        border-color: var(--neon-cyan);
        color: var(--bg-void);
    }
    
    .gallery-close {
        top: var(--space-sm);
        right: var(--space-sm);
        padding: 6px 10px;
    }
    
    .close-icon {
        font-size: 1.2rem;
    }
    
    .gallery-counter {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-badge {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .badge-text {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .hero-cta {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.8rem;
    }
    
    .game-filters {
        justify-content: flex-start;
        padding-bottom: var(--space-xs);
        padding-left: var(--space-md);
    }
    
    .game-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.75rem;
    }
    
    .product-rank {
        min-width: 36px;
        height: 26px;
        padding: 0 8px;
        font-size: 0.75rem;
    }
}

/* === UTILITY CLASSES === */
.accent { color: var(--neon-cyan); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--neon-green); }
