.fun-page { --fun-purple: #6a4383; --fun-yellow: #fff5a5; background: #343849; }
.fun-stage {
    background-image: linear-gradient(rgba(32, 35, 45, .18), rgba(32, 35, 45, .14)), url("../images/background1.png");
    background-position: 92% center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: calc(100vh - 72px);
}
.fun-main {
    align-items: center;
    display: flex;
    gap: clamp(35px, 8vw, 110px);
    justify-content: center;
    min-height: 740px;
    padding: 85px 28px 115px;
}
.serious-note {
    background-color: #fffdf8;
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(207, 222, 233, .7) 32px);
    border: 1px solid #cfc4b6;
    box-shadow: 13px 15px 0 rgba(66, 48, 79, .22);
    color: var(--charcoal);
    max-width: 650px;
    padding: clamp(50px, 7vw, 82px);
    position: relative;
    transform: rotate(-1.3deg);
}
.fun-tape {
    background: rgba(216, 236, 168, .8);
    height: 32px;
    left: calc(50% - 58px);
    position: absolute;
    top: -16px;
    transform: rotate(3deg);
    width: 116px;
}
.serious-note h1, .ballot-heading h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 7vw, 6rem);
    letter-spacing: -.06em;
    line-height: .92;
    margin: 0 0 30px;
}
.serious-note > p:not(.tiny-label) { color: #655e59; font-size: 1.2rem; font-style: italic; line-height: 1.65; }
.tiny-doodle { color: #8ebbc3; display: block; font-family: "Courier New", monospace; font-size: 1.5rem; margin-top: 35px; transform: rotate(-12deg); }
.party-invite {
    background: var(--fun-yellow);
    box-shadow: 8px 9px 0 rgba(66, 48, 79, .25);
    color: #3c3633;
    display: flex;
    flex-direction: column;
    max-width: 300px;
    min-height: 220px;
    padding: 35px 30px;
    position: relative;
    text-decoration: none;
    transform: rotate(4deg);
    transition: box-shadow .18s ease, transform .18s ease;
}
.party-invite::before {
    background: rgba(196, 219, 226, .78);
    content: "";
    height: 22px;
    left: 34%;
    position: absolute;
    top: -11px;
    transform: rotate(-5deg);
    width: 68px;
}
.party-invite:hover { box-shadow: 3px 4px 0 rgba(255, 255, 255, .45); transform: rotate(1deg) translateY(-4px); }
.invite-kicker { color: var(--fun-purple); font-family: "Courier New", monospace; font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.party-invite strong { font-size: 2rem; line-height: 1.1; margin: 22px 0 auto; }
.party-invite small { font-family: "Courier New", monospace; font-size: .65rem; line-height: 1.4; margin-top: 28px; }
.fun-footer {
    align-items: center;
    background: #343849;
    color: white;
    display: flex;
    font-family: "Courier New", monospace;
    font-size: .68rem;
    justify-content: space-between;
    padding: 28px max(24px, calc((100vw - 1120px) / 2));
}
.fun-footer a { color: white; text-decoration: none; }
.ballot-stage { min-height: 100vh; }
.ballot-main {
    align-items: start;
    display: grid;
    gap: clamp(35px, 6vw, 80px);
    grid-template-columns: minmax(250px, 380px) minmax(420px, 680px);
    justify-content: center;
    padding: 90px 28px 110px;
}
.ballot-heading { color: var(--charcoal); padding-top: 35px; text-shadow: 0 1px 9px rgba(255, 255, 255, .62); }
.ballot-heading > p:not(.tiny-label) { font-style: italic; line-height: 1.6; }
.ballot-heading .tiny-label { color: #52346b; }
.ballot-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 35px; }
.ballot-actions a {
    background: rgba(255, 253, 248, .88);
    border: 1px solid rgba(205, 193, 181, .9);
    box-shadow: 4px 5px 0 rgba(94, 63, 112, .22);
    color: #3b343b;
    font-family: "Courier New", monospace;
    font-size: .7rem;
    font-weight: 700;
    padding: 14px 16px;
    text-decoration: none;
    transform: rotate(-.5deg);
}
.ballot-actions a:nth-child(2) { transform: rotate(.7deg); }
.ballot-paper {
    background: #fffdf8;
    border: 1px solid #cabfaf;
    box-shadow: 13px 15px 0 rgba(55, 43, 67, .22);
    padding: 16px;
    position: relative;
    transform: rotate(.7deg);
}
.ballot-paper iframe { border: 0; display: block; height: 760px; width: 100%; }
.ballot-paper p { color: #746c68; font-family: "Courier New", monospace; font-size: .62rem; margin: 13px 4px 0; }
@media (max-width: 820px) {
    .fun-main { flex-direction: column; }
    .party-invite { max-width: 440px; width: 80%; }
    .ballot-main { grid-template-columns: minmax(0, 680px); padding-top: 55px; }
    .ballot-heading { padding-top: 0; }
}
@media (max-width: 520px) {
    .serious-note { padding: 55px 30px; }
    .party-invite { width: 92%; }
    .ballot-main { padding-left: 12px; padding-right: 12px; }
    .ballot-paper { padding: 8px; transform: none; }
    .ballot-paper iframe { height: 600px; }
}
@media (prefers-reduced-motion: reduce) { .fun-page * { transition: none !important; } }
