/* Extracted legacy CSS from modules/tos.php. Theme overrides load after this file. */

.bw-tos-shell{
    max-width: 860px;
    margin: 0 auto 30px;
    padding: 18px 18px 26px;
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.96) 0%, rgba(11, 20, 40, 0.93) 100%);
    border: 1px solid rgba(115, 181, 232, 0.20);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 140, 40, 0.05);
    backdrop-filter: blur(4px);
}

.bw-tos-shell .page-title{
    margin: 0 0 16px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    text-align: center;
}

.bw-tos-shell .page-title span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 30px;
    color: var(--bw-gold);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(92, 170, 229, 0.22);
    background: linear-gradient(180deg, rgba(14, 31, 63, 0.82) 0%, rgba(9, 14, 26, 0.96) 100%);
    border: 1px solid rgba(130, 189, 235, 0.26);
    border-radius: var(--bw-radius);
    box-shadow: inset 0 0 0 1px rgba(162, 206, 240, 0.06);
}



.tos_list{
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: bwTosCounter;
}

.tos_list li{
    position: relative;
    margin-bottom: 16px;
    padding: 22px 22px 22px 84px;
    background: linear-gradient(180deg, rgba(7, 9, 16, 0.95) 0%, rgba(11, 18, 34, 0.88) 100%);
    border: 1px solid rgba(115, 181, 232, 0.16);
    border-radius: var(--bw-radius);
    box-shadow: inset 0 0 0 1px rgba(255, 140, 40, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tos_list li:hover{
    border-color: rgba(132, 190, 235, 0.28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(141, 195, 236, 0.05);
}

.tos_list li:last-child{
    margin-bottom: 0;
}

.tos_list li::before{
    content: counter(bwTosCounter, decimal-leading-zero);
    counter-increment: bwTosCounter;
    position: absolute;
    top: 22px;
    left: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a120d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: var(--bw-radius);
    background: linear-gradient(180deg, var(--bw-gold-bright) 0%, var(--bw-gold-dim) 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.tos_list li strong{
    display: block;
    margin: 0 0 12px;
    color: var(--bw-gold);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tos_list li strong + br{
    display: none;
}

.tos_list li p{
    margin: 0 0 12px;
    color: rgba(223, 236, 246, 0.84);
    font-size: 14px;
    line-height: 1.8;
}

.tos_list li p:last-child{
    margin-bottom: 0;
}

.tos_list a{
    color: var(--bw-gold);
}

.tos_list a:hover{
    color: var(--bw-gold-bright);
}

@media (max-width: 768px){
    .bw-tos-shell{
        padding: 14px;
    }

    .bw-tos-shell .page-title span{
        width: 100%;
        font-size: 22px;
        letter-spacing: 1px;
        padding: 12px 18px;
    }

    .tos_list li{
        padding: 18px 16px 18px 16px;
    }

    .tos_list li::before{
        position: static;
        margin-bottom: 12px;
    }

    .tos_list li strong{
        font-size: 17px;
    }
}
