/* ==========================================================================
   Gaming Platform Theme - Mor/Menekse (Epic Games Style)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Dark Mode (Default)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors - Gaming Purple/Violet */
    --color-primary: #7C3AED;
    --color-primary-light: #A78BFA;
    --color-primary-dark: #5B21B6;
    --color-primary-rgb: 124, 58, 237;

    /* Secondary Colors - Neon Accents */
    --color-secondary: #06B6D4;
    --color-secondary-light: #22D3EE;
    --color-secondary-dark: #0891B2;

    /* Accent Colors */
    --color-accent-green: #10B981;
    --color-accent-orange: #F59E0B;
    --color-accent-red: #EF4444;
    --color-accent-pink: #EC4899;

    /* Background Colors - Dark Theme */
    --color-bg-body: #0F0F1A;
    --color-bg-primary: #0F0F1A;
    --color-bg-secondary: #1A1A2E;
    --color-bg-tertiary: #252540;
    --color-bg-card: #1A1A2E;
    --color-bg-hover: #2D2D4A;
    --color-bg-input: #252540;

    /* Text Colors */
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;
    --color-text-inverse: #0F172A;

    /* Border Colors */
    --color-border-primary: #334155;
    --color-border-light: #475569;
    --color-border-focus: var(--color-primary);

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #7C3AED 100%);
    --gradient-card: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
    --gradient-overlay: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);

    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(124, 58, 237, 0.4);
    --glow-secondary: 0 0 20px rgba(6, 182, 212, 0.4);
    --glow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --glow-card-hover: 0 8px 32px rgba(124, 58, 237, 0.25);

    /* Header/Footer specific */
    --header-bg: rgba(15, 15, 26, 0.95);
    --header-border: rgba(51, 65, 85, 0.5);
    --footer-bg: #0A0A14;

    /* Component specific */
    --card-radius: 12px;
    --btn-radius: 8px;
    --input-radius: 8px;

    /* Typography */
    --font-primary: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Space Grotesk', 'DM Sans', sans-serif;
    --font-display: 'Orbitron', 'Space Grotesk', sans-serif;

    /* Font Sizes */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* --------------------------------------------------------------------------
   Light Mode Colors
   -------------------------------------------------------------------------- */
[data-theme="light"] {
    --color-bg-body: #F8FAFC;
    --color-bg-primary: #F8FAFC;
    --color-bg-secondary: #FFFFFF;
    --color-bg-tertiary: #F1F5F9;
    --color-bg-card: #FFFFFF;
    --color-bg-hover: #E2E8F0;
    --color-bg-input: #F1F5F9;

    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-text-muted: #64748B;
    --color-text-inverse: #F8FAFC;

    --color-border-primary: #E2E8F0;
    --color-border-light: #CBD5E1;

    --glow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --glow-card-hover: 0 8px 32px rgba(124, 58, 237, 0.15);
    --glow-primary: 0 0 20px rgba(124, 58, 237, 0.25);

    --header-bg: rgba(255, 255, 255, 0.95);
    --header-border: rgba(226, 232, 240, 0.8);
    --footer-bg: #F1F5F9;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-primary);
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-bold);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

p {
    color: var(--color-text-secondary);
}

a {
    color: var(--color-primary-light);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

::selection {
    background-color: var(--color-primary);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-light);
}

/* Main Wrapper */
.main-wrapper {
    background-color: var(--color-bg-primary);
    min-height: 100vh;
}

/* ==========================================================================
   Gaming Section
   ========================================================================== */
.gaming-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg-primary);
}

.gaming-section--secondary {
    background-color: var(--color-bg-secondary);
}

.gaming-section__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-primary);
}

.gaming-section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin-top: var(--spacing-sm);
    border-radius: 2px;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
textarea,
select {
    background-color: var(--color-bg-input);
    border: 1px solid var(--color-border-primary);
    color: var(--color-text-primary);
    border-radius: var(--input-radius);
    padding: 12px 16px;
    transition: all var(--transition-fast);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    background-color: var(--color-bg-input);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
    color: var(--color-text-primary);
    outline: none;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Theme Toggle Button
   ========================================================================== */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--color-bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text-primary);
}

.theme-toggle:hover {
    background: var(--color-bg-hover);
    transform: scale(1.05);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: var(--glow-primary);
}

.theme-toggle__icon {
    position: absolute;
    font-size: 18px;
    transition: all var(--transition-normal);
}

.theme-toggle__sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle__moon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .theme-toggle__sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle__moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ==========================================================================
   Gaming Buttons
   ========================================================================== */
.btn-gaming {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-gaming:focus {
    outline: none;
}

.btn-gaming:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-gaming i,
.btn-gaming .icon {
    font-size: 16px;
}

/* Primary Button */
.btn-gaming--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-gaming--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
    color: white;
}

.btn-gaming--primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-gaming--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-gaming--secondary:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

/* Ghost Button */
.btn-gaming--ghost {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-primary);
}

.btn-gaming--ghost:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Success Button */
.btn-gaming--success {
    background: var(--color-accent-green);
    color: white;
}

.btn-gaming--success:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    color: white;
}

/* Danger Button */
.btn-gaming--danger {
    background: var(--color-accent-red);
    color: white;
}

.btn-gaming--danger:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    color: white;
}

/* Size Variants */
.btn-gaming--sm {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

.btn-gaming--lg {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
}

.btn-gaming--block {
    width: 100%;
}

/* ==========================================================================
   Game Cards - Epic Games Style (Minimal/No Background)
   ========================================================================== */
.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    transition: all var(--transition-normal);
}

.game-card:hover .game-card__image {
    transform: translateY(-4px);
}

.game-card:hover .game-card__image img {
    filter: brightness(1.1);
}

.game-card:hover .game-card__title a {
    color: var(--color-text-primary);
}

/* Card Image */
.game-card__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    border-radius: var(--card-radius);
    transition: transform var(--transition-normal);
}

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter var(--transition-normal);
}

.game-card__image--horizontal {
    aspect-ratio: 16/9;
}

/* Badges - Top Left on Image */
.game-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.game-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card__badge--discount {
    background: var(--color-accent-green);
    color: white;
}

.game-card__badge--new {
    background: var(--color-secondary);
    color: white;
}

.game-card__badge--hot {
    background: var(--color-accent-orange);
    color: white;
}

/* Wishlist Button - Top Right on Image */
.game-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 2;
}

.game-card:hover .game-card__wishlist {
    opacity: 1;
}

.game-card__wishlist:hover {
    background: var(--color-accent-red);
    transform: scale(1.1);
}

.game-card__wishlist.active {
    opacity: 1;
    background: var(--color-accent-red);
}

/* Content - Below Image */
.game-card__content {
    padding: 12px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Title */
.game-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: var(--line-height-tight);
}

.game-card__title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.game-card__title a:hover {
    color: var(--color-text-primary);
}

/* Rating Stars */
.game-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-card__stars {
    display: flex;
    gap: 2px;
}

.game-card__stars i {
    font-size: 11px;
    color: var(--color-accent-orange);
}

.game-card__stars i.empty {
    color: var(--color-text-muted);
}

.game-card__rating-count {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* Price Row */
.game-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.game-card__price-discount {
    background: var(--color-accent-green);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
}

.game-card__price-old {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.game-card__price-current {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

/* Free Badge */
.game-card__price-free {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

/* Platform Tags */
.game-card__platforms {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.game-card__platform {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Hide old elements */
.game-card__overlay,
.game-card__quick-view,
.game-card__actions,
.game-card__btn-cart,
.game-card__tags,
.game-card__tag {
    display: none;
}

/* ==========================================================================
   Card Grid Layout - Epic Games Style
   ========================================================================== */
.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) {
    .game-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .game-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .game-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .game-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .game-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card__title {
        font-size: 12px;
    }

    .game-card__price-current,
    .game-card__price-old {
        font-size: 12px;
    }

    .game-card__stars i {
        font-size: 9px;
    }
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.axil-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.axil-header.axil-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Header Action Buttons */
.header-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border-primary);
    border-radius: 50%;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-action-btn i {
    font-size: 18px;
}

.header-action-btn:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: scale(1.05);
}

.header-action-btn .item-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    border-radius: 50%;
    padding: 0 4px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.axil-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--color-border-primary);
    padding-top: var(--spacing-3xl);
    margin-top: auto;
}

.footer-widget .widget-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Footer Links */
.footer-link li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.footer-link li a:hover {
    color: var(--color-primary-light);
    padding-left: 8px;
}

/* Social Icons */
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border-primary);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
    box-shadow: var(--glow-primary);
}

.back-to-top i {
    font-size: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.5s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-card-hover);
}

.hover-scale {
    transition: transform var(--transition-fast);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow var(--transition-fast);
}

.hover-glow:hover {
    box-shadow: var(--glow-primary);
}

/* Loading Skeleton */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-bg-hover),
        transparent
    );
    animation: shimmer 1.5s infinite;
    background-size: 200% 100%;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border-primary);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.gaming-glow {
    box-shadow: var(--glow-primary);
}

.gaming-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gaming-glass {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-primary);
}

[data-theme="light"] .gaming-glass {
    background: rgba(255, 255, 255, 0.8);
}

/* Divider */
.gaming-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-border-primary) 20%,
        var(--color-border-primary) 80%,
        transparent
    );
    margin: var(--spacing-xl) 0;
}

/* Badge */
.gaming-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gaming-badge--primary {
    background: var(--gradient-primary);
    color: white;
}

.gaming-badge--discount {
    background: var(--color-accent-red);
    color: white;
}

.gaming-badge--new {
    background: var(--color-accent-green);
    color: white;
}

.gaming-badge--hot {
    background: var(--color-accent-orange);
    color: white;
}

/* ==========================================================================
   Existing eTrade Classes Override
   ========================================================================== */
.bg-color-white {
    background-color: var(--color-bg-primary) !important;
}

.section-title-wrapper .title {
    color: var(--color-text-primary);
}

.axil-section-gap {
    padding: 60px 0;
}

/* Transitions for Theme Switch */
body,
.main-wrapper,
.axil-header,
.axil-footer,
.game-card,
.gaming-section,
.form-control,
input,
textarea,
select,
.btn {
    transition:
        background-color var(--transition-normal),
        color var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Product Image Placeholder
   -------------------------------------------------------------------------- */
.product-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
    background: linear-gradient(135deg, #2D2D4A 0%, #1A1A2E 100%);
    border-radius: var(--radius-lg);
    position: relative;
}

.product-img-placeholder::before {
    content: '\f11b';
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 48px;
    color: rgba(124, 58, 237, 0.4);
}

.product-img-placeholder--sm::before {
    font-size: 24px;
}

.product-img-placeholder--lg::before {
    font-size: 72px;
}

/* Game Card Placeholder */
.game-card__image .product-img-placeholder {
    min-height: 200px;
    border-radius: 0;
}

.game-card__image .product-img-placeholder::before {
    font-size: 56px;
}

[data-theme="light"] .product-img-placeholder {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
}

[data-theme="light"] .product-img-placeholder::before {
    color: rgba(124, 58, 237, 0.3);
}

/* --------------------------------------------------------------------------
   Popular Games Slider
   -------------------------------------------------------------------------- */
.popular-games-section {
    position: relative;
}

.popular-games__nav {
    display: flex;
    gap: 10px;
}

.popular-games__nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary-light);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-games__nav-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.popular-games__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.popularGamesSwiper {
    overflow: hidden;
    padding: 10px 0;
}

.popularGamesSwiper .swiper-slide {
    height: auto;
}

/* Popular Game Card */
.popular-game-card {
    height: 100%;
}

.popular-game-card__link {
    display: block;
    text-decoration: none;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid rgba(124, 58, 237, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-game-card__link:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
}

.popular-game-card__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-bg-secondary);
}

.popular-game-card__img,
.popular-game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-game-card__link:hover .popular-game-card__img,
.popular-game-card__link:hover .popular-game-card__image img {
    transform: scale(1.08);
}

.popular-game-card__image .product-img-placeholder {
    min-height: 100%;
    aspect-ratio: 3/4;
    border-radius: 0;
}

.popular-game-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 2;
}

.popular-game-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-game-card__link:hover .popular-game-card__overlay {
    opacity: 1;
}

.popular-game-card__view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popular-game-card__link:hover .popular-game-card__view-btn {
    transform: translateY(0);
}

.popular-game-card__info {
    padding: 16px;
}

.popular-game-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.popular-game-card__price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.popular-game-card__old-price {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.popular-game-card__current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent-green);
}

/* Light Theme */
[data-theme="light"] .popular-game-card__link {
    background: white;
    border-color: rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .popular-game-card__link:hover {
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .popular-game-card__title {
    color: #1E293B;
}

[data-theme="light"] .popular-games__nav-btn {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Responsive */
@media (max-width: 767px) {
    .popular-games__nav {
        display: none;
    }

    .section-title-wrapper.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .popular-game-card__info {
        padding: 12px;
    }

    .popular-game-card__title {
        font-size: 13px;
        min-height: 36px;
    }

    .popular-game-card__current-price {
        font-size: 14px;
    }
}

/* --------------------------------------------------------------------------
   Brand Slider
   -------------------------------------------------------------------------- */
.brand-slider-section {
    position: relative;
}

.brand-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
}

.brandSwiper {
    overflow: hidden;
    flex: 1;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 16px;
    background: var(--color-bg-card);
    border: 1px solid rgba(124, 58, 237, 0.15);
    min-height: 120px;
}

.brand-item:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.brand-item img {
    height: 44px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7) invert(0.8);
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
}

.brand-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.brand-item:hover span {
    color: var(--color-primary-light);
}

/* Navigation Buttons */
.brand-slider__nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary-light);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-slider__nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.brand-slider__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Light Theme */
[data-theme="light"] .brand-item {
    background: white;
    border-color: rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .brand-item:hover {
    background: rgba(124, 58, 237, 0.08);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .brand-item img {
    filter: grayscale(100%) brightness(0.5) invert(0);
}

[data-theme="light"] .brand-item:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
}

[data-theme="light"] .brand-item span {
    color: #64748B;
}

[data-theme="light"] .brand-item:hover span {
    color: var(--color-primary);
}

[data-theme="light"] .brand-slider__nav {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Responsive */
@media (max-width: 767px) {
    .brand-slider-wrapper {
        gap: 10px;
    }

    .brand-slider__nav {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 14px;
    }

    .brand-item {
        padding: 16px 12px;
        min-height: 100px;
        border-radius: 12px;
    }

    .brand-item img {
        height: 32px;
    }

    .brand-item span {
        font-size: 9px;
    }
}

/* --------------------------------------------------------------------------
   Campaign Boxes
   -------------------------------------------------------------------------- */
.campaign-boxes {
    position: relative;
}

.campaign-box {
    position: relative;
    border-radius: 20px;
    padding: 32px;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.campaign-box:hover {
    transform: translateY(-5px);
}

/* Purple Theme */
.campaign-box--purple {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.campaign-box--purple:hover {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

.campaign-box--purple .campaign-box__glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.campaign-box--purple .campaign-box__badge {
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
}

.campaign-box--purple .campaign-box__btn {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
}

.campaign-box--purple .campaign-box__btn:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.campaign-box--purple .campaign-box__visual {
    color: rgba(124, 58, 237, 0.15);
}

.campaign-box--purple .countdown-value {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Cyan Theme */
.campaign-box--cyan {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.campaign-box--cyan:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2);
}

.campaign-box--cyan .campaign-box__glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.campaign-box--cyan .campaign-box__badge--hot {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.campaign-box--cyan .campaign-box__badge {
    background: linear-gradient(135deg, #06B6D4, #0891B2);
}

.campaign-box--cyan .campaign-box__btn {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

.campaign-box--cyan .campaign-box__btn:hover {
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.campaign-box--cyan .campaign-box__visual {
    color: rgba(6, 182, 212, 0.12);
}

.campaign-box--cyan .countdown-value {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Campaign Box Content */
.campaign-box__content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.campaign-box__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.campaign-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-box__discount {
    display: flex;
    flex-direction: column;
}

.campaign-box__discount-text {
    font-size: 24px;
    font-weight: 800;
    color: #10B981;
    line-height: 1;
}

.campaign-box__discount-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.campaign-box__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.campaign-box__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0 0 20px 0;
}

/* Countdown */
.campaign-box__countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-value {
    min-width: 52px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Button */
.campaign-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.campaign-box__btn:hover {
    transform: translateX(5px);
    color: white;
}

.campaign-box__btn i {
    transition: transform 0.3s ease;
}

.campaign-box__btn:hover i {
    transform: translateX(5px);
}

/* Visual Icon */
.campaign-box__visual {
    position: absolute;
    right: 20px;
    bottom: -20px;
    font-size: 180px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Light Theme */
[data-theme="light"] .campaign-box--purple {
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 50%, #EDE9FE 100%);
    border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .campaign-box--cyan {
    background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 50%, #ECFEFF 100%);
    border-color: rgba(6, 182, 212, 0.2);
}

[data-theme="light"] .campaign-box__title {
    color: #1E293B;
}

[data-theme="light"] .countdown-value {
    color: #1E293B;
}

/* Responsive */
@media (max-width: 991px) {
    .campaign-box {
        min-height: 260px;
        padding: 24px;
    }

    .campaign-box__title {
        font-size: 24px;
    }

    .campaign-box__visual {
        font-size: 140px;
        right: 10px;
    }
}

@media (max-width: 767px) {
    .campaign-box {
        min-height: auto;
        padding: 20px;
    }

    .campaign-box__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .campaign-box__title {
        font-size: 20px;
    }

    .campaign-box__discount-text {
        font-size: 20px;
    }

    .countdown-value {
        min-width: 44px;
        padding: 8px 10px;
        font-size: 18px;
    }

    .countdown-separator {
        font-size: 18px;
    }

    .campaign-box__visual {
        display: none;
    }

    .campaign-box__btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}
