        :root {
            --primary-color: #ff8800;
            --secondary-color: #ff6b00;
            --accent-color: #ffa533;
            --bg-dark: #1a1a1a;
            --bg-light: #2a2a2a;
            --text-light: #ffffff;
            --text-gray: #cccccc;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Tajawal', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #090909 0%, #080808 100%);
            color: var(--text-light);
            min-height: 100vh;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            z-index: -1;
        }

        .home-btn {
            position: fixed;
            top: 20px;
            left: 20px;
            background-color: var(--primary-color);
            color: var(--text-light);
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .home-btn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }

        .rules-container {
            max-width: 800px;
            margin: 2rem auto;
        }

        .rules-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
            border-radius: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }

        .rules-header h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .rule-item {
            background-color: var(--bg-light);
            border-radius: 15px;
            margin-bottom: 1.5rem;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }

        .rule-item:hover {
            transform: translateY(-3px);
        }

        .rule-item h3 {
            padding: 1.5rem;
            margin: 0;
            background: rgba(255,255,255,0.05);
            color: var(--primary-color);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .rule-item h3::before {
            content: '\f105';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            transition: transform 0.3s ease;
        }

        .rule-item h3.active {
            color: var(--accent-color);
            background: rgba(255,136,0,0.1);
        }

        .rule-item h3.active::before {
            transform: rotate(90deg);
        }

        .rule-content {
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .rule-content.active {
            max-height: 9000px;
            padding: 1.5rem;
        }

        .rule-content ul {
            list-style: none;
        }

        .rule-content li {
            margin-bottom: 1rem;
            padding-right: 2rem;
            position: relative;
            color: var(--text-gray);
            line-height: 1.6;
            white-space: pre-line;
        }

        .rule-content li::before {
            content: '\f058';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: var(--primary-color);
            position: absolute;
            right: 0;
            top: 0.2rem;
        }

        .footer {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: var(--text-gray);
        }

        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }

            .rules-header {
                padding: 1.5rem;
            }

            .rules-header h1 {
                font-size: 2rem;
            }

            .home-btn {
                top: 10px;
                left: 10px;
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }

            .rule-item h3 {
                padding: 1rem;
                font-size: 1.1rem;
            }

            .rule-content.active {
                padding: 1rem;
            }
}
