/* ==========================================================================
   GAME THÁP HÀ NỘI (TOWER OF HANOI) - MASTER COLLECTION
   ETAN Learning Platform - High Value AdSense Compatible
   ========================================================================== */

:root {
    --hanoi-primary: #0284c7;
    --hanoi-primary-dark: #0369a1;
    --hanoi-accent: #f59e0b;
    --hanoi-accent-purple: #8b5cf6;
    --hanoi-success: #10b981;
    --hanoi-danger: #ef4444;
    --hanoi-dark-bg: #0f172a;
    --hanoi-card-bg: #ffffff;
    --hanoi-border: #e2e8f0;
    --hanoi-text: #1e293b;
    --hanoi-text-muted: #64748b;
    --peg-color: #64748b;
    --peg-base-color: #334155;
}

.hanoi-container {
    max-width: 1200px;
    margin: 20px auto 60px;
    padding: 0 16px;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--hanoi-text);
}

/* ==================== HERO HEADER ==================== */
.hanoi-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 26px 32px;
    margin-bottom: 24px;
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.hanoi-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hanoi-hero-title {
    font-family: 'Baloo 2', 'Nunito', cursive, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hanoi-hero-subtitle {
    margin: 0;
    font-size: 15px;
    opacity: 0.92;
    max-width: 600px;
    line-height: 1.5;
}

.hanoi-hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stat-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 10px 16px;
    text-align: center;
    min-width: 95px;
}

.hero-stat-badge .stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

.hero-stat-badge .stat-val {
    font-size: 18px;
    font-weight: 900;
    font-family: 'Baloo 2', cursive;
    color: #facc15;
}

/* ==================== 7 MODES SELECTOR TABS ==================== */
.hanoi-modes-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.hanoi-modes-bar::-webkit-scrollbar {
    height: 6px;
}

.hanoi-modes-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.mode-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 2px solid var(--hanoi-border);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--hanoi-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.mode-tab-btn i {
    font-size: 16px;
    transition: transform 0.2s;
}

.mode-tab-btn:hover {
    border-color: #93c5fd;
    color: var(--hanoi-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.mode-tab-btn.active {
    background: linear-gradient(135deg, var(--hanoi-primary), #0284c7);
    color: #ffffff;
    border-color: var(--hanoi-primary);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.mode-tab-btn.active i {
    transform: scale(1.15);
    color: #fef08a;
}

/* ==================== MAIN GAMEPLAY LAYOUT ==================== */
.hanoi-gameplay-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
    margin-bottom: 35px;
    align-items: start;
}

/* STAGE CONTAINER */
.hanoi-stage-card {
    background: var(--hanoi-dark-bg);
    border-radius: 20px;
    padding: 24px 20px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #1e293b;
    min-height: 460px;
    justify-content: space-between;
}

/* HUD Header in Stage */
.stage-hud {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 16px;
    margin-bottom: 20px;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-val {
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    font-weight: 900;
    color: #38bdf8;
}

.hud-stars {
    color: #e2e8f0;
    font-size: 15px;
    display: flex;
    gap: 3px;
}

.hud-stars .fa-star.earned {
    color: #facc15;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

/* Status / Hint Banner */
.stage-toast {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #e0f2fe;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.stage-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==================== THE PEGS & DISKS STAGE ==================== */
.pegs-board-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    position: relative;
    padding: 30px 10px 10px;
    height: 290px;
    transition: transform 0.4s ease;
}

/* Seesaw Physics Mode */
.pegs-board-wrapper.seesaw-active {
    transform-origin: center bottom;
}

.peg-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 100%;
    max-width: 220px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    border-radius: 12px 12px 0 0;
    padding-bottom: 12px;
}

.peg-column:hover {
    background: rgba(255, 255, 255, 0.03);
}

.peg-column.target-hover {
    background: rgba(56, 189, 248, 0.08);
}

.peg-column.source-selected .peg-stem {
    background: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* Peg Stem (Thanh cọc) */
.peg-stem {
    position: absolute;
    bottom: 12px;
    width: 12px;
    height: 200px;
    background: linear-gradient(to right, #475569, #64748b 50%, #334155);
    border-radius: 6px 6px 0 0;
    z-index: 1;
    transition: all 0.3s;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.peg-label-badge {
    position: absolute;
    bottom: -8px;
    background: #1e293b;
    border: 1px solid #475569;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 10px;
    z-index: 5;
    letter-spacing: 0.5px;
}

.peg-column.source-selected .peg-label-badge {
    border-color: #38bdf8;
    color: #38bdf8;
}

/* Peg Base (Đế gỗ chung) */
.stage-base-board {
    width: 100%;
    height: 18px;
    background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
    border-radius: 9px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

/* ==================== DISKS (ĐĨA THÁP) ==================== */
.disks-stack {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    z-index: 2;
    margin-bottom: 2px;
}

.hanoi-disk {
    height: 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Baloo 2', cursive;
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    cursor: grab;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, filter 0.3s;
    margin-bottom: 1px;
    position: relative;
}

.hanoi-disk:active {
    cursor: grabbing;
}

/* Disk Gradients by Size (1 to 8) */
.disk-sz-1 { width: 55px; background: linear-gradient(135deg, #f43f5e, #e11d48); }
.disk-sz-2 { width: 75px; background: linear-gradient(135deg, #fb923c, #ea580c); }
.disk-sz-3 { width: 95px; background: linear-gradient(135deg, #facc15, #ca8a04); color: #713f12; text-shadow: none; }
.disk-sz-4 { width: 115px; background: linear-gradient(135deg, #4ade80, #16a34a); }
.disk-sz-5 { width: 135px; background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.disk-sz-6 { width: 155px; background: linear-gradient(135deg, #38bdf8, #0284c7); }
.disk-sz-7 { width: 175px; background: linear-gradient(135deg, #818cf8, #4f46e5); }
.disk-sz-8 { width: 195px; background: linear-gradient(135deg, #c084fc, #9333ea); }

/* Selected Top Disk */
.hanoi-disk.selected-top {
    transform: translateY(-24px) scale(1.04);
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.5), 0 0 15px #38bdf8;
    border: 2px solid #ffffff;
    z-index: 10;
}

/* Wrong Move Shake */
@keyframes diskShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.hanoi-disk.shake-error {
    animation: diskShake 0.4s ease;
}

/* Fog of War Mode (Đĩa dưới bị che mờ) */
.fog-mode .hanoi-disk:not(:last-child) {
    filter: brightness(0.2) blur(3px);
    color: transparent;
    text-shadow: none;
}

/* Auto Solve Animated Ghost Disk */
.ghost-disk-moving {
    position: absolute;
    pointer-events: none;
    z-index: 99;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== CONTROL SIDEBAR ==================== */
.hanoi-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hanoi-panel-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid var(--hanoi-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.panel-card-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--hanoi-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-card-title i {
    color: var(--hanoi-primary);
}

/* Disk Count Selector (Classic Mode) */
.disk-selector-group {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 12px;
}

.btn-disk-count {
    flex: 1;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 0;
    font-weight: 800;
    font-size: 13.5px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-disk-count:hover {
    border-color: #93c5fd;
    color: var(--hanoi-primary);
}

.btn-disk-count.active {
    background: var(--hanoi-primary);
    border-color: var(--hanoi-primary);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

/* Action Buttons Grid */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.game-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.game-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.game-btn:not(:disabled):hover {
    transform: translateY(-2px);
}

.btn-reset { background: #f1f5f9; color: #475569; }
.btn-reset:not(:disabled):hover { background: #e2e8f0; color: #1e293b; }

.btn-undo { background: #e0f2fe; color: #0369a1; }
.btn-undo:not(:disabled):hover { background: #bae6fd; }

.btn-hint { background: #fef3c7; color: #b45309; }
.btn-hint:not(:disabled):hover { background: #fde68a; }

.btn-autosolve {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    grid-column: span 2;
}

.btn-autosolve:not(:disabled):hover {
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
}

/* Speed Slider for Auto-Solve */
.speed-slider-wrap {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.speed-slider-wrap input[type="range"] {
    flex: 1;
    margin: 0 10px;
    accent-color: var(--hanoi-accent-purple);
}

/* ==================== ROGUELIKE RELICS INVENTORY ==================== */
.relics-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.relic-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.relic-item:hover:not(.used) {
    border-color: var(--hanoi-accent-purple);
    background: #f5f3ff;
    transform: translateY(-2px);
}

.relic-item.used {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

.relic-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    color: #1e293b;
}

.relic-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

/* ==================== WONDERS PROGRESS CARD ==================== */
.wonder-card {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1.5px solid #fde68a;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.wonder-icon-box {
    width: 46px;
    height: 46px;
    background: #f59e0b;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.wonder-info {
    flex: 1;
}

.wonder-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #78350f;
    margin-bottom: 4px;
}

.wonder-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 3px;
}

.wonder-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.wonder-meta {
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    display: flex;
    justify-content: space-between;
}

/* ==================== VICTORY CELEBRATION MODAL ==================== */
.victory-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.victory-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.victory-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 36px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.victory-modal-overlay.active .victory-card {
    transform: scale(1);
}

.victory-icon-banner {
    font-size: 54px;
    margin-bottom: 12px;
    display: inline-block;
    animation: bouncePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bouncePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.victory-title {
    font-family: 'Baloo 2', cursive;
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 6px;
}

.victory-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.victory-stars-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 32px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.victory-stars-row .fa-star.gold {
    color: #facc15;
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8));
    animation: starPulse 0.5s ease forwards;
}

@keyframes starPulse {
    0% { transform: scale(0); }
    80% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.victory-stats-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.v-stat-item .v-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
}

.v-stat-item .v-val {
    font-family: 'Baloo 2', cursive;
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
}

.victory-btn-group {
    display: flex;
    gap: 10px;
}

.victory-btn-group .game-btn {
    flex: 1;
}

/* Confetti Canvas */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

/* ==================== ARTICLE & ADSENSE HIGH VALUE CONTENT ==================== */
.article-hanoi-wrap {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px;
    border: 1px solid var(--hanoi-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 40px;
    line-height: 1.8;
    font-size: 16px;
    color: #334155;
}

.article-hanoi-wrap h2 {
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-hanoi-wrap h2 i {
    color: var(--hanoi-primary);
}

.article-hanoi-wrap h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 24px 0 12px;
}

.article-hanoi-wrap p {
    margin-bottom: 16px;
}

.article-hanoi-wrap ul, .article-hanoi-wrap ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.article-hanoi-wrap li {
    margin-bottom: 8px;
}

/* Highlight Box */
.highlight-academic-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 5px solid #22c55e;
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    margin: 20px 0;
    color: #166534;
}

.highlight-math-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #3b82f6;
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    margin: 20px 0;
    color: #1e40af;
}

/* Theory Table */
.theory-table-responsive {
    overflow-x: auto;
    margin: 22px 0;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.theory-academic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    text-align: left;
}

.theory-academic-table th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    padding: 13px 16px;
    white-space: nowrap;
}

.theory-academic-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.theory-academic-table tr:nth-child(even) {
    background: #f8fafc;
}

.theory-academic-table tr:hover {
    background: #f1f5f9;
}

/* Code Snippet Box */
.code-preview-box {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    line-height: 1.6;
    border: 1px solid #1e293b;
}

.code-preview-box .keyword { color: #f43f5e; font-weight: bold; }
.code-preview-box .func { color: #38bdf8; }
.code-preview-box .comment { color: #64748b; font-style: italic; }
.code-preview-box .param { color: #facc15; }

/* FAQ Accordion Items */
.faq-box-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.faq-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.2s;
}

.faq-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.faq-card-question {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-card-question i {
    color: var(--hanoi-accent);
}

.faq-card-answer {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */
@media (max-width: 992px) {
    .hanoi-gameplay-grid {
        grid-template-columns: 1fr;
    }

    .hanoi-hero {
        padding: 20px;
    }

    .hanoi-hero-title {
        font-size: 1.75rem;
    }

    .article-hanoi-wrap {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .hanoi-container {
        padding: 0 10px;
        margin: 12px auto 40px;
    }

    .hanoi-stage-card {
        padding: 16px 10px 12px;
        min-height: 400px;
    }

    .pegs-board-wrapper {
        height: 250px;
        padding-top: 20px;
    }

    .peg-stem {
        height: 170px;
        width: 10px;
    }

    .hanoi-disk {
        height: 24px;
        font-size: 12px;
    }

    .disk-sz-1 { width: 44px; }
    .disk-sz-2 { width: 58px; }
    .disk-sz-3 { width: 72px; }
    .disk-sz-4 { width: 86px; }
    .disk-sz-5 { width: 100px; }
    .disk-sz-6 { width: 114px; }
    .disk-sz-7 { width: 128px; }
    .disk-sz-8 { width: 142px; }

    .hero-stat-badge {
        min-width: 75px;
        padding: 8px 10px;
    }

    .hero-stat-badge .stat-val {
        font-size: 15px;
    }
}
