/* 팝업 배너 스타일 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-banner {
    position: relative;
    width: 400px;
    height: 650px;
    background: linear-gradient(135deg, #f0e6ff 0%, #e6f3ff 50%, #fff0f5 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-banner {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    z-index: 1;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 80px 30px 30px 30px;
    box-sizing: border-box;
}

.popup-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.popup-logo::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #00d4ff, #8b5cf6);
    border-radius: 50%;
}

.popup-title {
    font-size: 28px;
    font-weight: 900;
    color: #2d1b69;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

.popup-highlight {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b9d, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
    line-height: 1;
}

.popup-number {
    font-size: 100px;
    font-weight: 900;
    color: #2d1b69;
    margin: 0 0 20px 0;
    line-height: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup-number-65 {
    background: linear-gradient(45deg, #ff6b9d, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-bottom-text {
    position: absolute;
    bottom: 90px;
    left: 30px;
    right: 30px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.popup-bottom-highlight {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b9d, #2d1b69);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.popup-decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.popup-sphere {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b9d, #8b5cf6);
    opacity: 0.1;
}

.popup-sphere-1 {
    width: 60px;
    height: 60px;
    top: 80px;
    right: 40px;
    background: linear-gradient(45deg, #00d4ff, #8b5cf6);
}

.popup-sphere-2 {
    width: 40px;
    height: 40px;
    top: 200px;
    left: 30px;
    background: linear-gradient(45deg, #ff6b9d, #00d4ff);
}

.popup-sphere-3 {
    width: 80px;
    height: 80px;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(45deg, #8b5cf6, #ff6b9d);
}

.popup-cta-button {
    position: absolute;
    bottom: 25px;
    left: 30px;
    right: 30px;
    background: linear-gradient(45deg, #ff6b9d, #8b5cf6);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.popup-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .popup-banner {
        width: 90%;
        max-width: 350px;
        height: 550px;
        margin: 0 20px;
    }
    
    .popup-content {
        padding: 30px 20px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-highlight {
        font-size: 36px;
    }
    
    .popup-number {
        font-size: 80px;
    }
    
    .popup-bottom-highlight {
        font-size: 20px;
    }
    
    .popup-bottom-text {
        bottom: 80px;
    }
    
    .popup-bottom-highlight {
        font-size: 18px;
    }
}

/* 다크모드 지원 */
[data-theme="dark"] .popup-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    height: 650px;
}

[data-theme="dark"] .popup-title {
    color: #e2e8f0;
}

[data-theme="dark"] .popup-number {
    color: #e2e8f0;
}

[data-theme="dark"] .popup-subtitle,
[data-theme="dark"] .popup-bottom-text {
    color: #94a3b8;
}

[data-theme="dark"] .popup-close {
    background: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;
}

[data-theme="dark"] .popup-close:hover {
    background: rgba(30, 41, 59, 1);
}

/* 애니메이션 효과 */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-banner {
    animation: popupFadeIn 0.4s ease-out;
}

/* 장식 요소 애니메이션 */
.popup-sphere {
    animation: float 3s ease-in-out infinite;
}

.popup-sphere-1 {
    animation-delay: 0s;
}

.popup-sphere-2 {
    animation-delay: 1s;
}

.popup-sphere-3 {
    animation-delay: 2s;
}

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