/* TCGProxies.com - Premium TCG Proxy Printing Service */

:root {
    /* Brand Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    overflow-x: hidden;
}

.main-content {
    padding-top: 76px; /* Account for fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

.display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-display);
    font-weight: 800;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900) !important;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--gray-100);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

/* Enhanced Print Queue Button */
.cart-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cart-btn:hover::before {
    left: 100%;
}

.cart-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.cart-btn:active {
    transform: translateY(-1px) scale(1);
}

/* Enhanced Badge */
.cart-btn .badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 2px solid white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulseScale 2s infinite;
}

@keyframes pulseScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Cart button icon animation on hover */
.cart-btn i {
    transition: transform var(--transition-fast);
}

.cart-btn:hover i {
    transform: translateX(-2px);
}

/* Make the cart button more prominent */
@media (min-width: 768px) {
    .cart-btn {
        padding: 0.875rem 2rem;
        font-size: 1.05rem;
    }
    
    .cart-btn i {
        font-size: 1.1rem;
    }
}

/* Badge bounce animation */
.badge-bounce {
    animation: badgeBounce 0.6s ease;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.2);
    }
}

/* Cart button highlight animation */
.cart-btn-highlight {
    animation: cartHighlight 1s ease;
}

@keyframes cartHighlight {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 60px rgba(16, 185, 129, 0.4);
        transform: translateY(-3px) scale(1.05);
    }
}

/* Initial attention animation */
.cart-btn {
    animation: initialAttention 3s ease 2s;
}

@keyframes initialAttention {
    0%, 100% {
        transform: translateY(0);
    }
    25%, 75% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    opacity: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-badge:hover::before {
    left: 100%;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stat-card {
    text-align: center;
    padding: 1.5rem 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: visible;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

/* Hero Enhancements */
.hero-gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.hero-highlight {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 84px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: #1a1a2e;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
    color: #1a1a2e;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Trust Indicators */
.trust-item {
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
}

/* Enhanced Features Section */
.features-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="featuresGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(99,102,241,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23featuresGrid)"/></svg>');
    opacity: 0.5;
}

.features-section .container {
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.feature-card:hover .feature-icon::before {
    left: 100%;
}

.feature-content {
    text-align: center;
}

.feature-content h5 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1rem;
}

/* Scrolling Games Ticker */
.games-ticker-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.games-ticker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tickerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tickerGrid)"/></svg>');
    opacity: 0.3;
}

.games-ticker-container {
    position: relative;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
}

.games-ticker-content {
    position: relative;
    overflow: hidden;
}

.games-ticker-track {
    display: inline-flex;
    gap: 3rem;
    align-items: center;
    transition: transform 0.8s ease-in-out;
}

.games-ticker-track:hover {
    animation-play-state: paused;
}

/* Step-by-step scrolling animation will be handled by JavaScript */

.game-ticker-item {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.game-ticker-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.game-ticker-item i {
    font-size: 1rem;
    opacity: 0.8;
}

/* Enhanced Card Browser Section */
.card-browser-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.card-browser-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="browserGrid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="rgba(99,102,241,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23browserGrid)"/></svg>');
    opacity: 0.6;
}

.card-browser-section .container {
    position: relative;
    z-index: 2;
}

/* Filter Panel */
.filter-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.filter-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.select-wrapper {
    position: relative;
}

.custom-select {
    appearance: none;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    padding: 1rem 3rem 1rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.custom-select:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
    opacity: 0.6;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    pointer-events: none;
    transition: all 0.3s ease;
}

.select-wrapper:hover .select-arrow {
    color: var(--primary-color);
}

/* Search Input */
.search-wrapper {
    position: relative;
}

.custom-search {
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    padding: 1rem 3.5rem 1rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-search:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* Quick Actions */
.quick-actions {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.action-buttons .btn {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.results-info .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Enhanced Loading State */
.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--primary-light);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: var(--accent-color);
    animation-duration: 2s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.loading-subtext {
    color: var(--gray-500);
    font-size: 1rem;
}

/* Enhanced Empty State */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px dashed var(--gray-300);
}

.empty-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.empty-title {
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.empty-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.popular-games {
    text-align: center;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.game-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.game-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Enhanced Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Enhanced Pagination */
.pagination-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination-info {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.pagination .page-link {
    border: none;
    background: transparent;
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination .page-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* How It Works Section */
.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: all var(--transition-normal);
}

.step-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all var(--transition-normal);
}

.step-icon:hover {
    transform: translateY(-5px) scale(1.05);
}

.step-icon:hover::before {
    opacity: 1;
}

/* Card Grid */
.card-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    margin-bottom: 2rem;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--gray-200);
}

.card-item.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--shadow-2xl);
}

.card-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.card-item:hover .card-image {
    transform: scale(1.02);
}

.card-info {
    padding: 1.5rem;
}

.card-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    line-height: 1.3;
}

.card-details {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.card-number {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-2xl);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.75rem;
}

/* Rarity Badges */
.rarity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-2xl);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
}

.rarity-common { background: var(--gray-500); color: white; }
.rarity-uncommon { background: var(--success-color); color: white; }
.rarity-rare { background: var(--warning-color); color: white; }
.rarity-mythic { background: var(--danger-color); color: white; }
.rarity-legendary { background: var(--info-color); color: white; }

/* Selection Checkbox */
.card-checkbox {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.card-item:hover .card-checkbox,
.card-item.selected .card-checkbox {
    opacity: 1;
}

.card-item.selected .card-checkbox {
    background: var(--primary-color);
    color: white;
}

/* Quantity Controls */
.quantity-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    border-radius: 25px;
    padding: 8px 15px;
    display: none;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.card-item.selected .quantity-controls {
    display: flex;
}

.quantity-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.quantity-btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

.quantity-display {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

/* Floating Add to Queue Button */
.floating-add-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4) !important;
    transition: all 0.3s ease !important;
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.floating-add-btn:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6) !important;
    background: linear-gradient(135deg, #059669, #047857) !important;
}

.floating-add-btn.show {
    display: flex !important;
    animation: slideInUp 0.5s ease-out, pulse 2s infinite;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(16, 185, 129, 0.7);
        transform: scale(1.02);
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    transform: translateX(400px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.notification-toast.success .notification-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-toast.error .notification-content {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-content i {
    font-size: 1.2rem;
    margin-right: 12px;
}

/* Cart Modal */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    background: white;
    transition: all var(--transition-fast);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.cart-item-image {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-right: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.cart-item-details {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.page-link {
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-link:hover {
    color: var(--primary-color);
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Buttons */
.btn {
    border-radius: var(--radius-lg);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Forms */
.form-select, .form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%) !important;
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.3;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer .brand-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.footer .brand-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.footer .brand-text {
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

.footer h6 {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 1px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    border: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 50px 0 0 50px !important;
}

.newsletter-input:focus {
    box-shadow: none;
    background: white;
}

.btn-newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0 50px 50px 0 !important;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: scale(1.02);
    color: white;
}

/* Footer Links */
.footer-links li {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

/* Trust Badges */
.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer Divider */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 2rem 0 !important;
}

/* Footer Legal Links */
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Sponsor Link Styling */
.sponsor-link {
    color: #fbbf24 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.sponsor-link:hover {
    color: #f59e0b !important;
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.sponsor-link strong {
    font-weight: 700;
}

/* Terms and Conditions Modal */
.terms-content {
    line-height: 1.6;
}

.terms-content h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.terms-content h6:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.terms-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.terms-content strong {
    color: var(--gray-800);
    font-weight: 600;
}

.terms-content .alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.terms-content .alert-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.terms-content .alert-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

#termsModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#termsModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

#termsModal .modal-title {
    font-weight: 700;
}

#termsModal .btn-close {
    filter: invert(1);
}

#termsModal .modal-footer {
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 16px 16px;
}

/* Cookie Notice Modal */
.cookie-content {
    padding: 1rem;
}

.cookie-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.privacy-features {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.privacy-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.privacy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.privacy-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.privacy-item small {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.85rem;
}

.privacy-list {
    max-width: 300px;
    margin: 0 auto;
}

.privacy-list li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

#cookieModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#cookieModal .modal-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

#cookieModal .modal-title {
    font-weight: 700;
}

#cookieModal .btn-close {
    filter: invert(1);
}

#cookieModal .modal-footer {
    border-top: none;
    background: var(--gray-50);
    border-radius: 0 0 16px 16px;
}

#cookieModal .alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

#cookieModal .alert-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e40af;
}

/* Game Page Styles */
.game-hero-section {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.game-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gameGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23gameGrid)"/></svg>');
    opacity: 0.3;
}

.game-hero-content {
    position: relative;
    z-index: 2;
}

.game-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray-700);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.game-features-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.format-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
    font-size: 2rem;
}

.expansion-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.expansion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.expansion-header {
    padding: 2rem;
    text-align: center;
    color: white;
}

.expansion-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.expansion-body {
    padding: 1.5rem;
}

.expansion-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.expansion-btn {
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ctaGrid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23ctaGrid)"/></svg>');
    opacity: 0.3;
}

.related-game-link {
    text-decoration: none;
    color: inherit;
}

.related-game-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.related-game-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}

.related-game-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.related-game-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--gray-500);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0 1.5rem;
        text-align: center;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 3rem !important;
        line-height: 1.2;
    }

    .hero-section .lead {
        font-size: 1.3rem !important;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-stats {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }

    .stat-card {
        padding: 1rem 0.25rem;
    }

    .floating-card {
        display: none;
    }

    .feature-badge {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        margin-bottom: 1rem;
    }

    .card-image {
        max-width: 250px;
    }

    .floating-add-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .newsletter-section {
        padding: 2rem 1.5rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 16px;
    }

    .newsletter-input {
        border-radius: 16px !important;
        margin-bottom: 1rem;
    }

    .btn-newsletter {
        border-radius: 16px !important;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1rem 0 1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .hero-section .lead {
        font-size: 1.2rem !important;
    }

    .hero-stats {
        margin-top: 2rem;
        padding: 1.5rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    .stat-card {
        padding: 0.75rem 0.25rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin-bottom: 0.5rem;
    }

    .card-image {
        max-width: 200px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .main-content {
        padding-top: 70px;
    }

    .newsletter-section {
        padding: 1.5rem 1rem;
    }

    .footer h6 {
        font-size: 1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-content h5 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    /* Browse Cards Responsive */
    .filter-panel {
        padding: 2rem 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .empty-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .game-tags {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons {
        width: 100%;
        text-align: center;
    }

    .action-buttons .btn {
        margin: 0.25rem;
    }

    .quick-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .results-info {
        text-align: center;
    }

    /* Games Ticker Responsive */
    .games-ticker-section {
        padding: 1rem 0;
    }

    .game-ticker-item {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .games-ticker-track {
        gap: 2rem;
    }

    /* Game Page Responsive */
    .game-hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }

    .game-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .stat-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 0.5rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .expansion-header {
        padding: 1.5rem;
    }

    .expansion-icon {
        font-size: 2rem;
    }

    .related-game-card {
        padding: 1rem 0.5rem;
    }

    .related-game-card i {
        font-size: 1.2rem;
    }

    .related-game-card span {
        font-size: 0.75rem;
    }
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Print Styles */
@media print {
    .navbar,
    .modal,
    .pagination,
    .btn,
    .hero-section,
    .step-icon,
    .floating-add-btn {
        display: none !important;
    }
    
    .card-item {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .card-image {
        max-width: 100%;
        height: auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading shimmer effect */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Improved button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* AOS Animation Overrides */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
