/* AI스타디메이트 서비스 개시 팝업 - PC용 */

/* 팝업 오버레이 */
.aiwrite-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aiwrite-popup-overlay.show {
    opacity: 1;
}

/* 팝업 컨테이너 */
.aiwrite-popup-container {
    width: 420px;
    height: 280px;
    position: relative;
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* 팝업 콘텐츠 */
.aiwrite-popup-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #5dade2);
    border-radius: 12px;
    color: white;
    position: relative;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 닫기 버튼 */
.aiwrite-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.aiwrite-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* 헤더 */
.aiwrite-popup-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.aiwrite-popup-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
    text-align: center;
}

/* 본문 */
.aiwrite-popup-body {
    margin: 16px 0;
}

.aiwrite-popup-description {
    margin: 0 0 18px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #4a1e10;
    text-align: center;
}

/* 가격 표시 */
.aiwrite-popup-price {
    margin: 0;
    text-align: center;
}

.aiwrite-popup-price-main {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.aiwrite-popup-price-original {
    font-size: 13px;
    opacity: 0.8;
    color: #ecf0f1;
}

/* 푸터 */
.aiwrite-popup-footer {
    margin-top: auto;
}

.aiwrite-popup-buttons {
    text-align: center;
    margin-bottom: 16px;
}

.aiwrite-popup-btn-primary {
    display: inline-block;
    background: #ffffff;
    color: #3498db;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aiwrite-popup-btn-primary:hover {
    background: #f8f9fa;
    color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* 옵션 영역 */
.aiwrite-popup-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.aiwrite-popup-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.aiwrite-popup-checkbox {
    margin-right: 6px;
    transform: scale(1.1);
}

.aiwrite-popup-checkbox-text {
    color: #ecf0f1;
}

.aiwrite-popup-btn-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aiwrite-popup-btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* 반응형 대응 (작은 화면용) */
@media (max-width: 480px) {
    .aiwrite-popup-container {
        width: 90%;
        max-width: 350px;
        margin: 0 20px;
    }
    
    .aiwrite-popup-content {
        padding: 20px;
    }
    
    .aiwrite-popup-header h3 {
        font-size: 16px;
    }
    
    .aiwrite-popup-price-main {
        font-size: 18px;
    }
}