/* ==========================================================================
   games.nlink.kr - nlink Brain Gym (두뇌 활력소) CSS
   40대 후반 & 전 연령 친화적 고대비, 대형 터치, 피로도 제로 스타일링
   ========================================================================== */

:root {
    --bg-main: #0a0f1d;
    --bg-card: #151e33;
    --bg-card-hover: #1e2b48;
    --bg-inner: #0f172a;
    --border-color: #273553;
    --border-highlight: #3b82f6;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --color-memory: #10b981;    /* 에메랄드 그린 */
    --color-attention: #f59e0b; /* 앰버 오렌지 */
    --color-spatial: #8b5cf6;   /* 바이올렛 */
    --color-verbal: #06b6d4;    /* 스카이 시안 */

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-main: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 상단 글로벌 헤더 */
.global-header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 28px;
    line-height: 1;
}

.brand-text h1 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-text h1 .highlight {
    color: #38bdf8;
}

.brand-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
}

.header-controls {
    display: flex;
    gap: 10px;
}

.btn-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
}

.btn-toggle.muted {
    opacity: 0.6;
}

/* 메인 뷰 컨테이너 */
.main-wrapper {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px 60px;
    flex: 1;
}

/* 대시보드 - 데일리 브레인 카드 */
.daily-hero-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-main);
    margin-bottom: 32px;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-pill {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.stat-pill-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.stat-pill-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.stat-pill-value.flame {
    color: #f97316;
}

.stat-pill-value.point {
    color: #38bdf8;
}

/* 4대 영역 밸런스 바 */
.area-balance-container {
    background: rgba(10, 15, 29, 0.6);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.area-balance-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

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

.balance-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.balance-bar-bg {
    background: #1e293b;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.balance-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-fill-memory { background: var(--color-memory); }
.bar-fill-attention { background: var(--color-attention); }
.bar-fill-spatial { background: var(--color-spatial); }
.bar-fill-verbal { background: var(--color-verbal); }

.daily-course-btn-wrapper {
    text-align: center;
}

.btn-hero-course {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    padding: 18px 36px;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 440px;
}

.btn-hero-course:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6);
}

.btn-hero-course:active {
    transform: translateY(1px);
}

/* 게임 라이브러리 섹션 */
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: var(--shadow-main);
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.game-card-icon {
    font-size: 38px;
    width: 64px;
    height: 64px;
    background: var(--bg-inner);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card-meta h3 {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.game-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.tag-memory { background: rgba(16, 185, 129, 0.2); color: var(--color-memory); }
.tag-attention { background: rgba(245, 158, 11, 0.2); color: var(--color-attention); }
.tag-spatial { background: rgba(139, 92, 246, 0.2); color: var(--color-spatial); }
.tag-verbal { background: rgba(6, 182, 212, 0.2); color: var(--color-verbal); }

.game-card-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.game-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-best-record {
    font-size: 14px;
    color: #38bdf8;
    font-weight: 600;
}

.btn-play-mini {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
}

/* ==========================================================================
   게임 플레이 뷰 공통 스타일
   ========================================================================== */
#view-game-play {
    display: none;
}

.game-play-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-back {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: var(--bg-card-hover);
}

.game-canvas-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-main);
    min-height: 480px;
}

.game-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.game-badge {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.game-status-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}

.status-item strong {
    color: #38bdf8;
    font-size: 20px;
}

.status-item strong.combo-text {
    color: #f97316;
}

.btn-hint {
    background: #334155;
    border: 1px solid #475569;
    color: #f1f5f9;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.btn-hint:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   1. 장바구니 쏙쏙 (Market Memo)
   ========================================================================== */
.memo-card {
    text-align: center;
    padding: 20px;
}

.memo-title h3 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.memo-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.target-items-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 30px;
}

.target-item-badge {
    background: var(--bg-inner);
    border: 2px solid var(--color-memory);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 110px;
}

.target-icon {
    font-size: 48px;
}

.target-name {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.timer-bar-container {
    width: 100%;
    max-width: 480px;
    height: 14px;
    background: #1e293b;
    border-radius: 999px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.timer-bar {
    width: 100%;
    height: 100%;
    background: var(--color-memory);
    border-radius: 999px;
}

.timer-text {
    font-size: 20px;
    font-weight: 800;
    color: #38bdf8;
}

/* 마켓 담기 뷰 */
.cart-container {
    background: var(--bg-inner);
    border: 2px dashed #475569;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 28px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #38bdf8;
}

.cart-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 56px;
    align-items: center;
}

.cart-empty-text {
    color: var(--text-muted);
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.cart-item-chip {
    background: #1e293b;
    border: 1px solid var(--color-memory);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: popIn 0.25s ease-out;
}

.btn-remove-chip {
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shelf-title {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.shelf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.shelf-item-btn {
    background: var(--bg-inner);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.shelf-item-btn:hover {
    background: var(--bg-card-hover);
    border-color: #60a5fa;
    transform: translateY(-2px);
}

.shelf-item-btn.selected {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--color-memory);
}

.shelf-item-icon {
    font-size: 38px;
}

.shelf-item-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   2. 컬러 탭탭 (Stroop Challenge)
   ========================================================================== */
.stroop-progress-bar {
    background: #1e293b;
    height: 8px;
    border-radius: 999px;
    margin-bottom: 24px;
    overflow: hidden;
}

.stroop-progress-fill {
    background: #3b82f6;
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.stroop-instruction-card {
    text-align: center;
    margin-bottom: 24px;
}

.rule-badge {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 800;
}

.rule-badge.badge-color {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid #ef4444;
}

.rule-badge.badge-text {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid #3b82f6;
}

.stroop-display-area {
    background: var(--bg-inner);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.stroop-word {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 2px;
    user-select: none;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.stroop-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.btn-color-choice {
    border: none;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    cursor: pointer;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, filter 0.1s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-color-choice:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}

/* ==========================================================================
   3. 카드 짝맞추기 (Memory Flip)
   ========================================================================== */
.memory-board {
    display: grid;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto 24px;
    perspective: 1000px;
}

.memory-board.grid-3x4 {
    grid-template-columns: repeat(4, 1fr);
}

.memory-board.grid-4x4 {
    grid-template-columns: repeat(4, 1fr);
}

.memory-card {
    aspect-ratio: 1 / 1.15;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.memory-card.flipped .card-inner,
.memory-card.matched .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.card-front {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-pattern {
    font-size: 32px;
    opacity: 0.6;
}

.card-back {
    background: #1e293b;
    border-color: var(--color-spatial);
    transform: rotateY(180deg);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.card-icon {
    font-size: 42px;
}

.memory-card.matched .card-back {
    background: rgba(139, 92, 246, 0.25);
    border-color: #a78bfa;
}

.memory-diff-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.btn-chip {
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.btn-chip.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    font-weight: 700;
}

/* ==========================================================================
   4. 초성 팡팡 (Word Quiz)
   ========================================================================== */
.word-quiz-card {
    background: var(--bg-inner);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 24px;
}

.word-category-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.15);
    color: #67e8f9;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.chosung-display {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 10px;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.word-hint-box {
    font-size: 19px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

.hint-label {
    color: #38bdf8;
    font-weight: 700;
}

.word-choices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.btn-word-choice {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-word-choice:hover {
    background: var(--bg-card-hover);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.btn-word-choice:active {
    transform: scale(0.97);
}

/* ==========================================================================
   공통 모달 및 결과 화면
   ========================================================================== */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.game-modal-card {
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-main);
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

.game-modal-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.game-modal-card p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.word-modal-ans-box {
    background: var(--bg-inner);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.modal-chosung {
    font-size: 24px;
    font-weight: 800;
    color: #94a3b8;
}

.modal-ans-text {
    font-size: 26px;
    font-weight: 900;
    color: #38bdf8;
}

.modal-btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 최종 결과 카드 */
.game-result-card {
    text-align: center;
    padding: 30px 10px;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.game-result-card h2 {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.result-stats-box {
    background: var(--bg-inner);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    border: 1px solid var(--border-color);
}

.result-stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-stat-item .label {
    font-size: 14px;
    color: var(--text-muted);
}

.result-stat-item .val {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.result-stat-item .val.highlight {
    color: #38bdf8;
}

.result-stat-item .val.bp {
    color: #10b981;
}

/* 범용 버튼 */
.btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #334155;
    color: #f1f5f9;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-success {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.btn-success:hover {
    background: #059669;
}

.btn-large {
    padding: 18px 36px;
    font-size: 20px;
}

.action-buttons-center {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* 푸터 */
.global-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.global-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* 애니메이션 */
@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes modalPop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* 모바일 화면 최적화 */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
    .header-container {
        padding: 12px 16px;
    }
    .brand-text h1 {
        font-size: 19px;
    }
    .main-wrapper {
        padding: 16px 14px 60px;
    }
    .daily-hero-card {
        padding: 20px 16px;
    }
    .hero-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .stat-pill {
        padding: 10px 4px;
    }
    .stat-pill-label {
        font-size: 12px;
    }
    .stat-pill-value {
        font-size: 20px;
    }
    .stroop-word {
        font-size: 52px;
    }
    .btn-color-choice {
        font-size: 22px;
        height: 72px;
    }
    .chosung-display {
        font-size: 46px;
        letter-spacing: 6px;
    }
    .btn-word-choice {
        font-size: 18px;
        height: 64px;
    }
    .game-canvas-box {
        padding: 18px 12px;
    }
}
