/* KIZANA POPUP PRO - Frontend 7 Style Premium Elegan */
#kizana-popup-root {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
}
#kizana-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
#kizana-popup-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: visible;
    pointer-events: none;
}
#kizana-popup-box {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: visible;
    pointer-events: auto;
    animation: kizanaIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
}

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

/* CLOSE BUTTON FIX - OUTSIDE -14px */
#kizana-close-btn {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform 0.2s, background 0.2s;
    font-size: 16px;
    line-height: 1;
}
#kizana-close-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: #000;
}
@media (max-width: 480px) {
    #kizana-close-btn {
        top: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
    }
}

/* 7 PREMIUM STYLES */
.kizana-style-elegant-1 {
    width: 440px;
    padding: 0;
    overflow: visible !important;
}
.kizana-style-elegant-1 .kizana-content {
    padding: 28px;
}
.kizana-style-elegant-2 {
    width: 480px;
    background: linear-gradient(135deg, #fff 0%, #fdf8f3 100%) !important;
    border: 1px solid #f0e6d8;
}
.kizana-style-elegant-3 {
    width: 520px;
    background: #0f0f0f !important;
    color: #fff;
}
.kizana-style-elegant-4 {
    width: 400px;
    border-radius: 24px !important;
    background: #fff !important;
}
.kizana-style-elegant-5 {
    width: 560px;
    display: flex;
    overflow: hidden !important;
    border-radius: 20px !important;
}
.kizana-style-elegant-6 {
    width: 440px;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.6);
}
.kizana-style-elegant-7.kizana-image-only {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.kizana-image-only img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    overflow: visible;
}

.kizana-btn-action {
    display: inline-flex;
    background: #111;
    color: #fff;
    padding: 12px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
}
