* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
        }
        
        body {
            background-color: #0a0a0a;
            color: #d8d8d8;
            line-height: 1.6;
            background-image: url('background.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-blend-mode: overlay;
            background-color: rgba(0, 0, 0, 0.85);
        }
        
        header {
            background-color: rgba(0, 0, 0, 0.8);
            padding: 1.5rem 0;
            border-bottom: 2px solid #700f0f;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .page-title {
            padding: 5rem 0 3rem;
            text-align: center;
        }
        
        h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            color: #fff;
            text-shadow: 0 0 10px #700f0f;
        }
        
        .subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            font-weight: 300;
            color: #a8a8a8;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 2.5rem;
            margin-left: 0.75rem;
            width: auto;
        }
        
        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-buttons {
            display: flex;
            align-items: center;
        }
        
        .nav-button {
            margin-left: 1.5rem;
            transition: transform 0.3s;
            position: relative;
        }
        
        .nav-button:hover {
            transform: scale(1.1);
        }
        
        .nav-button:hover::after {
            content: attr(data-title);
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 5px 10px;
            border-radius: 3px;
            font-size: 0.8rem;
            white-space: nowrap;
            border: 1px solid #700f0f;
        }
        
        .nav-button img {
            height: 3rem;
            width: auto;
            border-radius: 5px;
            border: 2px solid #700f0f;
        }
        
        .rules-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: rgba(15, 15, 15, 0.85);
            border-radius: 8px;
            padding: 2rem;
            margin-bottom: 3rem;
            border: 1px solid #333;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        }
        
        .rule {
            margin-bottom: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid #333;
        }
        
        .rule:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .rule h3 {
            color: #fff;
            font-size: 1.8rem;
            margin-bottom: 1rem;
            text-shadow: 0 0 5px #700f0f;
        }
        
        .rule p {
            color: #b8b8b8;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .rule .community-opinion {
            background-color: rgba(112, 15, 15, 0.2);
            padding: 1rem;
            border-left: 3px solid #700f0f;
            margin-top: 1.5rem;
        }
        
        .rule .community-opinion h4 {
            color: #fff;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }
        
        .rule .community-opinion p {
            color: #a8a8a8;
            font-size: 1rem;
        }

        /* Toggle Buttons */
        .toggle-container {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            gap: 2rem;
        }

        .toggle-button {
            background-color: transparent;
            border: none;
            cursor: pointer;
            transition: transform 0.3s;
            position: relative;
            padding: 0;
        }

        .toggle-button img {
            height: 5rem;
            width: auto;
            border-radius: 8px;
            border: 3px solid transparent;
            transition: all 0.3s;
        }

        .toggle-button.active img {
            border-color: #700f0f;
            box-shadow: 0 0 15px rgba(112, 15, 15, 0.7);
        }

        .toggle-button:hover {
            transform: scale(1.1);
        }

        .toggle-button:hover::after {
            content: attr(data-title);
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 5px 10px;
            border-radius: 3px;
            font-size: 0.9rem;
            white-space: nowrap;
            border: 1px solid #700f0f;
        }

        /* Hide the inactive ruleset */
        .rules-section {
            display: none;
        }

        .rules-section.active {
            display: block;
        }
        
        .footer {
            background-color: rgba(0, 0, 0, 0.9);
            color: #888;
            padding: 2rem 0;
            text-align: center;
            margin-top: 6rem;
            border-top: 1px solid #333;
        }
        
        .footer a {
            color: #700f0f;
            text-decoration: none;
        }
        
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: rgba(112, 15, 15, 0.8);
            color: #fff;
            padding: 10px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 1.2rem;
            transition: background-color 0.3s;
            display: none;
        }
        
        .back-to-top:hover {
            background-color: #700f0f;
        }
        
        .disclaimer {
            text-align: center;
            font-style: italic;
            color: #888;
            margin: 2rem 0;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            
            .subtitle {
                font-size: 1.2rem;
            }
            
            .logo {
                font-size: 1.4rem;
            }
            
            .logo img {
                height: 2rem;
            }
            
            .nav-button img {
                height: 2.5rem;
            }
            
            .rule h3 {
                font-size: 1.5rem;
            }
            
            .rule p {
                font-size: 1rem;
            }

            .toggle-button img {
                height: 4rem;
            }
        }
        
        @media (max-width: 480px) {
            .logo {
                font-size: 1.2rem;
            }
            
            .logo img {
                height: 1.8rem;
            }
            
            .nav-button img {
                height: 2rem;
            }
            
            .nav {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-buttons {
                width: 100%;
                justify-content: center;
            }
            
            .rules-container {
                padding: 1.5rem;
            }
            
            .rule h3 {
                font-size: 1.3rem;
            }

            .toggle-button img {
                height: 3.5rem;
            }
        }
        * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
