/* Exam Page Specific Styles */

.exam-main {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 2rem 0;
}

.exam-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.exam-section.active {
    display: block;
}

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

.exam-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Intro */
.exam-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.exam-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.exam-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
}

.exam-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #999;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

/* Questions */
.exam-progress {
    width: 100%;
    max-width: 600px;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

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

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.question-number {
    font-weight: 700;
    color: var(--primary-color);
}

.question-category {
    font-size: 0.8rem;
    background: #eee;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: #666;
}

.question-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: left;
}

.choices-grid {
    display: grid;
    gap: 1rem;
}

.choice-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.choice-btn:hover {
    border-color: var(--primary-color);
    background: rgba(233, 30, 99, 0.05);
}

/* Result */
.result-header {
    margin-bottom: 2rem;
}

.result-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

.result-header h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 2rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.result-body {
    background: #fff9f9;
    border: 1px solid #ffebee;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.score-box {
    margin-bottom: 1.5rem;
}

.score-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.score-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.faculty-box {
    margin-bottom: 1.5rem;
}

.faculty-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.faculty-value {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 0.2rem;
}

.result-comment {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-twitter {
    background: #000;
    color: #fff;
    border: none;
}

.btn-twitter:hover {
    background: #333;
    color: #fff;
}
