

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');


/* ========================================
   XIINGZI — ORDER CONFIRMATION
   Midnight Museum / Cathedral Archive
======================================== */

:root {
    --cream: #C4C2BF;
    --background: #1C1B1D;

    --brown-dark: #252326;
    --brown: #48434A;

    --orange-light: #B8B6B3;
    --orange: #29272B;
    --orange-dark: #817966;

    --checker-dark: #29272B;
    --checker-light: #3B383D;

    --heading-font: "Cinzel", serif;
    --body-font: "Poppins", sans-serif;
}


/* ========================================
   PAGE BACKGROUND
======================================== */

body {
    position: relative;
    isolation: isolate;

    min-height: 100vh;

    margin: 0;
    padding: 0;

    overflow-x: hidden;
    overflow-y: auto;

    background-color: var(--background);

    color: var(--cream);
    font-family: var(--body-font);
}


/* ========================================
   BACKGROUND TEXTURE
======================================== */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(20, 20, 22, 0.55),
            rgba(20, 20, 22, 0.85)
        ),
        url("https://i.pinimg.com/736x/1c/99/3c/1c993c3e41c6e0cda1a21a7b701fdde6.jpg");

    background-position: center top;
    background-size: auto;
    background-repeat: repeat;

    filter: grayscale(100%);

    opacity: 1;

    pointer-events: none;
    z-index: -1;
}


/* ========================================
   CURSOR
======================================== */

body,
a,
button,
input,
textarea,
select {
    cursor:
        url("https://file.garden/Z-ADSNZG32_D6MFV/CARRD/AERIS%20%26%20AMBROSIA/ASSETS/donut%20cursor.cur"),
        auto;
}


/* ========================================
   PAGE
======================================== */

.confirmation-page {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 40px 24px 80px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    color: var(--cream);
    font-family: var(--body-font, "Poppins", sans-serif);
}


/* ========================================
   CONFIRMATION CARD
======================================== */

.confirmation-card {
    position: relative;
    isolation: isolate;

    width: min(520px, 100%);
    margin: 150px auto;

    animation: paperDrop .45s ease both;
}


/* ========================================
   HEADER
   Cathedral Archive finish
======================================== */

.confirmation-card .home-card-header {
    min-height: 90px;
    box-sizing: border-box;

    padding: 18px 42px;

    background:
        linear-gradient(
            rgba(15, 15, 17, 0.82),
            rgba(15, 15, 17, 0.82)
        ),
        url("https://i.pinimg.com/736x/33/4a/7c/334a7ce2bb7f6c2e93d2d2d5d7614004.jpg");

    background-size: cover;
    background-position: center;

    border: 1px solid #555258;
    border-radius: 4px 4px 0 0;

    display: flex;
    align-items: center;
    justify-content: center;

    filter: grayscale(100%);
}

.confirmation-card .header-title h1 {
    margin: 0;

    color: #FFFFFF;
    font-family: var(--heading-font, "Cinzel", serif);
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
}


/* ========================================
   HAMMERED NAILS
======================================== */

.confirmation-card .header-nail {
    position: absolute;
    top: 50%;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #E4E2E5 0%,
            #AAA8AB 45%,
            #555258 100%
        );

    border: 1px solid #39373B;

    box-shadow:
        inset 1px 1px 2px rgba(255,255,255,.25),
        1px 2px 3px rgba(0,0,0,.5);

    transform: translateY(-50%);
}

.confirmation-card .header-nail.left {
    left: 16px;
}

.confirmation-card .header-nail.right {
    right: 16px;
}


/* ========================================
   PAPER BODY
======================================== */

.confirmation-card .home-card-paper {
    position: relative;
    box-sizing: border-box;

    width: 100%;
    padding: 42px 36px 30px;

    background: #222124;

    border: 1px solid #555258;
    border-top: none;
    border-radius: 0 0 4px 4px;

    overflow: hidden;
}


/* PAPER TEXTURE */

.confirmation-card .home-card-paper::before {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: 0;

    opacity: .25;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 7px,
            rgba(220,220,230,.025) 8px
        );

    border-radius: inherit;
}


/* ========================================
   CONTENT
======================================== */

.confirmation-content {
    position: relative;
    z-index: 1;

    text-align: center;
}

/* ========================================
   BAKERY SEAL
======================================== */

.confirmation-decoration {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    box-sizing: border-box;

    background: #29272B;
    border: 2px solid #777477;
    border-radius: 50%;

    color: #D0CECE;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;

    box-shadow:
        0 0 12px rgba(220,220,230,.12),
        3px 4px 0 rgba(0,0,0,.2);
}


/* ========================================
   SHOP LABEL
======================================== */

.confirmation-content .eyebrow {
    margin: 0 0 10px;

    color: #AAA8AB;

    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
}


/* ========================================
   HEADLINE
======================================== */

.confirmation-title {
    margin: 0;

    color: #FFFFFF;

    font-family: var(--heading-font, "Cinzel", serif);
    font-size: clamp(2.2rem, 8vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}


/* ========================================
   CONFIRMATION MESSAGE
======================================== */

.confirmation-image {
    max-width: 230px;
}

.confirmation-message {
    margin: 14px 0 0;

    color: #D0CECE;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}


/* DECORATIVE DIVIDER */

.confirmation-divider {
    margin: 24px 0;

    color: #AAA8AB;

    font-size: .9rem;
    letter-spacing: .12em;
}


/* NOTE */

.confirmation-note {
    max-width: 350px;
    margin: 0 auto;

    color: #C4C2C7;

    font-size: .85rem;
    line-height: 1.9;
}


/* ========================================
   RETURN BUTTON
======================================== */

.return-button {
    display: inline-block;
    box-sizing: border-box;

    margin-top: 28px;
    padding: 14px 26px;

    background: #C4C2BF;
    border: 1px solid #D0CECE;
    border-radius: 4px;

    color: #1C1B1D;

    font-family: var(--body-font, "Poppins", sans-serif);
    font-size: .85rem;
    font-weight: 600;

    text-decoration: none;

    box-shadow:
        0 4px 0 rgba(0,0,0,.25);

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.return-button:hover {
    background: #FFFFFF;
    color: #171618;

    transform: translateY(-2px);

    box-shadow:
        0 6px 0 rgba(0,0,0,.2),
        0 0 12px rgba(220,220,230,.16);
}

.return-button:active {
    transform: translateY(1px);

    box-shadow:
        0 2px 0 rgba(0,0,0,.2);
}

.return-button:focus-visible {
    outline: 2px solid #AAA8AB;
    outline-offset: 4px;
}


/* ========================================
   FOOTER
======================================== */

.confirmation-content .footer-note {
    margin: 28px 0 0;
    padding-top: 18px;

    border-top: 1px dashed rgba(170,168,171,.35);

    color: #AAA8AB;

    font-size: .65rem;
    letter-spacing: .08em;
    line-height: 1.8;
}


/* ========================================
   PAPER DROP ANIMATION
======================================== */

@keyframes paperDrop {
    0% {
        opacity: 0;
        transform: translateY(-25px) rotate(-2deg);
    }

    70% {
        opacity: 1;
        transform: translateY(5px) rotate(.5deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 480px) {

    .confirmation-page {
        padding: 24px 16px 48px;
    }

    .confirmation-card {
        margin: 24px auto;
    }

    .confirmation-card .home-card-header {
        min-height: 78px;
        padding: 16px 32px;
    }

    .confirmation-card .header-nail.left {
        left: 12px;
    }

    .confirmation-card .header-nail.right {
        right: 12px;
    }

    .confirmation-card .home-card-paper {
        padding: 34px 22px 26px;
    }

    .confirmation-decoration {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }

    .confirmation-note {
        font-size: .8rem;
    }

    .return-button {
        width: 100%;
        padding: 14px 18px;
    }
}


/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {

    .confirmation-card {
        animation: none;
    }

    .return-button {
        transition: none;
    }
}
