.boost-popup[hidden] {
    display: none;
}

.boost-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.boost-popup.is-visible {
    opacity: 1;
}

.boost-popup__overlay {
    min-height: 100vh;
    background: rgba(10, 18, 40, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.boost-popup__card {
    background: #fff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    transform: translateY(8px);
    transition: transform 0.16s ease;
}

.boost-popup.is-visible .boost-popup__card {
    transform: translateY(0);
}

.boost-popup__header {
    background: #0A1228;
    padding: 28px 28px 24px;
    position: relative;
}

.boost-popup__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 166, 0, 0.15);
    border: 1px solid rgba(255, 166, 0, 0.35);
    color: #FFB800;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.boost-popup__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: 0;
}

.boost-popup__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
    line-height: 1.5;
}

.boost-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.boost-popup__close:hover,
.boost-popup__close:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    outline: none;
}

.boost-popup__body {
    padding: 24px 28px 28px;
}

.boost-popup__info {
    background: #F5F7FF;
    border-left: 3px solid #0066FF;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.boost-popup__info p {
    margin: 0;
    font-size: 14px;
    color: #1A2540;
    line-height: 1.6;
}

.boost-popup__info strong {
    color: #0A1228;
    font-weight: 600;
}

.boost-popup__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.boost-popup__detail-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #3A4560;
    line-height: 1.5;
}

.boost-popup__detail-row strong {
    color: #0A1228;
}

.boost-popup__detail-icon,
.boost-popup__badge-icon,
.boost-popup__action-icon {
    color: #0066FF;
    font-size: 17px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.boost-popup__badge-icon,
.boost-popup__action-icon {
    color: currentColor;
    margin-top: 0;
}

.boost-popup__icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.boost-popup__actions {
    display: flex;
    gap: 10px;
}

.boost-popup__button {
    flex: 1;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    border: 1.5px solid transparent;
    min-height: 46px;
}

.boost-popup__button--primary {
    background: #0066FF;
    color: #fff;
}

.boost-popup__button--primary:hover,
.boost-popup__button--primary:focus-visible {
    background: #0052CC;
    color: #fff;
    outline: none;
}

.boost-popup__button--secondary {
    background: transparent;
    color: #4A5568;
    border-color: #D1D9E6;
}

.boost-popup__button--secondary:hover,
.boost-popup__button--secondary:focus-visible {
    border-color: #0066FF;
    color: #0066FF;
    outline: none;
}

.boost-popup__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 520px) {
    .boost-popup__overlay {
        align-items: flex-start;
        padding: 18px 12px;
    }

    .boost-popup__header,
    .boost-popup__body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .boost-popup__actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boost-popup,
    .boost-popup__card {
        transition: none;
    }
}
