:root {
            --primary-red: #ff1744;
            --dark-red: #d50000;
            --light-red: #ff8a80;
            --accent-red: #ff5722;
            --neon-pink: #ff0080;
            --neon-cyan: #00ffff;
            --deep-purple: #3f51b5;
            --black: #000000;
            --dark-gray: #0a0a0a;
            --medium-gray: #1a1a1a;
            --light-gray: #2a2a2a;
            --gold: #ffd700;
            --electric-blue: #0070f3;
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
            --gradient-primary: linear-gradient(135deg, #ff1744 0%, #d50000 25%, #3f51b5 75%, #000000 100%);
            --gradient-secondary: linear-gradient(45deg, #000000 0%, #0a0a0a 25%, #1a1a1a 75%, #2a2a2a 100%);
            --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        }

        * {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--dark-gray);
            color: white;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        
        /* Glassmorphism Header - упрощаем */
        .main-header {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--glass-border);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
        }

        .main-header.scrolled {
            background: rgba(0, 0, 0, 0.9);
            border-bottom: 1px solid var(--primary-red);
        }

        .logo-text {
            font-family: 'Orbitron', monospace;
            font-weight: 900;
            font-size: 2rem;
            background: linear-gradient(45deg, var(--primary-red), var(--neon-cyan), var(--gold));
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .logo-text::after {
            content: '🎰';
            position: absolute;
            right: -35px;
            top: 50%;
            transform: translateY(-50%);
        }

        /* Убираем сложные анимации градиентов */

        .navbar-menu {
            background: transparent;
        }

        .navbar-item {
            color: rgba(255, 255, 255, 0.9) !important;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s ease, transform 0.3s ease;
            position: relative;
            margin: 0 0.5rem;
            padding: 0.75rem 1.25rem !important;
            border-radius: 50px;
        }

        .navbar-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-glass);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .navbar-item:hover::before {
            opacity: 1;
        }

        .navbar-item:hover {
            color: var(--neon-cyan) !important;
            transform: translateY(-2px);
        }

        /* Hero Section - упрощаем */
        .hero-section {
            background: var(--gradient-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            z-index: 1;
            text-align: center;
        }


        .hero-content {
            position: relative;
            z-index: 3;
        }

        .hero-title {
            font-family: 'Orbitron', monospace;
            font-weight: 900;
            font-size: clamp(3rem, 8vw, 5.5rem);
            background: linear-gradient(45deg, #ffffff, var(--neon-cyan), var(--gold), var(--primary-red));
            background-size: 400% 400%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 2rem;
            line-height: 1.1;
        }

        .hero-subtitle {
            font-size: clamp(1.2rem, 3vw, 1.6rem);
            margin-bottom: 3rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 400;
            max-width: 700px;
        }

        .cta-button {
            background: linear-gradient(45deg, var(--gold), var(--primary-red));
            color: var(--black);
            font-weight: 800;
            font-size: 1.3rem;
            padding: 1.5rem 4rem;
            border-radius: 60px;
            border: none;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
        }

        .cta-button:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 25px 50px rgba(255, 215, 0, 0.6);
            color: var(--black);
        }


        /* Advanced Feature Cards - */
        .section {
            padding: 6rem 0;
            position: relative;
            z-index: 3;
        }

        .feature-card {
            background: var(--gradient-glass);
            backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 3rem;
            height: 100%;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, 
                rgba(255, 23, 68, 0.1) 0%, 
                rgba(0, 255, 255, 0.1) 50%, 
                rgba(255, 215, 0, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 24px;
        }

        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        }


        .section-title {
            background: linear-gradient(45deg, var(--primary-red), var(--neon-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            font-size: 1.6rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, var(--primary-red), var(--neon-cyan));
            border-radius: 2px;
        }

        /* Games Section - упрощаем */
        .games-section {
            background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.9), 
                rgba(26, 26, 26, 0.8), 
                rgba(42, 42, 42, 0.7));
            padding: 7rem 0;
            position: relative;
            z-index: 2;
        }

        .game-card {
            background: var(--gradient-glass);
            backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            margin-bottom: 2rem;
            z-index: 1;
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                rgba(255, 23, 68, 0.1),
                rgba(0, 255, 255, 0.1),
                rgba(255, 215, 0, 0.1));
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
            border-radius: 24px;
        }

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

        .game-card:hover {
            transform: scale(1.02) translateY(-5px);
            box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
            border: 1px solid var(--primary-red);
            z-index: 2;
        }

        .game-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, var(--primary-red), var(--deep-purple), var(--neon-cyan));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .game-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: none;
        }

        .game-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            transition: left 0.8s ease;
        }

        .game-card:hover .game-image::after {
            left: 100%;
        }

        .game-title {
            font-family: 'Orbitron', monospace;
            font-weight: 700;
            background: linear-gradient(45deg, var(--gold), var(--neon-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        .play-button {
            background: linear-gradient(45deg, var(--primary-red), var(--accent-red));
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(255, 23, 68, 0.3);
        }

        .play-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 20px 40px rgba(255, 23, 68, 0.5);
            color: white;
        }

        /* Responsible Gaming - упрощаем */
        .responsible-gaming {
            background: var(--gradient-glass);
            backdrop-filter: blur(15px);
            border: 2px solid var(--primary-red);
            border-radius: 24px;
            padding: 3.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
            margin: 2rem 0;
            z-index: 3;
        }

        .responsible-gaming::before {
            content: '🛡️';
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 4rem;
            opacity: 0.3;
        }

        /* Footer Enhancement */
        .main-footer {
            background: linear-gradient(135deg, var(--black), var(--dark-gray));
            border-top: 3px solid var(--primary-red);
            padding: 5rem 0 2rem 0;
            position: relative;
            overflow: hidden;
            z-index: 4;
        }

        .footer-title {
            background: linear-gradient(45deg, var(--primary-red), var(--neon-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.8);
            transition: color 0.3s ease, transform 0.3s ease;
            display: inline-block;
            margin-bottom: 0.8rem;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            position: relative;
            overflow: hidden;
        }

        .footer-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-glass);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            transition: left 0.3s ease;
            z-index: -1;
        }

        .footer-link:hover::before {
            left: 0;
        }

        .footer-link:hover {
            color: var(--neon-cyan);
            transform: translateX(10px);
        }

        .contact-info {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 0.8rem;
            padding: 0.5rem 0;
            transition: transform 0.3s ease;
        }

        .contact-info:hover {
            color: white;
            transform: translateX(5px);
        }

        .contact-info i {
            color: var(--primary-red);
            margin-right: 15px;
            width: 25px;
            font-size: 1.1rem;
        }

        /* Enhanced Popup Styles */
        .cookie-popup {
            position: fixed;
            z-index: 10000;
            backdrop-filter: blur(10px);
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--gradient-glass);
            backdrop-filter: blur(15px);
            border-top: 2px solid var(--primary-red);
            padding: 2rem;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
        }

        .popup-content {
            background: var(--gradient-glass);
            backdrop-filter: blur(15px);
            padding: 4rem;
            border-radius: 30px;
            text-align: center;
            border: 2px solid var(--primary-red);
            max-width: 700px;
            margin: 0 2rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
        }

        /* Убираем сложную анимацию ::before */

        .hidden {
            display: none !important;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-title {
                font-size: clamp(2.5rem, 8vw, 4rem);
            }
            
            .feature-card {
                margin-bottom: 2rem;
                padding: 2.5rem;
            }
            
            .game-image {
                height: 200px;
                font-size: 4rem;
            }
        }

        @media (max-width: 768px) {
            .main-header {
                padding: 0.5rem 0;
            }
            
            .logo-text {
                font-size: 1.6rem;
            }
            
            .navbar-item {
                padding: 0.75rem 1rem !important;
                margin: 0.25rem;
            }
            
            .hero-section {
                padding: 120px 1rem 80px 1rem;
                text-align: center;
            }
            
            .popup-content {
                padding: 3rem;
                margin: 0 1rem;
            }
            
            .cta-button {
                padding: 1.2rem 3rem;
                font-size: 1.1rem;
            }
            
            .feature-card {
                padding: 2rem;
            }
            
            .game-image {
                height: 180px;
                font-size: 3.5rem;
            }
        }

        @media (max-width: 480px) {
            .section {
                padding: 4rem 0;
            }
            
            .feature-card {
                padding: 1.5rem;
            }
            
            .responsible-gaming {
                padding: 2.5rem;
            }
            
            .main-footer {
                padding: 4rem 0 2rem 0;
            }
            
            .popup-content {
                padding: 2rem;
            }
        }

        /* Game Modal Styles */
        .game-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(15px);
            z-index: 10001;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .game-modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--gradient-glass);
            backdrop-filter: blur(15px);
            border: 2px solid var(--primary-red);
            border-radius: 20px;
            width: 95%;
            max-width: 1200px;
            height: 90%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
        }

        .modal-header {
            background: var(--gradient-primary);
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--glass-border);
            position: relative;
            z-index: 1000;
        }

        .modal-title {
            color: white;
            font-family: 'Orbitron', monospace;
            font-weight: 700;
            font-size: 1.5rem;
            margin: 0;
        }

        .modal-close {
            background: var(--gradient-glass);
            border: 1px solid var(--glass-border);
            color: white;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            z-index: 100;
        }

        .modal-close:hover {
            background: var(--primary-red);
            transform: scale(1.1);
        }

        .game-iframe {
            width: 100%;
            height: calc(100% - 80px);
            border: none;
            background: #000;
        }


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