:root {
            --font-display: 'Orbitron', sans-serif;
            --font-heading: 'Rajdhani', sans-serif;
            --font-body: 'Inter', sans-serif;
        }

        [data-theme="dark"] {
            --bg-primary: #0a0a0f;
            --bg-secondary: #0f0f18;
            --bg-tertiary: #151521;
            --bg-card: #18182a;
            --bg-card-hover: #1e1e36;
            --border-color: #252540;
            --border-accent: #ff2d55;
            --text-primary: #f0f0f8;
            --text-secondary: #a0a0c0;
            --text-muted: #6b6b8a;
            --accent: #ff2d55;
            --accent-glow: rgba(255, 45, 85, 0.4);
            --accent-secondary: #00e5ff;
            --accent-secondary-glow: rgba(0, 229, 255, 0.4);
            --accent-tertiary: #7b2fff;
            --success: #00e676;
            --warning: #ffab00;
            --discord: #5865f2;
            --gradient-hero: linear-gradient(135deg, #0a0a14 0%, #1a0a20 40%, #0a1420 100%);
            --gradient-card: linear-gradient(145deg, #18182a 0%, #1a1a30 100%);
            --gradient-accent: linear-gradient(135deg, #ff2d55, #ff6b8a);
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
            --shadow-glow: 0 0 40px rgba(255, 45, 85, 0.15);
            --shadow-glow-blue: 0 0 40px rgba(0, 229, 255, 0.1);
            --noise-opacity: 0.03;
        }

        [data-theme="light"] {
            --bg-primary: #f5f5fa;
            --bg-secondary: #ffffff;
            --bg-tertiary: #eeeef5;
            --bg-card: #ffffff;
            --bg-card-hover: #f8f8ff;
            --border-color: #dcdce8;
            --border-accent: #e0245e;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-muted: #8888a8;
            --accent: #e0245e;
            --accent-glow: rgba(224, 36, 94, 0.25);
            --accent-secondary: #0097b2;
            --accent-secondary-glow: rgba(0, 151, 178, 0.2);
            --accent-tertiary: #6b21d4;
            --success: #00b34b;
            --warning: #e6a400;
            --discord: #5865f2;
            --gradient-hero: linear-gradient(135deg, #f0f0f8 0%, #fae8f0 40%, #e8f0fa 100%);
            --gradient-card: linear-gradient(145deg, #ffffff 0%, #fafaff 100%);
            --gradient-accent: linear-gradient(135deg, #e0245e, #ff4d7a);
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
            --shadow-glow: 0 0 40px rgba(224, 36, 94, 0.1);
            --shadow-glow-blue: 0 0 40px rgba(0, 151, 178, 0.08);
            --noise-opacity: 0.02;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            transition: background 0.35s ease, color 0.35s ease;
            position: relative;
            min-height: 100vh;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            opacity: var(--noise-opacity);
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 200px 200px;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.5px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.25s ease;
            text-decoration: none;
            text-transform: uppercase;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--gradient-accent);
            color: #fff;
            box-shadow: 0 4px 18px var(--accent-glow);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px var(--accent-glow);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--accent-secondary);
            color: var(--accent-secondary);
            box-shadow: 0 0 20px var(--accent-secondary-glow);
        }
        .btn-outline:hover {
            background: var(--accent-secondary);
            color: #000;
            box-shadow: 0 8px 30px var(--accent-secondary-glow);
            transform: translateY(-2px);
        }

        .btn-discord {
            background: var(--discord);
            color: #fff;
            font-weight: 600;
        }
        .btn-discord:hover {
            background: #4752c4;
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(88, 101, 242, 0.4);
        }

        .btn-sm {
            padding: 8px 18px;
            font-size: 0.85rem;
            letter-spacing: 0.3px;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: 2.4rem;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 8px;
            position: relative;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 60%;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
            box-shadow: 0 0 18px var(--accent-glow);
        }
        .section-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
            margin-bottom: 48px;
            font-family: var(--font-heading);
            letter-spacing: 0.4px;
        }

        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: background 0.35s ease;
        }
        .navbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 0;
            flex-wrap: wrap;
            gap: 12px;
        }
        .navbar-logo {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 2px;
            color: var(--text-primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .navbar-logo span {
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .navbar-links {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .navbar-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            padding: 8px 14px;
            border-radius: 6px;
            transition: all 0.2s ease;
            font-family: var(--font-heading);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .navbar-links a:hover,
        .navbar-links a.active {
            color: var(--accent);
            background: rgba(255, 45, 85, 0.06);
        }
        .navbar-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }
		
.navbar-toggle {
    display: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}
.navbar-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: var(--bg-secondary);
        border-radius: 8px;
        padding: 8px 0;
        border: 1px solid var(--border-color);
    }
    .navbar-links.open {
        display: flex;
    }
    .navbar-links a {
        padding: 12px 16px;
        border-radius: 0;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--border-color);
    }
    .navbar-links a:last-child {
        border-bottom: none;
    }
    .navbar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-logo {
        flex: 1;
    }
    .navbar-controls {
        flex-wrap: wrap;
    }
}
        .theme-toggle{
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 8px 14px;
            border-radius: 6px;
            cursor: pointer;
            font-family: var(--font-heading);
            font-size: 0.85rem;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 6px;
        }
		
.nav-item {
    position: relative;
}
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-item > a .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}
.nav-item:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
    z-index: 1001;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.15s ease;
    border-bottom: 1px solid transparent;
}
.dropdown-menu a:hover {
    background: rgba(255, 45, 85, 0.06);
    color: var(--accent);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-tertiary);
        border: none;
        border-radius: 0;
        box-shadow: none;
        display: none;
        padding: 0;
    }
    .nav-item.open-mobile .dropdown-menu {
        display: block;
    }
    .nav-item > a .fa-chevron-down {
        display: none;
    }
}
        .theme-toggle:hover{
            border-color: var(--accent);
            box-shadow: 0 0 12px var(--accent-glow);
        }
        .lang-select {
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 8px 14px;
            border-radius: 6px;
            cursor: pointer;
            font-family: var(--font-heading);
            font-size: 0.85rem;
            transition: all 0.2s ease;
            appearance: none;
            -webkit-appearance: none;
            padding-right: 28px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0c0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
        }
        .lang-select:hover {
            border-color: var(--accent);
            box-shadow: 0 0 12px var(--accent-glow);
        }

        .hero {
            padding: 80px 0 60px;
            text-align: center;
            position: relative;
            background: var(--gradient-hero);
        }
        .hero-badge {
            display: inline-block;
            padding: 8px 20px;
            border: 1px solid var(--accent);
            border-radius: 30px;
            font-family: var(--font-display);
            font-size: 0.8rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 24px;
            box-shadow: 0 0 24px var(--accent-glow);
        }
        .hero h1 {
            font-family: var(--font-display);
            font-size: 3.4rem;
            font-weight: 900;
            letter-spacing: 3px;
            line-height: 1.15;
            margin-bottom: 20px;
        }
        .hero h1 .highlight {
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            color: var(--text-secondary);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 36px;
            font-family: var(--font-heading);
            letter-spacing: 0.4px;
        }

        section {
            padding: 80px 0;
        }
        section:nth-child(even) {
            background: var(--bg-secondary);
        }

        .rules-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .rules-category {
            margin-bottom: 40px;
        }

        .rules-category-title {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 20px;
            color: var(--accent-secondary);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .rules-category-title i {
            color: var(--accent);
            font-size: 1.4rem;
        }

        .rule-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .rule-item:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-glow);
        }
        .rule-item.active {
            border-color: var(--accent-secondary);
            box-shadow: var(--shadow-glow-blue);
        }

        .rule-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            cursor: pointer;
            user-select: none;
            transition: background 0.2s ease;
            gap: 12px;
        }
        .rule-header:hover {
            background: var(--bg-card-hover);
        }
        .rule-header-left {
            display: flex;
            align-items: center;
            gap: 14px;
            flex: 1;
            min-width: 0;
        }
        .rule-number {
            font-family: var(--font-display);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--accent);
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 45, 85, 0.1);
            border-radius: 8px;
            flex-shrink: 0;
        }
        .rule-title {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            color: var(--text-primary);
        }
        .rule-icon {
            font-size: 1.2rem;
            color: var(--text-muted);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        .rule-item.active .rule-icon {
            transform: rotate(180deg);
            color: var(--accent-secondary);
        }

        .rule-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
        }
        .rule-item.active .rule-body {
            max-height: 800px;
        }
        .rule-content {
            padding: 0 24px 24px 78px;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .rule-content ul {
            list-style: none;
            padding: 0;
        }
        .rule-content ul li {
            padding: 6px 0;
            padding-left: 20px;
            position: relative;
        }
        .rule-content ul li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-size: 0.8rem;
        }
        .rule-penalty {
            margin-top: 14px;
            padding: 12px 16px;
            background: rgba(255, 45, 85, 0.08);
            border-left: 3px solid var(--accent);
            border-radius: 0 8px 8px 0;
            font-size: 0.85rem;
            color: var(--accent);
            font-weight: 500;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }
        .rule-penalty i {
            margin-top: 2px;
            flex-shrink: 0;
        }

        .rules-search {
            margin-bottom: 36px;
            position: relative;
            max-width: 500px;
        }
        .rules-search input {
            width: 100%;
            padding: 14px 50px 14px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            color: var(--text-primary);
            font-family: var(--font-heading);
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            outline: none;
        }
        .rules-search input:focus {
            border-color: var(--accent-secondary);
            box-shadow: 0 0 20px var(--accent-secondary-glow);
        }
        .rules-search input::placeholder {
            color: var(--text-muted);
        }
        .rules-search i {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 1.1rem;
            pointer-events: none;
        }

        .rules-quick-nav {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 32px;
        }
        .quick-nav-btn {
            padding: 10px 22px;
            border: 1px solid var(--border-color);
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            border-radius: 25px;
            cursor: pointer;
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            transition: all 0.25s ease;
            text-transform: uppercase;
        }
        .quick-nav-btn:hover {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            box-shadow: 0 0 18px var(--accent-glow);
            transform: translateY(-1px);
        }

        .no-results {
            text-align: center;
            padding: 40px;
            color: var(--text-muted);
            font-family: var(--font-heading);
            font-size: 1.1rem;
        }
        .no-results i {
            font-size: 2.5rem;
            display: block;
            margin-bottom: 12px;
            color: var(--accent);
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--accent);
            color: #fff;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            box-shadow: 0 4px 20px var(--accent-glow);
            transition: all 0.3s ease;
            opacity: 0;
            pointer-events: none;
            z-index: 998;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }
        .back-to-top:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px var(--accent-glow);
        }

        footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            padding: 32px 0;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        footer a {
            color: var(--accent-secondary);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2rem;
                letter-spacing: 1px;
            }
            .hero p {
                font-size: 1rem;
            }
            .section-title {
                font-size: 1.8rem;
            }
            .navbar-inner {
                flex-direction: column;
                align-items: flex-start;
            }
            .rule-content {
                padding: 0 16px 20px 16px;
            }
            .rule-header {
                padding: 16px;
            }
            .rule-number {
                min-width: 34px;
                height: 34px;
                font-size: 1rem;
            }
            .rule-title {
                font-size: 1rem;
            }
        }
