body.public-landing-cheer-open {
    overflow: hidden;
    overscroll-behavior: contain;
}

.public-landing-cheer-modal[hidden] {
    display: none !important;
}

.public-landing-cheer-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.public-landing-cheer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(9, 16, 31, .58);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
}

.public-landing-cheer-card {
    position: relative;
    z-index: 2;
    width: min(94vw, 570px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    text-align: center;
    opacity: 0;
    transform: translateY(18px) scale(.96);
    animation: publicLandingMerdekaIn .46s cubic-bezier(.2,.8,.2,1) forwards;
    will-change: transform, opacity;
}

.public-landing-cheer-close-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #b51118;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    transition: transform .2s ease, background .2s ease;
}

.public-landing-cheer-close-btn:hover {
    transform: rotate(90deg) scale(1.04);
    background: #fff;
}

.public-landing-cheer-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.public-landing-cheer-character {
    width: min(100%, 535px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-landing-cheer-character img {
    display: block;
    width: 100%;
    max-height: 71vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.24));
    animation: publicLandingMerdekaFloat 3.2s ease-in-out infinite;
    will-change: transform;
}

.public-landing-cheer-content {
    width: 100%;
    margin-top: -2px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: visible;
    color: #fff;
    text-align: center;
    text-shadow: 0 3px 12px rgba(0,0,0,.28);
}

.public-landing-cheer-title {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 5vw, 34px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
}

.public-landing-cheer-text {
    margin: 5px 0 14px;
    color: rgba(255,255,255,.96);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.public-landing-cheer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.public-landing-cheer-primary-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #e31b23 0%, #ff4d55 100%);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(227,27,35,.36);
    transition: transform .2s ease, box-shadow .2s ease;
}

.public-landing-cheer-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(227,27,35,.44);
}

@keyframes publicLandingMerdekaIn {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes publicLandingMerdekaFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@media (max-width: 575.98px) {
    .public-landing-cheer-modal {
        padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    }

    .public-landing-cheer-card {
        width: min(96vw, 410px);
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 20px);
    }

    .public-landing-cheer-character { width: 100%; }
    .public-landing-cheer-character img { max-height: 67vh; }

    .public-landing-cheer-close-btn {
        top: 0;
        right: 0;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .public-landing-cheer-title { font-size: clamp(22px, 7vw, 30px); }
    .public-landing-cheer-text { margin: 4px 0 12px; font-size: 13px; }
    .public-landing-cheer-primary-btn { padding: 9px 19px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .public-landing-cheer-card {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .public-landing-cheer-character img { animation: none !important; }
}
