/**
 * 연령 확인 모달 스타일
 */

/* 오버레이 */
.age-verification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.age-verification-overlay.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* 모달 컨테이너 */
.age-verification-modal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 245, 250, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 35px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(167, 139, 250, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
    border: 2px solid rgba(167, 139, 250, 0.3);
    text-align: center;
}

/* 아이콘 */
.age-verification-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* 타이틀 */
.age-verification-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3D384D;
    margin-bottom: 15px;
}

/* 설명 */
.age-verification-desc {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.age-verification-desc strong {
    color: #EF4444;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 체크박스 */
.age-verification-checkbox {
    margin-bottom: 30px;
}

.age-verification-checkbox label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3D384D;
    user-select: none;
}

.age-verification-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #A78BFA;
}

.age-verification-checkbox label:hover {
    color: #7C3AED;
}

/* 버튼 */
.age-verification-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.age-verify-btn,
.age-cancel-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.age-verify-btn {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.age-verify-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.age-verify-btn:active:not(:disabled) {
    transform: translateY(0);
}

.age-verify-btn:disabled {
    background: linear-gradient(135deg, #D1D5DB 0%, #9CA3AF 100%);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none;
}

.age-cancel-btn {
    background: rgba(167, 139, 250, 0.1);
    color: #7C3AED;
    border: 2px solid rgba(167, 139, 250, 0.3);
}

.age-cancel-btn:hover {
    background: rgba(167, 139, 250, 0.2);
    transform: translateY(-2px);
}

.age-cancel-btn:active {
    transform: translateY(0);
}

/* 하단 안내 */
.age-verification-notice {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin: 0;
}

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

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

/* 다크모드 대응 */
.dark .age-verification-modal {
    background: linear-gradient(135deg, rgba(42, 45, 60, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
}

.dark .age-verification-title {
    color: #F5F5F5;
}

.dark .age-verification-desc {
    color: #B8B8B8;
}

.dark .age-verification-desc strong {
    color: #FCA5A5;
}

.dark .age-verification-checkbox label {
    color: #F5F5F5;
}

.dark .age-verification-checkbox label:hover {
    color: #A78BFA;
}

.dark .age-verification-notice {
    color: #8B8B8B;
}

/* 반응형 */
@media (max-width: 480px) {
    .age-verification-modal {
        padding: 35px 25px;
    }

    .age-verification-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .age-verification-title {
        font-size: 1.5rem;
    }

    .age-verification-desc {
        font-size: 0.95rem;
    }

    .age-verification-checkbox label {
        font-size: 1rem;
    }

    .age-verify-btn,
    .age-cancel-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}
