:root {
    --primary-color: #ff9f43;
    --secondary-color: #54a0ff;
    --bg-color: #f7f1e3;
    --text-color: #2d3436;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.title {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 30px;
    line-height: 1.6;
}

.main-btn, .retry-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.main-btn:hover, .retry-btn:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
}

/* Quiz Styles */
.progress-container {
    width: 100%;
    height: 10px;
    background: #dfe6e9;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.question-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: #f1f2f6;
    border: 2px solid transparent;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    background: #dfe4ea;
    border-color: var(--primary-color);
}

/* Result Styles */
.result-title {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
}

.result-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
}

.result-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #2d3436;
}

.result-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #636e72;
}

.retry-btn {
    background-color: #636e72;
    margin-top: 20px;
}

/* Inquiry Styles */
.inquiry-link {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #b2bec3;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.inquiry-link:hover {
    color: var(--secondary-color);
}

.inquiry-form {
    text-align: left;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2d3436;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.back-btn {
    background: none;
    border: none;
    color: #636e72;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.95rem;
}

.back-btn:hover {
    color: var(--text-color);
}

.comment-section {
    margin-top: 30px;
    padding: 30px;
}
