

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.faq-page {
    min-height: 100vh;
    background: #090d11 url("../images/backgrounds/game-background.jpg") center / cover fixed no-repeat;
    color: #ccc;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body.faq-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 17, 0.88);
    pointer-events: none;
}

.faq-shell {
    position: relative;
    max-width: 900px;
    margin: 32px auto;
    background: #090d11;
    border: 4px solid #1e3a4a;
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 25px;
    background: #101820;
}

.faq-header__logo img {
    display: block;
    height: 50px;
    width: auto;
}

.faq-voltar {
    display: inline-block;
    padding: 11px 20px;
    background: #00e5e5;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 5px 0 #09c0c0, 0 10px 0 rgba(0, 0, 0, 0.35);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.faq-voltar:hover {
    background: #5cf2f2;
}

.faq-voltar:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #09c0c0, 0 5px 0 rgba(0, 0, 0, 0.35);
}

.faq-main {
    padding: 24px 20px 28px;
}

.faq-titulo {
    margin: 0 0 16px;
    color: #fff;
    font-family: "lores-9-wide", sans-serif;
    font-size: 24px;
    font-weight: 900;
}

.faq-abas {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-regulamento {
    margin-top: 36px;
}

.regulamento {
    background: #18242e;
    padding: 28px 32px 30px;
    font-size: 13px;
    line-height: 1.65;
    clip-path: polygon(0 6px, 3px 6px, 3px 3px, 6px 3px, 6px 0,
                       calc(100% - 6px) 0, calc(100% - 6px) 3px,
                       calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px,
                       100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px),
                       calc(100% - 3px) calc(100% - 3px), calc(100% - 6px) calc(100% - 3px),
                       calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 3px),
                       3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px));
}

.regulamento p {
    margin: 0 0 10px;
}

.regulamento strong {
    color: #fff;
}

.regulamento a {
    color: #00e5e5;
    text-decoration: none;
    word-break: break-word;
}

.regulamento a:hover {
    text-decoration: underline;
}

.regulamento__titulo {
    margin: 0 0 4px;
    color: #fff;
    font-family: "lores-9-wide", sans-serif;
    font-size: 20px;
    font-weight: 900;
}

.regulamento__versao {
    color: #8fb8cc;
    font-size: 12px;
}

.regulamento__cabecalho {
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #12263f;
}

.regulamento__capitulo {
    padding-top: 18px;
}

.regulamento__capitulo h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: "lores-9-wide", sans-serif;
    font-size: 15px;
    font-weight: 900;
}

.regulamento__capnum {
    display: block;
    margin-bottom: 2px;
    color: #00e5e5;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.regulamento__par {
    padding-left: 16px;
}

.regulamento__incisos {
    margin: -4px 0 10px;
    padding-left: 44px;
    list-style: upper-roman;
}

.regulamento__incisos li {
    margin: 0 0 4px;
}

.regulamento__incisos li::marker {
    color: #8fb8cc;
}

.regulamento__rodape {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #12263f;
    color: #8fb8cc;
    font-size: 12px;
}

.faq-footer {
    padding: 16px 20px 22px;
    color: #6383ad;
    font-size: 12px;
    text-align: center;
}

.faq-footer p {
    margin: 4px 0;
}

@media (max-width: 768px) {
    .faq-shell {
        margin: 0;
        border: 0;
    }

    .faq-header {
        padding: 12px 16px;
    }

    .faq-header__logo img {
        height: 38px;
    }

    .faq-main {
        padding: 18px 12px 24px;
    }

    .regulamento {
        padding: 20px 18px 22px;
    }

    .regulamento__incisos {
        padding-left: 34px;
    }
}
