.seo-franky-win4d-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 5, 20, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.seo-franky-win4d-overlay.seo-franky-win4d-show {
    opacity: 1;
    visibility: visible;
}

.seo-franky-win4d-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    padding: 28px 24px;
    background: linear-gradient(145deg, rgba(44, 16, 82, 0.96), rgba(20, 10, 40, 0.96));
    border: 1px solid rgba(255, 215, 120, 0.28);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 215, 120, 0.08) inset,
        0 0 25px rgba(168, 85, 247, 0.18);
    overflow: hidden;
    transform: translateY(30px) scale(0.96);
    transition: all 0.35s ease;
}

.seo-franky-win4d-overlay.seo-franky-win4d-show .seo-franky-win4d-box {
    transform: translateY(0) scale(1);
}

.seo-franky-win4d-box::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 215, 120, 0.30) 0%, rgba(255, 215, 120, 0) 72%);
    pointer-events: none;
}

.seo-franky-win4d-box::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(168, 85, 247, 0) 72%);
    pointer-events: none;
}

.seo-franky-win4d-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #f8e7b0;
    font-size: 22px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    z-index: 2;
}

.seo-franky-win4d-close:hover {
    background: rgba(255, 215, 120, 0.16);
    transform: rotate(90deg);
}

.seo-franky-win4d-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

.seo-franky-win4d-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2a1600;
    background: linear-gradient(135deg, #ffd76d, #ffefb0);
    box-shadow: 0 6px 18px rgba(255, 215, 120, 0.25);
}

.seo-franky-win4d-header h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff4cf;
    text-shadow: 0 2px 14px rgba(255, 215, 120, 0.16);
}

.seo-franky-win4d-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #e9dcff;
    opacity: 0.92;
}

.seo-franky-win4d-content {
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.seo-franky-win4d-highlight {
    padding: 16px 18px;
    border-radius: 16px;
    color: #fff7dd;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 120, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(255, 215, 120, 0.18);
    box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.03);
}

.seo-franky-win4d-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.seo-franky-win4d-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.seo-franky-win4d-btn-primary {
    color: #2a1600;
    background: linear-gradient(135deg, #ffd76d, #f5c84c);
    box-shadow: 0 10px 24px rgba(255, 215, 120, 0.24);
}

.seo-franky-win4d-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 215, 120, 0.30);
}

.seo-franky-win4d-btn-secondary {
    color: #f3e8ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 120, 0.14);
}

.seo-franky-win4d-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .seo-franky-win4d-box {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .seo-franky-win4d-header h2 {
        font-size: 24px;
    }

    .seo-franky-win4d-actions {
        flex-direction: column;
    }
}