:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-secondary: #7c3aed;
    --bg-main: #0d1b2a;
    --bg-card: #1c2937;
    --bg-header: #0d1b2a;
    --bg-footer: #0a1220;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.05);
    --btn-primary-bg: #2563eb;
    --btn-primary-text: #ffffff;
    --btn-primary-hover: #1d4ed8;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #ffffff;
    --btn-secondary-border: rgba(255, 255, 255, 0.2);
    --btn-secondary-hover: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.03);
    --overlay-dark: rgba(0, 0, 0, 0.5);
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Utility Classes */
        .hidden {
            display: none !important;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: var(--bg-main);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .header {
            background: var(--bg-main);
            padding: 1.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            width: 100%;
            overflow-x: hidden;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo img {
            height: 40px;
            width: auto;
            display: block;
        }

        .nav-buttons {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-shrink: 0;
        }

        .btn {
            padding: 0.7rem 1.5rem;
            border: none;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-register {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .btn-register:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .btn-login {
            background: var(--color-primary);
            color: var(--text-primary);
        }

        .btn-login:hover {
            background: var(--color-primary-hover);
        }

        .providers-section {
            padding: 2rem 0;
            background: var(--bg-main);
            overflow-x: hidden;
        }

        .providers-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
        }

        .providers-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .provider-card {
            background: #1e293b;
            border-radius: 8px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.05);
            min-height: 100px;
            overflow: hidden;
        }

        .provider-card a {
            display: block;
            width: 100%;
            height: 100%;
            min-height: 100px;
        }

        .provider-card:hover {
            transform: translateY(-3px);
            background: #2a3649;
            border-color: rgba(255, 255, 255, 0.1);
        }

        .provider-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 1.5rem;
            filter: grayscale(100%) brightness(1.2);
            transition: filter 0.3s;
        }

        .provider-card:hover img {
            filter: grayscale(0%) brightness(1);
        }

        .expand-btn {
            width: 100%;
            padding: 1rem;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: #94a3b8;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .expand-btn:hover {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .expand-btn svg {
            transition: transform 0.3s;
        }

        .expand-btn.expanded svg {
            transform: rotate(180deg);
        }

        .bonus-banner {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
            width: 100%;
        }

        .bonus-card {
            background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
            border-radius: 12px;
            padding: 2.5rem;
            text-align: center;
            box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
            width: 100%;
        }

        .bonus-card h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .bonus-card p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            opacity: 0.95;
        }

        .btn-bonus {
            background: var(--text-primary);
            color: #f97316;
            padding: 0.9rem 2.5rem;
            font-weight: 700;
        }

        .btn-bonus:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
        }

        .games-section {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
            width: 100%;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .game-card {
            background: #1e293b;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
            border-color: rgba(255, 255, 255, 0.1);
        }

        .game-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

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

        .play-btn {
            background: var(--btn-primary-bg);
            color: var(--btn-primary-text);
            padding: 0.5rem 1.5rem;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .game-image {
            width: 100%;
            aspect-ratio: 3/4;
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            position: relative;
            overflow: hidden;
        }
        
        .game-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .game-info {
            padding: 0.75rem;
        }

        .game-info h4 {
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--text-primary);
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            line-height: 1.3;
            min-height: 2.2em;
        }

        .game-info p {
            font-size: 0.75rem;
            color: #94a3b8;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .info-icon {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            width: 20px;
            height: 20px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--text-primary);
        }

        .search-section {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
            display: flex;
            gap: 1rem;
            width: 100%;
        }

        .search-box {
            flex: 1;
            background: #1e293b;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 1rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            min-width: 0;
        }

        .search-box input {
            flex: 1;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-size: 1rem;
            outline: none;
        }

        .search-box input::placeholder {
            color: #64748b;
        }

        .filter-btn {
            background: #1e293b;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            padding: 1rem 2rem;
        }

        .filter-btn:hover {
            background: #2a3649;
        }

        .content-section {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 2rem;
            width: 100%;
        }

        .content-box {
            background: #1e293b;
            border-radius: 12px;
            padding: 3rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
            width: 100%;
        }

        .content-box h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .content-box h3 {
            font-size: 1.3rem;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .content-box p {
            color: #94a3b8;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .footer {
            background: #0a1525;
            padding: 3rem 0 1rem;
            margin-top: 4rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-logos {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-logo {
            height: 45px;
            opacity: 0.7;
            transition: opacity 0.3s;
        }

        .footer-logo:hover {
            opacity: 1;
        }

        .footer-menu {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .footer-menu a {
            color: #64748b;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-menu a:hover {
            color: #94a3b8;
        }

        .payment-methods {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .payment-icon {
            height: 30px;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        .payment-icon:hover {
            opacity: 1;
        }

        .footer-text {
            text-align: center;
            color: #64748b;
            font-size: 0.85rem;
            line-height: 1.8;
            margin-top: 2rem;
        }

        .footer-text a {
            color: #3b82f6;
            text-decoration: none;
        }

        .footer-text a:hover {
            text-decoration: underline;
        }

        .copyright {
            text-align: center;
            padding: 2rem 0 1rem;
            color: #475569;
            font-size: 0.85rem;
        }

        @media (max-width: 1024px) {
            .games-grid {
                grid-template-columns: repeat(6, 1fr);
            }

            .providers-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-container {
                padding: 0 1rem;
                flex-wrap: wrap;
                gap: 1rem;
                justify-content: center;
            }

            .logo img {
                height: 32px;
                max-width: 60vw;
            }

            .nav-buttons {
                flex-shrink: 0;
            }

            .games-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 0.75rem;
            }

            .providers-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
            }

            .providers-container {
                padding: 0 1rem;
            }

            .games-section {
                padding: 0 1rem;
            }

            .bonus-banner {
                padding: 0 1rem;
            }

            .search-section {
                padding: 0 1rem;
            }

            .content-section {
                padding: 0 1rem;
            }

            .content-box {
                padding: 1.5rem;
            }

            .bonus-card {
                padding: 1.5rem;
            }

            .bonus-card h2 {
                font-size: 1.3rem;
            }

            .nav-buttons {
                gap: 0.4rem;
            }

            .btn {
                padding: 0.5rem 0.7rem;
                font-size: 0.8rem;
                white-space: nowrap;
            }
        }

        @media (max-width: 480px) {
            .header-container {
                padding: 0.75rem;
                gap: 0.75rem;
                justify-content: center;
            }

            .logo img {
                height: 28px;
                max-width: 70vw;
            }

            .nav-buttons {
                gap: 0.5rem;
                flex-shrink: 0;
            }

            .btn {
                padding: 0.5rem 0.9rem;
                font-size: 0.85rem;
            }

            .games-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }

            .providers-grid {
                grid-template-columns: repeat(1, 1fr);
                gap: 0.5rem;
            }

            .providers-container {
                padding: 0 0.75rem;
            }

            .games-section {
                padding: 0 0.75rem;
            }

            .bonus-banner {
                padding: 0 0.75rem;
            }

            .search-section {
                padding: 0 0.75rem;
                flex-direction: column;
            }

            .content-section {
                padding: 0 0.75rem;
            }

            .content-box {
                padding: 1rem;
            }

            .bonus-card {
                padding: 1.25rem;
            }

            .bonus-card h2 {
                font-size: 1.1rem;
            }

            .nav-buttons {
                gap: 0.3rem;
            }

            .btn {
                padding: 0.4rem 0.6rem;
                font-size: 0.75rem;
            }

            .footer-container {
                padding: 0 0.75rem;
            }
        }

        /* Стили для контента - списки */
        .content-box ol, 
        .content-box ul {
            color: var(--text-secondary);
            margin: 1rem 0 1rem 1.5rem;
            line-height: 1.8;
        }

        .content-box ol li,
        .content-box ul li {
            margin-bottom: 0.5rem;
        }

        .content-box strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* Стили для таблиц */
        .content-box table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: var(--bg-card);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .content-box thead {
            background: var(--bg-header);
        }

        .content-box th {
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            color: var(--text-primary);
            border-bottom: 1px solid var(--border-color);
            font-size: 0.95rem;
        }

        .content-box td {
            padding: 1rem;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border-color);
        }

        .content-box tbody tr {
            transition: background-color 0.2s;
        }

        .content-box tbody tr:nth-child(odd) {
            background: var(--bg-card);
        }

        .content-box tbody tr:nth-child(even) {
            background: var(--bg-main);
        }

        .content-box tbody tr:hover {
            background: var(--card-hover);
        }

        .content-box tbody tr:last-child td {
            border-bottom: none;
        }

        /* Адаптивные таблицы для мобильных */
        @media (max-width: 768px) {
            .content-box table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
            }

            .content-box th,
            .content-box td {
                padding: 0.75rem 0.5rem;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .content-box table {
                font-size: 0.8rem;
            }

            .content-box th,
            .content-box td {
                padding: 0.5rem 0.4rem;
                font-size: 0.75rem;
            }
        }

        /* Hamburger button - скрыт на десктопе */
        .hamburger-menu {
            display: none;
            flex-direction: column;
            gap: 4px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
        }

        .hamburger-menu span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        /* Navigation - десктоп версия */
        .site-navigation {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        .site-navigation .nav-overlay,
        .site-navigation .nav-close {
            display: none;
        }

        .site-navigation .nav-content {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        .nav-link {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.5rem 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: var(--accent-color);
        }

        .nav-link.active {
            color: var(--accent-color);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent-color);
        }

        /* Мобильная версия - hamburger menu */
        @media (max-width: 768px) {
            /* Показываем hamburger button */
            .hamburger-menu {
                display: flex;
            }

            /* Навигация становится slide-in menu */
            .site-navigation {
                position: fixed;
                top: 0;
                right: -100%;
                height: 100vh;
                width: 280px;
                background: var(--bg-primary);
                z-index: 1000;
                transition: right 0.3s ease;
                display: block;
            }

            .site-navigation.active {
                right: 0;
            }

            /* Overlay для затемнения фона */
            .site-navigation .nav-overlay {
                display: block;
                position: fixed;
                top: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                background: rgba(0, 0, 0, 0.5);
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease;
                z-index: -1;
            }

            .site-navigation.active .nav-overlay {
                opacity: 1;
                visibility: visible;
            }

            /* Close button */
            .site-navigation .nav-close {
                display: block;
                position: absolute;
                top: 1rem;
                right: 1rem;
                font-size: 2rem;
                background: none;
                border: none;
                color: var(--text-primary);
                cursor: pointer;
                padding: 0;
                width: 40px;
                height: 40px;
                line-height: 1;
            }

            /* Nav content */
            .site-navigation .nav-content {
                display: flex;
                flex-direction: column;
                gap: 0;
                padding: 4rem 2rem 2rem;
                height: 100%;
                overflow-y: auto;
            }

            .nav-link {
                padding: 1rem 0;
                font-size: 1.1rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .nav-link.active::after {
                display: none;
            }

            .nav-link.active {
                font-weight: 600;
            }

            /* Header adjustments */
            .header-container {
                justify-content: space-between;
                gap: 1rem;
            }

            .nav-buttons {
                gap: 0.5rem;
            }

            .btn {
                padding: 0.5rem 0.75rem;
                font-size: 0.8rem;
            }
        }
