:root {
    --primary: #A8760A;
    --primary-bright: #F2B705;
    --primary-deep: #8B6508;
    --primary-tint: #FDF3D9;
    --white: #FFFFFF;
    --bg: #FDF9EF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ── card ── */
.card {
    position: relative;
    background: var(--white);
    border-radius: 32px;
    padding: 60px 72px;
    text-align: center;
    box-shadow: 0 8px 48px #A8760A18;
    max-width: 520px;
    width: 90%;
    animation: fadeUp .7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── standalone page logo (coming-soon, etc.) ── */
.card .page-logo {
    height: 72px;
    width: auto;
    margin-bottom: 8px;
    animation: fadeUp .7s .05s cubic-bezier(.22, 1, .36, 1) both;
}

/* ── big 404 ── */
.num {
    font-size: clamp(100px, 20vw, 148px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 30%, var(--primary-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -4px;
    animation: fadeUp .7s .1s cubic-bezier(.22, 1, .36, 1) both;
}

/* ── divider dot ── */
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-bright);
    margin: 18px auto;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: .6;
    }
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    animation: fadeUp .7s .2s cubic-bezier(.22, 1, .36, 1) both;
}

p {
    font-size: .95rem;
    font-weight: 300;
    color: #6b7280;
    line-height: 1.8;
    animation: fadeUp .7s .3s cubic-bezier(.22, 1, .36, 1) both;
}

/* ── button ── */
.btn {
    display: inline-block;
    margin-top: 36px;
    padding: 14px 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
    box-shadow: 0 4px 20px #A8760A44;
    animation: fadeUp .7s .4s cubic-bezier(.22, 1, .36, 1) both;
}

.btn:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px #A8760A55;
}

.btn:active {
    transform: translateY(0);
}
