/* ========================================
   Rules Page Specific Styles
   ======================================== */

.rules-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d0a 0%, #16213e 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    margin-top: -80px;
}

.rules-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.rules-header::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 76, 147, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    animation: pulse 8s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 1;
}

.rules-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="black" opacity="0.03" /></svg>');
    z-index: 1;
}

.rules-header-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 100 100"><rect width="1" height="1" fill="%231e90ff" opacity="0.05" x="10" y="10"/><rect width="1" height="1" fill="%236a4c93" opacity="0.05" x="30" y="40"/><rect width="1" height="1" fill="%231e90ff" opacity="0.05" x="50" y="20"/><rect width="1" height="1" fill="%236a4c93" opacity="0.05" x="70" y="30"/><rect width="1" height="1" fill="%231e90ff" opacity="0.05" x="90" y="60"/></svg>');
}

.moon-rules {
    top: 15%;
    right: 15%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, #0066cc, #1e90ff);
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.3);
    animation: glow 8s ease-in-out infinite;
    opacity: 0.8;
}

.moon-rules::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 15px 10px 0 rgba(255, 255, 255, 0.1),
                30px 20px 0 rgba(255, 255, 255, 0.1);
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(30, 144, 255, 0.3); opacity: 0.8; }
    50% { box-shadow: 0 0 50px rgba(30, 144, 255, 0.5); opacity: 0.9; }
}

.stars-container-rules {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.star-rules {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: white;
    animation: twinkle 4s infinite;
    opacity: 0.7;
}

.star-rules:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.star-rules:nth-child(2) { top: 20%; left: 25%; animation-delay: 0.6s; }
.star-rules:nth-child(3) { top: 15%; left: 50%; animation-delay: 1.2s; }
.star-rules:nth-child(4) { top: 30%; left: 75%; animation-delay: 1.8s; }
.star-rules:nth-child(5) { top: 40%; left: 15%; animation-delay: 2.4s; }
.star-rules:nth-child(6) { top: 35%; left: 90%; animation-delay: 3s; }
.star-rules:nth-child(7) { top: 55%; left: 20%; animation-delay: 0.3s; }
.star-rules:nth-child(8) { top: 65%; left: 60%; animation-delay: 0.9s; }
.star-rules:nth-child(9) { top: 70%; left: 85%; animation-delay: 1.5s; }
.star-rules:nth-child(10) { top: 50%; left: 5%; animation-delay: 2.1s; }
.star-rules:nth-child(11) { top: 75%; left: 40%; animation-delay: 2.7s; }
.star-rules:nth-child(12) { top: 80%; left: 70%; animation-delay: 3.3s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.rules-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.rules-header h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e90ff, #0066cc, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(30, 144, 255, 0.5);
    letter-spacing: -1px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 5px 15px rgba(30, 144, 255, 0.5), 0 0 20px rgba(30, 144, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 5px 20px rgba(30, 144, 255, 0.8), 0 0 30px rgba(30, 144, 255, 0.5);
        transform: scale(1.02);
    }
}

.rules-header p {
    font-size: 1.1rem;
    color: #1e90ff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Rules Section
   ======================================== */

.rules-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #0d0d0a 0%, #16213e 100%);
    min-height: 100vh;
}

.rules-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========================================
   Table of Contents
   ======================================== */

.table-of-contents {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(22, 33, 62, 0.98) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
    position: sticky;
    top: 100px;
    z-index: 100;
    box-shadow: 0 15px 50px rgba(30, 144, 255, 0.25), inset 0 1px 0 rgba(0, 255, 136, 0.1), 0 0 30px rgba(30, 144, 255, 0.15);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.table-of-contents:hover {
    box-shadow: 0 20px 60px rgba(30, 144, 255, 0.4), inset 0 1px 0 rgba(0, 255, 136, 0.15), 0 0 40px rgba(30, 144, 255, 0.25);
    border-color: rgba(0, 255, 136, 0.6);
    transform: translateY(-3px);
}

.table-of-contents h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e90ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
    letter-spacing: 0.5px;
}

.table-of-contents h3::before {
    content: '\f279';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.3rem;
    margin-right: 0.2rem;
    background: linear-gradient(135deg, #1e90ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.table-of-contents ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
}

.table-of-contents li {
    margin: 0;
}

.table-of-contents a {
    color: #b0b8d4;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1.5px solid rgba(30, 144, 255, 0.2);
    background: rgba(30, 144, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.table-of-contents a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.table-of-contents a:hover {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    transform: translateX(8px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.2), inset 0 0 15px rgba(0, 255, 136, 0.05);
}

.table-of-contents a:hover::before {
    left: 100%;
}

/* ========================================
   Rule Cards
   ======================================== */

.rule-card {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, rgba(26, 26, 46, 0.95) 100%);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-margin-top: 120px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.rule-card > * {
    position: relative;
    z-index: 1;
}

.rule-card:hover {
    border-color: #1e90ff;
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.25), inset 0 1px 0 rgba(0, 255, 136, 0.2);
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(26, 26, 46, 0.98) 100%);
}

.rule-card:hover::before {
    left: 100%;
}

.rule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #1e90ff;
    transition: all 0.4s ease;
}

.rule-card:hover .rule-header {
    border-bottom-color: #00ff88;
}

.rule-header h2 {
    font-size: 2rem;
    color: #1e90ff;
    margin: 0;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

.rule-card:hover .rule-header h2 {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.rule-number {
    background: linear-gradient(135deg, #1e90ff, #0066cc);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
    transition: all 0.4s ease;
}

.rule-card:hover .rule-number {
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.4);
    transform: scale(1.08);
}

.rule-content {
    display: grid;
    gap: 1.5rem;
}

.rule-item {
    background: rgba(30, 144, 255, 0.08);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #1e90ff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rule-item:hover {
    background: rgba(30, 144, 255, 0.15);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.15);
    border-left-color: #00ff88;
}

.rule-item h3 {
    font-size: 1.2rem;
    color: #00ff88;
    margin-bottom: 0.8rem;
    margin-top: 0;
    font-weight: 600;
}

.rule-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.safe-zones-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    color: var(--text-secondary);
    background: rgba(30, 144, 255, 0.08);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.safe-zones-list li {
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid rgba(30, 144, 255, 0.1);
    transition: all 0.3s ease;
}

.safe-zones-list li:last-child {
    border-bottom: none;
}

.safe-zones-list li:hover {
    background: rgba(30, 144, 255, 0.1);
    padding-left: 2.8rem;
    color: #00ff88;
    border-radius: 6px;
}

.safe-zones-list li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    font-size: 1.3rem;
    color: #00ff88;
    transition: transform 0.3s ease;
}

.safe-zones-list li:hover::before {
    transform: scale(1.2) rotate(10deg);
}

.safe-zones-list li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    font-size: 1.3rem;
    color: #00ff88;
    transition: transform 0.3s ease;
}

.safe-zones-list li:hover::before {
    transform: scale(1.2) rotate(10deg);
}

/* ========================================
   Consequences Section
   ======================================== */

.consequence-item {
    margin-bottom: 1.5rem;
}

.consequence-level {
    background: rgba(30, 144, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #1e90ff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.consequence-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.consequence-level > * {
    position: relative;
    z-index: 1;
}

.consequence-level:hover {
    background: rgba(30, 144, 255, 0.12);
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.2), inset 0 1px 0 rgba(0, 255, 136, 0.1);
}

.consequence-level:hover::before {
    left: 100%;
}

.consequence-level h3 {
    font-size: 1.2rem;
    color: #00ff88;
    margin: 0 0 0.8rem 0;
    font-weight: 600;
}

.consequence-level p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.consequence-level.warning {
    border-left-color: #ffc107;
}

.consequence-level.warning h3 {
    color: #ffc107;
}

.consequence-level.warning:hover {
    background: rgba(255, 193, 7, 0.08);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.15), inset 0 1px 0 rgba(255, 193, 7, 0.1);
}

.consequence-level.caution {
    border-left-color: #1e90ff;
}

.consequence-level.caution h3 {
    color: #1e90ff;
}

.consequence-level.caution:hover {
    background: rgba(30, 144, 255, 0.12);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.2), inset 0 1px 0 rgba(30, 144, 255, 0.1);
}

.consequence-level.ban {
    border-left-color: #ff4444;
}

.consequence-level.ban h3 {
    color: #ff4444;
}

.consequence-level.ban:hover {
    background: rgba(255, 68, 68, 0.08);
    box-shadow: 0 12px 30px rgba(255, 68, 68, 0.15), inset 0 1px 0 rgba(255, 68, 68, 0.1);
}

.consequence-level.permanent {
    border-left-color: #cc0000;
}

.consequence-level.permanent h3 {
    color: #cc0000;
}

.consequence-level.permanent:hover {
    background: rgba(204, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(204, 0, 0, 0.15), inset 0 1px 0 rgba(204, 0, 0, 0.1);
}

/* ========================================
   Appeal Card
   ======================================== */

.appeal-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #6a4c93;
}

.appeal-card .rule-header {
    border-bottom-color: #6a4c93;
}

.appeal-card .rule-header h2 {
    color: #6a4c93;
}

.appeal-card .rule-number {
    background: linear-gradient(135deg, #6a4c93, #8b6ec4);
}

.appeal-steps {
    color: var(--text-secondary);
    margin: 1.5rem 0;
    padding-left: 2rem;
    line-height: 1.8;
}

.appeal-steps li {
    margin-bottom: 0.8rem;
}

.appeal-note {
    background: rgba(106, 76, 147, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #6a4c93;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

/* ========================================
   Acknowledgment Box
   ======================================== */

.acknowledgment-box {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(26, 26, 46, 0.95) 100%);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.4);
    text-align: center;
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 144, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.acknowledgment-box::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: pulse 6s ease-in-out infinite;
    z-index: 0;
}

.acknowledgment-box::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -125px;
    left: -125px;
    animation: pulse 8s ease-in-out infinite;
    animation-delay: 0.5s;
    z-index: 0;
}

.acknowledgment-box > * {
    position: relative;
    z-index: 1;
}

.acknowledgment-box:hover {
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 30px 60px rgba(30, 144, 255, 0.25), inset 0 1px 0 rgba(0, 255, 136, 0.2);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(26, 26, 46, 0.98) 100%);
}

.acknowledgment-box h3 {
    font-size: 2rem;
    color: #1e90ff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
    transition: all 0.4s ease;
}

.acknowledgment-box:hover h3 {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.acknowledgment-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========================================
   Responsive Design for Rules Page
   ======================================== */

@media (max-width: 768px) {
    .rules-header {
        padding: 6rem 2rem 3rem;
        margin-top: 70px;
    }

    .rules-header h1 {
        font-size: 2rem;
    }

    .rules-header p {
        font-size: 0.95rem;
    }

    .table-of-contents {
        position: relative;
        top: auto;
        margin-bottom: 2rem;
    }

    .table-of-contents ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .rule-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .rule-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rule-header h2 {
        font-size: 1.5rem;
    }

    .rule-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .acknowledgment-box {
        padding: 2rem;
    }

    .acknowledgment-box h3 {
        font-size: 1.5rem;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rules-header {
        padding: 4rem 1rem 2rem;
        min-height: 80vh;
    }

    .rules-header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .rules-header p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .rules-section {
        padding: 2rem 1rem;
    }

    .rule-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .rule-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .rule-item {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .rule-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .table-of-contents {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .table-of-contents h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* ========================================
   Ultra Mobile (320px - 479px)
   ======================================== */

@media (max-width: 320px) {
    .rules-header {
        min-height: 100vh;
        padding-top: 80px;
        padding: 4rem 0.8rem 2rem;
    }

    .rules-header h1 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .rules-header p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .table-of-contents {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .table-of-contents h3 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .table-of-contents ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .table-of-contents a {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }

    .rules-section {
        padding: 1.5rem 0.8rem;
    }

    .rule-card {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1.2rem;
        border-radius: 10px;
    }

    .rule-header h2 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .rule-item {
        padding: 0.8rem 0;
        margin-bottom: 0.6rem;
    }

    .rule-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .rule-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* ========================================
   Large Desktop (1200px+)
   ======================================== */

@media (min-width: 1200px) {
    .rules-header {
        min-height: 100vh;
        padding-top: 200px;
    }

    .rules-header h1 {
        font-size: 4rem;
    }

    .table-of-contents ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .rules-section {
        padding: 8rem 4rem;
    }

    .rule-card {
        padding: 3rem;
    }
}
