/* 공부지수 파악하기 전용 스타일 */

/* 색상 테마 - index.html과 동일한 보라색 테마 적용 */
:root {
    --primary: #6B5EFF;
    --primary-dark: #5648CC;
    --primary-light: #8B7EFF;
    --primary-lighter: #A99EFF;
    --primary-pale: #E5E0FF;
}

/* ==========================================
   히어로 섹션
   ========================================== */
.index-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E0FF 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.index-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 94, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.index-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.index-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF85D4 0%, #FFA94D 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.index-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.index-hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

.index-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.preview-gauge {
    position: relative;
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #A99EFF 0%, #8B7EFF 50%, #6B5EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gauge-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.gauge-circle {
    transform-origin: center;
    transform: rotate(-90deg);
}

.preview-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.preview-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.preview-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 24px;
}

.stat-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================
   시작 화면
   ========================================== */
.index-start {
    padding: 60px 0;
    background: var(--bg-light);
}

.start-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.start-icon {
    margin-bottom: 32px;
}

.start-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.start-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.start-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.start-features li {
    padding: 16px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFF8FB 0%, #F8F9FA 100%);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.start-features li:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, #FFE5F1 0%, #F0F4FF 100%);
}

.start-features strong {
    font-weight: 700;
    color: var(--primary);
}

.btn-start {
    background: linear-gradient(135deg, #6B5EFF 0%, #8B7EFF 100%);
    color: white;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(107, 94, 255, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(107, 94, 255, 0.4);
}

.start-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ==========================================
   테스트 진행 섹션
   ========================================== */
.index-test {
    padding: 60px 0 80px;
    background: var(--bg-light);
    min-height: 600px;
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-wrapper {
    margin-bottom: 48px;
}

.progress-bar {
    position: relative;
    height: 12px;
    background: linear-gradient(90deg, #F3F4F6 0%, #E5E7EB 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-fill {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #6B5EFF 0%, #8B7EFF 50%, #FF85D4 100%);
    border-radius: 8px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(107, 94, 255, 0.3);
    overflow: hidden;
}

.progress-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8B7EFF 0%, #6B5EFF 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.question-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.question-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: center;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-btn {
    background: white;
    border: 2px solid var(--gray-300);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.option-btn:hover {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E0FF 100%);
    transform: translateX(8px);
}

.option-btn.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E0FF 100%);
    border-width: 3px;
}

.option-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #A99EFF 0%, #8B7EFF 100%);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.option-btn.selected .option-number {
    background: linear-gradient(135deg, #8B7EFF 0%, #6B5EFF 100%);
    box-shadow: 0 4px 12px rgba(107, 94, 255, 0.4);
}

.option-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--gray-300);
}

.btn-prev:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-pale);
}

.btn-next {
    background: linear-gradient(135deg, #6B5EFF 0%, #8B7EFF 100%);
    color: white;
    border: none;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(107, 94, 255, 0.4);
}

.btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================
   로딩 화면
   ========================================== */
.index-loading {
    padding: 100px 0;
    background: var(--bg-light);
    min-height: 500px;
}

.loading-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.loading-spinner {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.loading-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.loading-subtext {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.loading-progress {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #A99EFF 0%, #8B7EFF 50%, #6B5EFF 100%);
    border-radius: 3px;
    width: 0%;
    animation: loadingProgress 3s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==========================================
   결과 섹션
   ========================================== */
.index-result {
    padding: 80px 0;
    background: white;
}

.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.result-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-secondary);
}

.result-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* 총점 표시 */
.result-score-section {
    text-align: center;
    padding: 48px 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 48px;
    position: relative;
}

.result-score-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 181, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.score-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.score-number {
    font-size: 96px;
    font-weight: 900;
    background: linear-gradient(135deg, #A99EFF 0%, #8B7EFF 50%, #6B5EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.03em;
}

.score-label {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-secondary);
}

.grade-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.grade-badge.grade-s {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.grade-badge.grade-a {
    background: linear-gradient(135deg, #8B7EFF 0%, #6B5EFF 100%);
    color: white;
}

.grade-badge.grade-b {
    background: linear-gradient(135deg, #8B7EFF 0%, #6B5EFF 100%);
    color: white;
}

.grade-badge.grade-c {
    background: linear-gradient(135deg, #85D9D0 0%, #65B9B0 100%);
    color: white;
}

.grade-badge.grade-d {
    background: linear-gradient(135deg, #A99EFF 0%, #A99EFF 100%);
    color: white;
}

.grade-icon {
    font-size: 32px;
}

.result-rank {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.result-summary {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 결과 섹션 */
.result-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.emoji {
    font-size: 28px;
}

/* 레이더 차트 */
.radar-chart-container {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #FFF8FB 0%, #F8F9FA 100%);
    border-radius: var(--radius-lg);
}

#radarChart {
    max-width: 400px;
    max-height: 400px;
}

/* 점수 분석 */
.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.score-item {
    background: linear-gradient(135deg, #FFF8FB 0%, #F8F9FA 100%);
    padding: 24px;
    border-radius: var(--radius-md);
}

.score-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.score-item-icon {
    font-size: 24px;
}

.score-item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.score-item-value {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #A99EFF 0%, #8B7EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-bar {
    height: 8px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #A99EFF 0%, #8B7EFF 50%, #6B5EFF 100%);
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-item-comment {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 결과 리스트 */
.result-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-list li {
    padding: 16px 20px;
    background: linear-gradient(135deg, #FFF8FB 0%, #F8F9FA 100%);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    border-left: 4px solid var(--primary-light);
}

.result-description {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
    padding: 20px;
    background: linear-gradient(135deg, #FFF8FB 0%, #F8F9FA 100%);
    border-radius: var(--radius-md);
}

.highlight-section {
    background: linear-gradient(135deg, #FFE5F1 0%, #F0F4FF 100%);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
}

.highlight-section .result-description {
    background: white;
}

/* 액션 버튼 */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

/* ==========================================
   프리미엄 CTA
   ========================================== */
.premium-cta-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid var(--gray-200);
}

.premium-cta-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF4D6 100%);
    border: 3px solid #FFD700;
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 48px rgba(255, 215, 0, 0.5);
    }
}

.premium-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
    position: relative;
    z-index: 1;
}

.premium-title {
    font-size: 32px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.premium-description {
    font-size: 18px;
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.premium-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    font-size: 16px;
    color: #2A2A2A;
    font-weight: 600;
}

.premium-features li svg {
    flex-shrink: 0;
}

.premium-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.price-original {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    font-weight: 600;
}

.price-arrow {
    font-size: 24px;
    color: #FFD700;
    font-weight: 700;
}

.price-current {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 18px 48px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.6);
}

.premium-note {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ==========================================
   관련 테스트
   ========================================== */
.related-tests {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.test-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.test-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.test-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.test-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================
   반응형
   ========================================== */
@media (max-width: 1024px) {
    .index-preview {
        flex-direction: column;
        gap: 40px;
    }

    .tests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .index-hero-title {
        font-size: 36px;
    }

    .index-hero-description {
        font-size: 16px;
    }

    .preview-stats {
        width: 100%;
        flex-direction: column;
    }

    .preview-stat {
        width: 100%;
    }

    .start-card {
        padding: 40px 24px;
    }

    .start-features {
        max-width: 100%;
    }

    .question-card {
        padding: 32px 24px;
    }

    .question-title {
        font-size: 22px;
    }

    .option-btn {
        padding: 16px 20px;
        flex-direction: column;
        text-align: center;
    }

    .option-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .score-number {
        font-size: 64px;
    }

    .score-label {
        font-size: 24px;
    }

    .grade-badge {
        font-size: 20px;
        padding: 10px 24px;
    }

    .result-card {
        padding: 32px 24px;
    }

    .tests-grid {
        grid-template-columns: 1fr;
    }

    .test-navigation {
        flex-direction: column-reverse;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
    }

    .premium-cta-card {
        padding: 32px 24px;
    }

    .premium-title {
        font-size: 24px;
    }

    .premium-description {
        font-size: 16px;
    }

    .premium-features {
        max-width: 100%;
    }

    .premium-features li {
        font-size: 14px;
        padding: 12px 0;
    }

    .premium-price {
        flex-wrap: wrap;
        gap: 8px;
    }

    .price-original {
        font-size: 18px;
    }

    .price-current {
        font-size: 28px;
    }

    .btn-premium {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* ==========================================
   애니메이션
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 추가 모바일 최적화 */
@media (max-width: 768px) {
    .option-btn {
        min-height: 56px;
        padding: 16px 20px;
        font-size: 15px;
    }

    #prevBtn,
    #nextBtn {
        min-height: 48px;
        padding: 14px 24px;
    }

    .question-card {
        padding: 24px 20px;
    }

    .result-card {
        padding: 24px 20px;
    }

    .share-buttons button {
        min-height: 48px;
        padding: 14px;
    }

    input, select, textarea {
        font-size: 16px !important;
    }

    .category-card {
        padding: 20px 16px;
    }

    .score-circle {
        width: 100px;
        height: 100px;
        font-size: 32px;
    }
}

@media (max-width: 375px) {
    .option-btn {
        font-size: 14px;
        padding: 14px 16px;
    }

    .question-title {
        font-size: 16px;
    }
}