/* ==========================================
   기억력 테스트 페이지 스타일
   ========================================== */

/* 색상 테마 - 초록색 테마 적용 */
:root {
    --memory-primary: #34D399;
    --memory-primary-dark: #10B981;
    --memory-primary-light: #6EE7B7;
    --memory-primary-lighter: #A7F3D0;
    --memory-primary-pale: #D1FAE5;
}

/* 히어로 섹션 */
.memory-hero {
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.memory-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.memory-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.memory-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.memory-hero .gradient-text {
    background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.memory-hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 시작 화면 */
.memory-start {
    padding: 60px 0;
    background: var(--bg-light);
}

.memory-start .start-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.memory-start .start-icon {
    margin-bottom: 32px;
}

.memory-start .start-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.memory-start .start-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.memory-start .start-features {
    list-style: none;
    text-align: left;
    max-width: 450px;
    margin: 0 auto 40px;
    padding: 0;
}

.memory-start .start-features li {
    font-size: 16px;
    color: var(--text-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.memory-start .start-features li:last-child {
    border-bottom: none;
}

.memory-start .start-features li strong {
    color: #34D399;
}

.memory-start .btn-start {
    background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(52, 211, 153, 0.3);
}

.memory-start .btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(52, 211, 153, 0.4);
}

.memory-start .start-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* 테스트 진행 섹션 */
.memory-test {
    padding: 60px 0 80px;
    background: var(--bg-light);
    min-height: 600px;
}

.memory-test .test-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 진행률 */
.memory-test .progress-wrapper {
    margin-bottom: 40px;
}

.memory-test .progress-bar {
    position: relative;
    width: 100%;
    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);
}

.memory-test .progress-fill {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #34D399 0%, #6EE7B7 50%, #10B981 100%);
    border-radius: 8px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    box-shadow: 0 2px 8px rgba(52, 211, 153, 0.3);
    overflow: hidden;
}

.memory-test .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%; }
}

/* 카테고리 배지 */
.memory-test .question-category {
    display: inline-block;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* 질문 카드 */
.memory-test .question-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    animation: fadeInUp 0.5s ease;
    text-align: center;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.memory-test .question-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 40px 0;
    text-align: center;
    line-height: 1.4;
}

.memory-test .question-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.memory-test .option-btn {
    background: var(--bg-light);
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    font-size: 16px;
}

.memory-test .option-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #34D399;
    flex-shrink: 0;
}

.memory-test .option-text {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.memory-test .option-btn:hover {
    border-color: #6EE7B7;
    background: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.memory-test .option-btn.selected {
    border-color: #34D399;
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
}

.memory-test .option-btn.selected .option-number {
    background: #34D399;
    color: white;
}

/* 네비게이션 */
.memory-test .test-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.memory-test .btn-nav {
    flex: 1;
    padding: 16px 32px;
    border: 2px solid var(--gray-300);
    background: white;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.memory-test .btn-nav:hover:not(:disabled) {
    border-color: #34D399;
    color: #34D399;
    background: #D1FAE5;
}

.memory-test .btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.memory-test .btn-next {
    border-color: #34D399;
    background: #34D399;
    color: white;
}

.memory-test .btn-next:hover:not(:disabled) {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

/* 로딩 화면 */
.memory-loading {
    padding: 100px 0;
    background: var(--bg-light);
    min-height: 500px;
}

.memory-loading .loading-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.memory-loading .loading-spinner {
    margin-bottom: 32px;
}

.memory-loading .loading-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.memory-loading .loading-subtext {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.memory-loading .loading-progress {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.memory-loading .loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #6EE7B7 0%, #34D399 100%);
    border-radius: 4px;
    width: 0%;
    animation: loadingAnimation 2s ease-in-out infinite;
}

@keyframes loadingAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* 결과 섹션 */
.memory-result {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.memory-result .result-header {
    text-align: center;
    margin-bottom: 40px;
}

.memory-result .result-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.memory-result .result-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease;
}

.memory-result .result-score-section {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 40px;
}

.memory-result .score-display {
    margin-bottom: 32px;
}

.memory-result .score-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.memory-result .score-circle svg {
    transform: rotate(-90deg);
}

.memory-result .score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.memory-result .score-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: #34D399;
    line-height: 1;
    margin-bottom: 4px;
}

.memory-result .score-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
}

.memory-result .grade-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.memory-result .grade-icon {
    font-size: 32px;
}

.memory-result .grade-text {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
}

.memory-result .result-rank {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.memory-result .result-summary {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

/* 레이더 차트 */
.radar-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

#radarChart {
    max-width: 100%;
    height: auto;
}

/* 영역별 점수 */
.memory-result .score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.memory-result .score-item {
    width: 100%;
}

.memory-result .score-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.memory-result .score-item-icon {
    font-size: 24px;
}

.memory-result .score-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.memory-result .score-item-value {
    font-size: 24px;
    font-weight: 800;
    color: #34D399;
}

.memory-result .score-bar {
    width: 100%;
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.memory-result .score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6EE7B7 0%, #34D399 100%);
    border-radius: 6px;
    transition: width 1s ease;
    width: 0%;
}

.memory-result .score-item-comment {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 기억력 유형 카드 */
.memory-type-card {
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    border: 2px solid #34D399;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.memory-type-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.memory-type-name {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 12px;
}

.memory-type-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.memory-result .result-section {
    margin-bottom: 32px;
}

.memory-result .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.memory-result .section-title .emoji {
    font-size: 28px;
}

.memory-result .result-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.memory-result .result-list {
    list-style: none;
    padding: 0;
}

.memory-result .result-list li {
    font-size: 16px;
    color: var(--text-primary);
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.6;
}

.memory-result .result-list li::before {
    content: "•";
    position: absolute;
    left: 12px;
    color: #34D399;
    font-size: 20px;
    font-weight: bold;
}

.memory-result .highlight-section {
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 2px solid #6EE7B7;
}

/* 결과 액션 버튼 */
.memory-result .result-actions {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 프리미엄 CTA 섹션 */
.memory-result .premium-cta-section {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 0;
}

.memory-result .premium-cta-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF4D6 100%);
    border: 3px solid #FFD700;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    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); }
}

.memory-result .premium-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.memory-result .premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(255, 165, 0, 0.4);
    position: relative;
    z-index: 1;
}

.memory-result .premium-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.memory-result .premium-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.memory-result .premium-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.memory-result .premium-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
}

.memory-result .premium-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.memory-result .premium-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.memory-result .price-original {
    font-size: 20px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.memory-result .price-discount {
    font-size: 36px;
    font-weight: 900;
    color: #FF6B00;
}

.memory-result .price-badge {
    background: #FF6B00;
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
}

.memory-result .btn-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(255, 165, 0, 0.4);
    text-decoration: none;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.memory-result .btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(255, 165, 0, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.memory-result .premium-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 관련 테스트 */
.related-tests {
    padding: 80px 0;
    background: white;
}

.related-tests .section-header {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.related-tests .tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-tests .test-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.related-tests .test-card:hover {
    border-color: #34D399;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.related-tests .test-icon {
    margin-bottom: 20px;
}

.related-tests .test-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.related-tests .test-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 프리미엄 테스트 카드 */
.test-card-premium {
    position: relative;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CC 100%);
    border: 2px solid #FFD700;
}

.test-card-premium:hover {
    border-color: #FFA500;
    box-shadow: 0 8px 32px rgba(255, 165, 0, 0.3);
}

.test-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

/* 반응형 디자인 - 가로 배치 최적화 */
@media (max-width: 768px) {
    .memory-hero-title {
        font-size: 32px;
    }

    .memory-hero-description {
        font-size: 15px;
    }

    .memory-start .start-card {
        padding: 32px 20px;
    }

    .memory-start .start-card h2 {
        font-size: 22px;
    }

    .memory-test .question-card {
        padding: 32px 20px;
    }

    .memory-test .question-title {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .memory-test .option-btn {
        padding: 14px 16px;
        gap: 10px;
        min-height: 52px;
    }

    .memory-test .option-number {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .memory-test .option-text {
        font-size: 14px;
    }

    .memory-result .result-card {
        padding: 32px 20px;
    }

    .memory-result .score-circle {
        width: 140px;
        height: 140px;
    }

    .memory-result .score-number {
        font-size: 32px;
    }

    .memory-result .score-label {
        font-size: 14px;
    }

    .memory-result .grade-text {
        font-size: 18px;
    }

    .memory-result .result-summary {
        font-size: 16px;
    }

    .memory-result .section-title {
        font-size: 18px;
    }

    /* 네비게이션 버튼 - 가로 배치 유지 */
    .memory-test .test-navigation {
        flex-direction: row;
        gap: 12px;
    }

    .memory-test .btn-nav {
        flex: 1;
        min-width: 0;
        padding: 14px 16px;
        font-size: 14px;
    }

    /* 결과 액션 버튼 - 가로 배치 유지 */
    .memory-result .result-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .memory-result .result-actions .btn-primary,
    .memory-result .result-actions .btn-secondary {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
        padding: 12px 16px;
        font-size: 13px;
        justify-content: center;
    }

    .memory-result .premium-cta-card {
        padding: 28px 20px;
    }

    .memory-result .premium-title {
        font-size: 22px;
    }

    .memory-result .premium-description {
        font-size: 14px;
    }

    .memory-result .premium-features li {
        font-size: 13px;
    }

    .memory-result .price-discount {
        font-size: 26px;
    }

    /* 프리미엄 버튼 - 가로 유지 */
    .memory-result .btn-premium {
        width: auto;
        min-width: 200px;
        justify-content: center;
        font-size: 15px;
        padding: 14px 28px;
    }

    .radar-chart-container {
        padding: 14px;
    }

    #radarChart {
        width: 220px !important;
        height: 220px !important;
    }

    .memory-type-card {
        padding: 20px 14px;
    }

    .memory-type-name {
        font-size: 18px;
    }

    /* 테스트 카드 그리드 - 2열 유지 */
    .related-tests .tests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .related-tests .test-card {
        padding: 24px 16px;
    }

    .related-tests .test-card h3 {
        font-size: 15px;
    }

    .related-tests .test-card p {
        font-size: 12px;
    }
}

/* 작은 모바일 (375px 이하) - 가로 배치 유지 */
@media (max-width: 375px) {
    .memory-hero-title {
        font-size: 28px;
    }

    .memory-test .option-btn {
        font-size: 13px;
        padding: 12px 14px;
        gap: 8px;
    }

    .memory-test .option-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .memory-test .question-title {
        font-size: 18px;
    }

    #radarChart {
        width: 190px !important;
        height: 190px !important;
    }

    /* 네비게이션 - 가로 유지 */
    .memory-test .test-navigation {
        gap: 8px;
    }

    .memory-test .btn-nav {
        padding: 12px 10px;
        font-size: 13px;
    }

    /* 결과 액션 버튼 - 가로 유지 */
    .memory-result .result-actions .btn-primary,
    .memory-result .result-actions .btn-secondary {
        padding: 10px 12px;
        font-size: 12px;
        min-width: 120px;
    }

    /* 테스트 그리드 - 2열 유지 */
    .related-tests .tests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .related-tests .test-card {
        padding: 16px 12px;
    }

    .related-tests .test-card h3 {
        font-size: 13px;
    }

    .related-tests .test-card p {
        font-size: 11px;
    }

    .memory-result .score-circle {
        width: 120px;
        height: 120px;
    }

    .memory-result .score-number {
        font-size: 28px;
    }
}
