.rules-tab {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #2192f3, #2192f3, #78c5fd, #cbe5ff);
    border: none;
    border-radius: 50px;
    color: #EEEEEE;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.rules-content {
    display: none;
    padding: 30px;
    overflow-y: scroll;
    height: 100%;
}

.rules-content.active {
    display: block;
}

.rules-content h3 {
    font-size: 36px;
    color: #EEEEEE;
    text-align: center;
}

.rules-text {
    display: block;
    margin: 30px auto;
    color: #EEEEEE;
}

.rules-text .chapter {
    font-size: 24px;
    color: #cbe5ff;
}

.rules-text p {
    font-size: 18px;
}

.rule-section {
    margin: 30px auto;
}

@media screen and (max-width: 768px) {
    .rules-content {
        padding: 30px 0;
        overflow: hidden;
    }

    .rules-tab {
        width: 100%;
        margin: auto;
        padding: 10px;
        justify-content: center;
    }

    .rules-content h3 {
        font-size: 24px;
    }

    .rules-text {
        font-size: 18px;
    }
}