/**
 * 연애 궁합 설문조사 스타일시트
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

.section-title {
    color: #764ba2;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.question-container {
    margin-bottom: 30px;
}

.question-number {
    color: #764ba2;
    font-weight: 600;
    margin-bottom: 10px;
}

.question-text {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.option:hover {
    background: #ede7f6;
    border-color: #764ba2;
    transform: translateX(5px);
}

.option.selected {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-color: #764ba2;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #e0e0e0;
    color: #666;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.consent-box {
    background: #f8f9ff;
    border: 1px solid rgba(118, 75, 162, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    color: #444;
    line-height: 1.7;
}

.consent-box h2 {
    font-size: 18px;
    color: #4c4c4c;
    margin-bottom: 12px;
    text-align: center;
}

.consent-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.consent-check input {
    width: 18px;
    height: 18px;
}

.guideline-box {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #444;
}

.guideline-box h2 {
    font-size: 17px;
    color: #764ba2;
    margin-bottom: 12px;
    text-align: center;
}

.guideline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.complete-message {
    text-align: center;
    padding: 40px;
}

.complete-message h2 {
    color: #27ae60;
    margin-bottom: 20px;
}

.complete-message p {
    color: #666;
    margin-bottom: 30px;
}

/* 저작권 문구 */
.copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* 모바일 반응형 */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 20px;
    }

    .question-text {
        font-size: 16px;
    }

    .option {
        padding: 12px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .navigation {
        flex-direction: column;
        gap: 10px;
    }

    .copyright {
        font-size: 11px;
        padding: 15px 0;
        margin-top: 20px;
    }
}
