:root {
    --bg: #f6c23a;
    --bg-soft: #ffd659;
    --purple-dark: #5b004b;
    --purple-mid: #7d1a71;
    --purple-light: #b86aa0;
    --cream: #fff4da;
    --shadow: rgba(91, 0, 75, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, var(--bg-soft), var(--bg));
    color: var(--purple-dark);
}

.shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, var(--purple-mid), var(--purple-dark));
    color: #ffea73;
    border: 6px solid var(--purple-dark);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    padding: 14px 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.topbar h1 {
    margin: 0 0 0 12px;
    font-size: clamp(1.3rem, 2vw, 2rem);
    letter-spacing: 0.03em;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffdb5c;
    border: 2px solid rgba(91,0,75,0.5);
}

.card {
    background: rgba(255, 225, 106, 0.96);
    border: 6px solid var(--purple-dark);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 16px 42px var(--shadow);
}

.hero-card { padding: 26px; }
.hero-layout {
    display: grid;
    grid-template-columns: minmax(140px, 260px) 1fr minmax(140px, 260px);
    gap: 24px;
    align-items: center;
}

.monster {
    width: 100%;
    max-width: 250px;
    justify-self: center;
    filter: drop-shadow(0 14px 16px rgba(91,0,75,0.18));
}

.centerpiece {
    text-align: center;
}

.soesje-text {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 900;
    color: var(--purple-dark);
    text-transform: uppercase;
    text-shadow: 4px 4px 0 #f9e37b;
}

.terrace-wrap {
    margin-top: 22px;
    min-height: 86px;
}

.terrace-text {
    display: inline-block;
    padding: 18px 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--purple-mid), var(--purple-dark));
    color: #ffea73;
    font-size: clamp(1.15rem, 2.5vw, 2rem);
    font-weight: 800;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,0.12);
}

.hidden { visibility: hidden; }

.button-shell, .admin-shell { max-width: 900px; }
.button-card, .admin-card {
    text-align: center;
    padding: 40px 28px 48px;
}

.minus-amount {
    font-size: clamp(2.5rem, 9vw, 5.5rem);
    line-height: 1;
    font-weight: 900;
    color: var(--purple-dark);
    text-shadow: 4px 4px 0 #f7e174;
    margin-bottom: 34px;
}

.cta-button {
    border: none;
    cursor: pointer;
    border-radius: 26px;
    padding: 22px 34px;
    min-width: 320px;
    max-width: 100%;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 900;
    color: #ffea73;
    background: linear-gradient(180deg, var(--purple-light), var(--purple-dark));
    box-shadow: 0 10px 0 rgba(91, 0, 75, 0.35), inset 0 0 0 5px rgba(255,255,255,0.15);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta-button:hover { transform: translateY(-2px); }
.cta-button:active { transform: translateY(4px); }
.cta-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.secondary-button { margin-top: 22px; }

.button-status {
    margin-top: 22px;
    min-height: 26px;
    font-weight: 700;
    font-size: 1rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: linear-gradient(180deg, rgba(125,26,113,0.18), rgba(91,0,75,0.18));
    border: 4px solid var(--purple-dark);
    border-radius: 22px;
    padding: 22px;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
}

@media (max-width: 820px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .monster {
        max-width: 170px;
    }

    .monster-left { order: 1; }
    .centerpiece { order: 2; }
    .monster-right { order: 3; }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        min-width: 100%;
    }
}
