body{
    margin: 0;
    padding: 0;
    background-color: rgb(20, 19, 19);
    color: #e6f7ff;
    font-family: "Raleway", sans-serif;
}


.rules_page{
    width: 100%;
    padding: 60px 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.rules_title{
    font-size: 50px;
    letter-spacing: 2px;
    text-align: center;
}


.rules_block{
    width: 100%;
    max-width: 1100px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;

    background-color: rgb(18, 18, 18);
    border-radius: 16px;

    box-shadow:
        0 0 18px rgba(0, 200, 255, 0.25),
        inset 0 0 18px rgba(0, 200, 255, 0.15);
}

.rules_block h2{
    font-size: 32px;
    letter-spacing: 1.5px;
}


.rules_list{
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 22px;
}

.rules_list li{
    font-size: 16px;
    line-height: 1.6;
    color: #cfefff;
}


.rules_warning{
    margin-top: 15px;
    padding: 15px 20px;
    background-color: rgba(255, 80, 80, 0.1);
    border-left: 4px solid rgb(255, 80, 80);
    color: #ffdede;
    font-size: 15px;
}

.footer{
    width: 100%;
    margin-top: 120px;
    background-color: rgb(16, 15, 15);
    box-shadow: 0 -5px 20px rgba(0, 183, 255, 0.25);
}

.footer_container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;

    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer_block{
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 220px;
}

.footer_block h3{
    color: #e6f7ff;
    font-size: 22px;
    letter-spacing: 1.5px;
}

.footer_block p{
    color: #b8dce8;
    font-size: 15px;
    line-height: 1.6;
}

.footer_block a{
    color: #dff6ff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer_block a:hover{
    color: rgb(246, 210, 142);
    transform: translateX(4px);
}

.footer_bottom{
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    color: #9fbfcc;
    border-top: 1px solid rgba(0, 200, 255, 0.2);
}



@media (max-width: 1024px){
    .rules_block{
        padding: 30px;
    }
}

@media (max-width: 640px){
    .rules_title{
        font-size: 30px;
    }

    .rules_block h2{
        font-size: 24px;
    }

    .rules_list li{
        font-size: 15px;
    }
}
