* {
    box-sizing: border-box;
}

:root {
    --cream: #FDE8D3;
    --dark: #1A0F0D;
    --darkest: #090706;
    --panel: #241614;
    --panel-light: #30201C;

    --orange: #E7834C;
    --beige: #B89379;
    --wine: #8E3B46;

    --border: #52352D;
    --border-light: #614137;
}

/* ==========================================
   BASE
========================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background: #050403;
    color: var(--cream);

    font-family: "Montserrat", sans-serif;

    overflow-x: hidden;
}

/* ==========================================
   BACKGROUND
========================================== */

.background {
    position: fixed;
    inset: -40px;

    z-index: -2;

    background-image:
        url("https://static.wikia.nocookie.net/doors-game/images/2/2e/NewHotel.png/revision/latest/scale-to-width-down/1200?cb=20241026182455");

    background-size: cover;
    background-position: center;

    filter: blur(7px);
    transform: scale(1.08);
}

.background::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(5, 3, 2, 0.72),
            rgba(5, 3, 2, 0.88)
        );
}

.background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(142, 59, 70, 0.08),
            transparent 55%
        );
}

/* ==========================================
   PAGE
========================================== */

.page {
    width: 92%;
    max-width: 900px;

    margin: 0 auto;

    padding: 50px 0 80px;
}

/* ==========================================
   TOP
========================================== */

.top {
    text-align: center;

    margin-bottom: 30px;
}

.logo {
    width: min(70%, 280px);

    display: block;

    margin: 0 auto 20px;
}

.top h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    letter-spacing: 2px;

    color: var(--cream);
}

.top p {
    margin: 10px 0 0;

    color: var(--beige);

    font-size: 14px;

    letter-spacing: 0.8px;
}

/* ==========================================
   DOCUMENT
========================================== */

.document {
    position: relative;

    background:
        linear-gradient(
            180deg,
            rgba(36, 22, 20, 0.97),
            rgba(22, 12, 10, 0.97)
        );

    border: 3px solid var(--border);

    border-radius: 15px;

    padding: 45px 50px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(253, 232, 211, 0.04);
}

/* detalhe interno */

.document::before {
    content: "";

    position: absolute;

    inset: 9px;

    border: 1px solid rgba(184, 147, 121, 0.18);

    border-radius: 9px;

    pointer-events: none;
}

/* ==========================================
   SECTIONS
========================================== */

.section {
    position: relative;

    margin-bottom: 42px;
}

.section:last-child {
    margin-bottom: 0;
}

.section h2 {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 24px;

    letter-spacing: 1px;

    color: var(--cream);
}

.section h2::before {
    content: "◆";

    display: inline-block;

    margin-right: 10px;

    color: var(--orange);

    font-size: 12px;

    vertical-align: middle;
}

.section p {
    margin: 0 0 13px;

    color: #C9AFA0;

    font-size: 14px;

    line-height: 1.8;
}

.section ul {
    margin: 12px 0 0;

    padding-left: 22px;

    color: #C9AFA0;
}

.section li {
    margin-bottom: 9px;

    line-height: 1.7;

    font-size: 14px;
}

.section strong {
    color: var(--cream);
}

/* ==========================================
   WARNING / IMPORTANT BOX
========================================== */

.notice {
    margin: 25px 0;

    padding: 18px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(142, 59, 70, 0.20),
            rgba(74, 32, 36, 0.16)
        );

    border-left: 4px solid var(--wine);

    border-radius: 8px;

    color: #D7BBAA;

    font-size: 13px;

    line-height: 1.7;
}

/* ==========================================
   DIVIDER
========================================== */

.divider {
    height: 1px;

    margin: 38px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            #614137,
            transparent
        );
}

/* ==========================================
   LINKS
========================================== */

a {
    color: var(--orange);

    text-decoration: none;

    transition:
        color 0.15s,
        opacity 0.15s;
}

a:hover {
    color: #FFB07C;

    text-decoration: underline;
}

/* ==========================================
   BACK BUTTON
========================================== */

.back-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 30px;

    padding: 12px 20px;

    background: #2C1A17;

    border: 2px solid var(--border-light);

    border-radius: 9px;

    color: var(--cream);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.15s,
        background 0.15s,
        border-color 0.15s;
}

.back-button:hover {
    transform: translateY(-2px);

    background: #3B2420;

    border-color: var(--cream);

    text-decoration: none;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    text-align: center;

    margin-top: 28px;

    color: #79645A;

    font-size: 11px;

    letter-spacing: 0.5px;

    line-height: 1.7;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .page {
        width: 94%;

        padding: 30px 0 50px;
    }

    .top {
        margin-bottom: 20px;
    }

    .logo {
        width: min(75%, 230px);
    }

    .top h1 {
        font-size: 30px;
    }

    .top p {
        font-size: 12px;
    }

    .document {
        padding: 32px 24px;

        border-width: 2px;
    }

    .section {
        margin-bottom: 32px;
    }

    .section h2 {
        font-size: 21px;
    }

    .section p,
    .section li {
        font-size: 13px;

        line-height: 1.75;
    }

    .notice {
        padding: 15px;
    }
}

/* ==========================================
   SMALL PHONES
========================================== */

@media (max-width: 400px) {

    .document {
        padding: 27px 18px;
    }

    .top h1 {
        font-size: 26px;
    }

    .section h2 {
        font-size: 19px;
    }
}