/* ==========================================
   DOORDLE — PRIVACY POLICY
   ========================================== */

* {
    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;

    --green: #345A3A;
    --green-border: #6F9972;

    --yellow: #63532A;
    --yellow-border: #A38B4A;
}


/* ==========================================
   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;
}


/* ==========================================
   HEADER
   ========================================== */

.top {
    text-align: center;

    margin-bottom: 30px;
}

.logo {
    display: block;

    width: min(70%, 280px);

    height: auto;

    margin: 0 auto 20px;
}

.top h1 {
    margin: 0;

    color: var(--cream);

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

    font-size: 38px;

    letter-spacing: 2px;
}

.top p {
    margin: 10px 0 0;

    color: var(--beige);

    font-size: 14px;

    letter-spacing: 0.8px;
}


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

.document {
    position: relative;

    padding: 45px 50px;

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

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

    border-radius: 15px;

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


/* ==========================================
   INNER BORDER
   ========================================== */

.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-of-type {
    margin-bottom: 0;
}


/* ==========================================
   HEADINGS
   ========================================== */

.section h2 {
    margin: 0 0 15px;

    color: var(--cream);

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

    font-size: 24px;

    letter-spacing: 1px;
}

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

    display: inline-block;

    margin-right: 10px;

    color: var(--orange);

    font-size: 12px;

    vertical-align: middle;
}


/* ==========================================
   TEXT
   ========================================== */

.section p {
    margin: 0 0 13px;

    color: #C9AFA0;

    font-size: 14px;

    line-height: 1.8;
}

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


/* ==========================================
   LISTS
   ========================================== */

.section ul {
    margin: 12px 0 0;

    padding-left: 22px;

    color: #C9AFA0;
}

.section li {
    margin-bottom: 9px;

    line-height: 1.7;

    font-size: 14px;
}

.section li::marker {
    color: var(--orange);
}


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

.divider {
    height: 1px;

    margin: 38px 0;

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


/* ==========================================
   PRIVACY CARD
   ========================================== */

.privacy-card {
    margin: 25px 0;

    padding: 18px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(52, 90, 58, 0.22),
            rgba(41, 74, 49, 0.12)
        );

    border: 2px solid rgba(111, 153, 114, 0.55);

    border-radius: 10px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.privacy-card strong {
    display: block;

    margin-bottom: 7px;

    color: #A8C9AA;

    font-size: 14px;
}

.privacy-card p {
    margin: 0;

    color: #B9C7B8;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================
   IMPORTANT NOTICE
   ========================================== */

.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;
}

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


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

.document a:not(.back-button) {
    color: #E3A47E;

    text-decoration: none;

    border-bottom: 1px solid rgba(227, 164, 126, 0.35);

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

.document a:not(.back-button):hover {
    color: var(--cream);

    border-color: var(--cream);
}


/* ==========================================
   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;
}

.back-button:active {
    transform: scale(0.97);
}


/* ==========================================
   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;
    }

    .privacy-card,
    .notice {
        padding: 15px;
    }

    .back-button {
        width: 100%;

        text-align: center;
    }
}


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

@media (max-width: 400px) {

    .document {
        padding: 27px 18px;
    }

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

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