/* ====================================
   프로모션 팝업 스타일 (다크 테마)
   ==================================== */

.promotion-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.promotion-popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promotion-popup {
    position: relative;
    background: #000000;
    border: 2px solid #d4af37;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    animation: slideUp 0.4s ease;
}

.promotion-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.promotion-popup-close:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    transform: rotate(90deg);
}

.promotion-popup-content {
    padding: 50px 40px 40px;
    text-align: center;
}

.promotion-popup-header {
    margin-bottom: 30px;
}

.promotion-popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.promotion-popup-title .emoji {
    font-size: 28px;
}

.promotion-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 30px 0;
}

.promotion-badge {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #f8d56a;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.promotion-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.promotion-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #d4af37;
    transform: translateY(-2px);
}

.promotion-section.highlight {
    border: 2px solid #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.promotion-model {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promotion-model .icon {
    font-size: 24px;
}

.promotion-offer {
    font-size: 22px;
    font-weight: 700;
    color: #f8d56a;
    margin-bottom: 8px;
}

.promotion-detail {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
}

.promotion-urgent {
    display: inline-block;
    font-size: 13px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: 600;
}

.promotion-footer {
    margin-top: 30px;
}

.promotion-cta-text {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 500;
}

.promotion-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.promotion-btn {
    flex: 1;
    min-width: 140px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.promotion-btn-primary {
    background: #d4af37;
    color: #000000;
}

.promotion-btn-primary:hover {
    background: #f8d56a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.promotion-btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.promotion-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.promotion-checkbox-wrapper {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.promotion-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #cccccc;
    cursor: pointer;
    user-select: none;
}

.promotion-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d4af37;
}

.promotion-checkbox-label:hover {
    color: #ffffff;
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .promotion-popup {
        width: 95%;
        max-height: 85vh;
    }
    
    .promotion-popup-content {
        padding: 40px 25px 30px;
    }
    
    .promotion-popup-title {
        font-size: 20px;
    }
    
    .promotion-badge {
        font-size: 16px;
        padding: 6px 16px;
    }
    
    .promotion-model {
        font-size: 18px;
    }
    
    .promotion-offer {
        font-size: 20px;
    }
    
    .promotion-detail {
        font-size: 13px;
    }
    
    .promotion-buttons {
        flex-direction: column;
    }
    
    .promotion-btn {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .promotion-popup-title {
        font-size: 18px;
    }
    
    .promotion-popup-close {
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .promotion-section {
        padding: 20px 15px;
    }
}
