#paasiainen-banner {
    display: none;
}

#paasiainen-banner {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 32px 20px;
    overflow-y: auto;
}

#paasiainen-banner.active {
    display: flex;
}

.paasiainen-hero {
    width: min(100%, 700px);
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.paasiainen-hero {
    animation: popupFade .25s ease;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 32px 60px;
}

.hero-svg {
    width: min(460px, 88%);
    margin-bottom: 14px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.hero-title {
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    margin: 10px 0;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-button {
    display: inline-block;
    background: #FFC283;
    color: #000 !important;
    padding: 18px 44px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    margin: 20px auto 18px;
    line-height: 1;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.hero-button:hover,
.hero-button:focus,
.hero-button:active {
    background: #DDA872;
    color: #000 !important;
    text-decoration: none;
}

.hero-image {
    display: block;
    width: min(520px, 92%);
    margin: 0 auto -54px;
    filter: drop-shadow(0 18px 24px rgba(30, 40, 120, 0.35));
}

.banner-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 99999;
    padding: 0;
}

.banner-close:hover {
    color: #cbcaca;
}

@media (max-height: 900px) {
    #paasiainen-banner {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .hero-content {
        padding: 28px 28px 0;
    }

    .hero-svg {
        width: min(580px, 82%);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero-button {
        padding: 20px 34px;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .hero-image {
        width: min(430px, 84%);
        margin-bottom: -34px;
    }
}

@media (max-width: 992px) {
    #paasiainen-banner {
        padding: 24px 16px;
    }

    .hero-content {
        padding: 28px 24px 0;
    }

    .hero-svg {
        width: min(360px, 85%);
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .hero-button {
        padding: 16px 34px;
        font-size: 15px;
    }

    .hero-image {
        width: min(430px, 88%);
        margin-bottom: -28px;
    }
}

@media (max-width: 576px) {
    #paasiainen-banner {
        align-items: flex-start;
        padding: 16px 12px;
    }

    .paasiainen-hero {
        width: 100%;
    }

    .hero-content {
        padding: 22px 16px 0;
    }

    .hero-svg {
        width: min(260px, 86%);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .hero-button {
        padding: 14px 24px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero-image {
        width: min(320px, 92%);
        margin-bottom: -18px;
    }

    .banner-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

