/* === BASE STYLES === */:root {
            --primary: #00d4ff;
            --primary-dark: #00a8cc;
            --secondary: #ff3d71;
            --secondary-dark: #cc2d5a;
            --accent: #ffd700;
            --dark: #0a0e27;
            --dark-alt: #1a1f3a;
            --light: #f8f9fa;
            --text: #e0e6ed;
            --text-muted: #9ca3af;
            --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
            --gradient-secondary: linear-gradient(135deg, #ff3d71 0%, #ff006e 100%);
            --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
            --shadow-sm: 0 2px 8px rgba(0, 212, 255, 0.1);
            --shadow-md: 0 8px 24px rgba(0, 212, 255, 0.2);
            --shadow-lg: 0 16px 48px rgba(0, 212, 255, 0.3);
            --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.4);
        }

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

        html {
            overflow-x: hidden;
            max-width: 100vw;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--dark);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 140px;
            max-width: 100vw;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
            box-sizing: border-box;
        }

        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        h1 {
            font-size: clamp(2rem, 5vw, 4rem);
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        body.page-about h1,
        body.page-casino-games h1,
        body.page-vip-program h1,
        body.page-tournaments h1 {
            font-size: clamp(2rem, 4.5vw, 3.25rem);
        }

        body.page-terms h1 {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
        }

        h2 {
            font-size: clamp(1.75rem, 4vw, 3rem);
            color: var(--light);
        }

        h3 {
            font-size: clamp(1.25rem, 3vw, 1.75rem);
            color: var(--light);
        }

        p {
            margin-bottom: 1rem;
            color: var(--text);
            font-size: 1.0625rem;
        }

        a {
            text-decoration: none;
            color: var(--primary);
            transition: all 0.3s ease;
        }

        a:hover {
            color: var(--accent);
        }

        img {
            max-width: 100%;
            height: auto;
            border-radius: 16px;
        }

        .btn-primary, .cta-button {
            display: inline-block;
            padding: 18px 48px;
            background: var(--gradient-primary);
            color: var(--dark);
            font-weight: 700;
            font-size: 1.125rem;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-primary::before, .cta-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn-primary:hover::before, .cta-button:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary:hover, .cta-button:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-glow);
            color: var(--dark);
        }

        .card {
            background: var(--dark-alt);
            border-radius: 24px;
            padding: 32px;
            box-shadow: var(--shadow-sm);
            transition: all 0.4s ease;
            border: 1px solid rgba(0, 212, 255, 0.1);
            height: 100%;
        }

        .rules-card {
            max-width: 900px;
            width: 100%;
            margin: 0 auto 5rem;
        }

        .cta-card,
        .vip-card {
            max-width: 900px;
            width: 100%;
            margin: 0 auto 3rem;
        }

        .info-card {
            max-width: 900px;
            width: 100%;
            margin: 0 auto 3rem;
            background: #f8f9fa;
            color: var(--dark);
            border-color: rgba(0, 0, 0, 0.05);
        }

        .info-card .card-body {
            color: inherit;
        }

        .info-card p,
        .info-card li,
        .info-card small,
        .info-card strong {
            color: var(--dark);
        }

        .cta-card-wide {
            max-width: 1160px;
        }

        .card:hover {
            transform: translateY(-12px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }

        .card img {
            width: 100%;
            margin-bottom: 24px;
            border-radius: 16px;
            transition: transform 0.4s ease;
        }

        .card:hover img {
            transform: scale(1.05);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: var(--dark-alt);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .table-wrapper {
            width: 100%;
            overflow-x: auto;
        }

        .table-wrapper table {
            min-width: 600px;
        }

        thead {
            background: var(--gradient-primary);
        }

        thead th {
            padding: 20px;
            text-align: left;
            font-weight: 700;
            color: var(--dark);
            font-size: 1rem;
        }

        tbody tr {
            border-bottom: 1px solid rgba(0, 212, 255, 0.1);
            transition: background 0.3s ease;
        }

        tbody tr:hover {
            background: rgba(0, 212, 255, 0.05);
        }

        tbody td {
            padding: 20px;
            color: var(--text);
            font-size: 1rem;
        }

        section {
            padding: 120px 0;
            position: relative;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        main {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
        }

        section:nth-child(even) {
            background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 100%);
        }

        .tabs-nav {
            display: flex;
            gap: 16px;
            margin-bottom: 48px;
            flex-wrap: wrap;
        }

        .tab-button {
            padding: 16px 32px;
            background: var(--dark-alt);
            border: 2px solid rgba(0, 212, 255, 0.2);
            border-radius: 50px;
            color: var(--text);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .tab-button:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .tab-button.active {
            background: var(--gradient-primary);
            border-color: var(--primary);
            color: var(--dark);
            box-shadow: var(--shadow-md);
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .tab-content.active {
            display: block;
        }

        .tab-content img {
            max-width: 600px;
            margin: 0 auto 32px;
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .accordion-item {
            background: var(--dark-alt);
            border-radius: 16px;
            margin-bottom: 16px;
            overflow: hidden;
            border: 1px solid rgba(0, 212, 255, 0.1);
            transition: all 0.3s ease;
        }

        .accordion-item:hover {
            border-color: var(--primary);
        }

        .accordion-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 32px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .accordion-header:hover {
            background: rgba(0, 212, 255, 0.05);
        }

        .accordion-header h3 {
            margin: 0;
            font-size: 1.25rem;
        }

        .accordion-header button {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            background: transparent;
            color: var(--primary);
            font-size: 1.5rem;
            line-height: 1;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .accordion-header button::before {
            content: '+';
            transition: transform 0.3s ease;
        }

        .accordion-header button[aria-expanded="true"]::before {
            transform: rotate(45deg);
        }

        .accordion-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 32px;
        }

        .accordion-body.open {
            max-height: 1000px;
            padding: 0 32px 24px;
        }

        .cards-grid-3 .row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
            margin-top: 48px;
            margin-left: 0;
            margin-right: 0;
        }

        .timeline-item {
            padding-left: 48px;
            position: relative;
            margin-bottom: 48px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 4px;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            left: -6px;
            top: 0;
            width: 16px;
            height: 16px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 20px var(--primary);
        }

        .feature-item {
            background: var(--dark-alt);
            padding: 40px;
            border-radius: 24px;
            margin-bottom: 32px;
            border-left: 4px solid var(--primary);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateX(8px);
            box-shadow: var(--shadow-md);
        }

        /* === LAYOUT STYLES === */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 212, 255, 0.1);
            transition: all 0.3s ease;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
        }

        header.scrolled {
            background: rgba(10, 14, 39, 0.98);
            box-shadow: var(--shadow-md);
        }

        header + * {
            margin-top: 0;
        }

        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            gap: 32px;
        }

        header .header-top {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .logo {
            font-size: 1.75rem;
            font-weight: 900;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -1px;
            text-decoration: none;
            display: inline-block;
            transition: transform 0.3s ease;
        }

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

        nav {
            display: flex;
            align-items: center;
            flex: 1;
            justify-content: center;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 48px;
            margin: 0;
            padding: 0;
        }

        .nav-menu a {
            color: var(--text);
            font-weight: 600;
            font-size: 1rem;
            position: relative;
            padding: 8px 0;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .hamburger span {
            width: 28px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .hamburger[aria-expanded="true"] span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }

        .hamburger[aria-expanded="true"] span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        footer {
            background: var(--dark-alt);
            padding: 80px 0 32px;
            border-top: 1px solid rgba(0, 212, 255, 0.1);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-section h4 {
            color: var(--primary);
            margin-bottom: 24px;
            font-size: 1.25rem;
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 12px;
        }

        .footer-section ul a {
            color: var(--text);
            transition: all 0.3s ease;
        }

        .footer-section ul a:hover {
            color: var(--primary);
            padding-left: 8px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 32px;
            border-top: 1px solid rgba(0, 212, 255, 0.1);
            color: var(--text-muted);
        }

@media (max-width: 768px) {
            header .container {
                flex-direction: column;
                align-items: stretch;
                gap: 16px;
            }

            header .header-top {
                width: 100%;
                order: 1;
                justify-content: space-between;
            }

            .logo {
                font-size: 1.5rem;
            }

            .hamburger {
                display: flex;
                margin-left: auto;
            }

            nav {
                order: 3;
                width: 100%;
                justify-content: flex-start;
            }

            .nav-menu {
                flex-direction: column;
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                gap: 0;
            }

            .nav-menu.active {
                max-height: 400px;
                padding: 20px 0;
            }

            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid rgba(0, 212, 255, 0.1);
            }

            .nav-menu a {
                display: block;
                padding: 16px 0;
            }

            header .cta-button {
                order: 2;
                width: 100%;
                text-align: center;
                font-size: 1rem;
                padding: 14px 32px;
            }

            body {
                padding-top: 120px;
            }

            h1 {
                font-size: 2rem;
            }

            h2 {
                font-size: 1.75rem;
            }

            h3 {
                font-size: 1.25rem;
            }

            section {
                padding: 60px 0;
            }

            .hero-section {
                min-height: auto;
                padding-top: 120px;
                padding-bottom: 60px;
            }

            .hero-section p {
                font-size: 1.0625rem;
            }

            .btn-primary, .cta-button {
                padding: 14px 32px;
                font-size: 1rem;
            }

            .cards-grid-3 .row {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .tabs-nav {
                flex-direction: column;
            }

            .tab-button {
                width: 100%;
                text-align: center;
            }

            .timeline-item {
                padding-left: 32px;
            }

            .feature-item {
                padding: 24px;
            }

            table {
                font-size: 0.875rem;
            }

            thead th, tbody td {
                padding: 12px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .tab-content img {
                max-width: 100%;
                width: 100%;
                margin-bottom: 24px;
            }
        }