* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #1a3a1a url('assets/bg_chalkboard.jpg') center/cover no-repeat;
    color: white;
    height: 100vh;
    overflow: hidden;
    position: relative;
    user-select: none;
}

/* Subtle dark overlay for readability */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    pointer-events: none;
}

/* Canvas for particles */
.output_canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
}

/* Balloon Layer */
#balloon-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    pointer-events: none;
    overflow: hidden;
}

/* Individual balloon */
.balloon-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    will-change: left, top;
    transition: none;
}

.balloon-body {
    position: relative;
    width: 100px;
    height: 130px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset -15px -10px 30px rgba(0, 0, 0, 0.25),
        inset 10px 10px 20px rgba(255, 255, 255, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Balloon shine effect */
.balloon-body::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    top: 15%;
    left: 20%;
    border-radius: 50%;
    transform: rotate(-30deg);
}

/* Balloon knot */
.balloon-body::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: inherit;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    filter: brightness(0.8);
}

/* Number on balloon */
.balloon-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
    line-height: 1;
}

/* Balloon string */
.balloon-string {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    border-radius: 1px;
}

/* Balloon colors */
.balloon-red .balloon-body { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.balloon-blue .balloon-body { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.balloon-green .balloon-body { background: linear-gradient(135deg, #55efc4, #00b894); }
.balloon-yellow .balloon-body { background: linear-gradient(135deg, #ffeaa7, #fdcb6e); }
.balloon-purple .balloon-body { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.balloon-orange .balloon-body { background: linear-gradient(135deg, #fab1a0, #e17055); }
.balloon-pink .balloon-body { background: linear-gradient(135deg, #fd79a8, #e84393); }
.balloon-cyan .balloon-body { background: linear-gradient(135deg, #81ecec, #00cec9); }

/* Balloon hover sway animation — only on the inner body, not the container */
@keyframes sway {
    0%, 100% { transform: rotate(-3deg) scale(1); }
    50% { transform: rotate(3deg) scale(1.02); }
}

.balloon-body {
    animation: sway 2s ease-in-out infinite;
}

/* Pop animation */
@keyframes balloonPop {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

.balloon-pop {
    animation: balloonPop 0.3s ease-out forwards;
}

/* ==========================================
   CENTER PANEL (Süre + Soru yan yana)
   ========================================== */
.center-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

/* ==========================================
   QUESTION BAR (header içinde)
   ========================================== */
#question-bar {
    display: none;
    padding: 0.9rem 2.5rem;
}

#question-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

/* ==========================================
   UI LAYER (HUD)
   ========================================== */
.ui-layer {
    position: relative;
    z-index: 50;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 3rem;
}

.left-panel,
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.right-panel {
    align-items: flex-end;
}

.glass-panel {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.score-panel,
.level-panel,
.streak-panel {
    text-align: center;
    min-width: 120px;
}

.score-panel .label,
.level-panel .label,
.streak-panel .label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #a78bfa;
    margin-bottom: 0.5rem;
}

.score-panel .value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.score-panel .value.bump {
    transform: scale(1.3);
    color: #34d399;
}

.level-panel .value {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.streak-panel .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f472b6;
    text-shadow: 0 0 15px rgba(244, 114, 182, 0.5);
}

.status-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    transition: all 0.3s ease;
}

.status-indicator.active {
    background-color: #22c55e;
    box-shadow: 0 0 15px #22c55e, 0 0 30px #22c55e;
}

#statusText {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================
   CROSSHAIR
   ========================================== */
#crosshair {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: none;
    pointer-events: none;
    z-index: 100;
    transition: width 0.1s, height 0.1s, border-color 0.1s;
}

#crosshair .dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #38bdf8;
    transition: background 0.1s, box-shadow 0.1s;
}

#crosshair .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#crosshair::before,
#crosshair::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
}

#crosshair::before {
    top: 50%;
    left: -10px;
    width: 80px;
    height: 1px;
    transform: translateY(-50%);
}

#crosshair::after {
    left: 50%;
    top: -10px;
    height: 80px;
    width: 1px;
    transform: translateX(-50%);
}

#crosshair.firing {
    width: 40px;
    height: 40px;
    border-color: #fca5a5;
}

#crosshair.firing .dot {
    background: #ef4444;
    box-shadow: 0 0 20px #ef4444;
    transform: translate(-50%, -50%) scale(1.5);
}

/* ==========================================
   FLOATING SCORE
   ========================================== */
.floating-score {
    position: absolute;
    font-weight: 800;
    font-size: 28px;
    pointer-events: none;
    z-index: 60;
    animation: floatUpAndFade 1s ease-out forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.floating-score.correct { color: #34d399; }
.floating-score.wrong { color: #f87171; }

@keyframes floatUpAndFade {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.3); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.9); }
}

/* Screen shake */
@keyframes screenShake {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-10px, 5px); }
    40% { transform: translate(10px, -5px); }
    60% { transform: translate(-10px, -5px); }
    80% { transform: translate(10px, 5px); }
    100% { transform: translate(0, 0); }
}

.shake {
    animation: screenShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Correct answer flash */
@keyframes correctFlash {
    0% { box-shadow: inset 0 0 0 rgba(52, 211, 153, 0); }
    50% { box-shadow: inset 0 0 100px rgba(52, 211, 153, 0.15); }
    100% { box-shadow: inset 0 0 0 rgba(52, 211, 153, 0); }
}

.correct-flash {
    animation: correctFlash 0.6s ease-out;
}

/* ==========================================
   MODALS
   ========================================== */
.game-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 4, 20, 0.88);
    transition: opacity 0.4s ease;
}

.game-modal.hidden {
    display: none;
}

.modal-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem 4rem;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.modal-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff 30%, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* Score Rules */
.score-rules {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
    text-align: left;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-icon { font-size: 1.1rem; }

.rule-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.rule-points { font-weight: 800; font-size: 1rem; }
.rule-item.hit .rule-points { color: #34d399; }
.rule-item.miss .rule-points { color: #f87171; }
.rule-item.escape .rule-points { color: #fbbf24; }
.rule-item.time .rule-points { color: #60a5fa; }

/* Stats Grid (End Modal) */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1rem;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #a78bfa;
    margin-bottom: 0.4rem;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

/* ==========================================
   DIFFICULTY SELECTOR
   ========================================== */

/* ==========================================
   KALİBRASYON
   ========================================== */
.calib-content {
    max-width: 480px;
}

.calib-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.2rem 0 1rem;
}

.calib-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.3;
    transition: opacity 0.4s, transform 0.4s;
}

.calib-step.active {
    opacity: 1;
    transform: scale(1.1);
}

.calib-step.done {
    opacity: 0.6;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.calib-step.active .step-num {
    background: rgba(167,139,250,0.4);
    border-color: #a78bfa;
    box-shadow: 0 0 15px rgba(167,139,250,0.5);
}

.calib-step.done .step-num {
    background: rgba(52,211,153,0.3);
    border-color: #34d399;
}

.calib-step span {
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

.calib-step-divider {
    color: rgba(255,255,255,0.2);
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

.calib-progress-wrap {
    width: 100%;
    height: 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.calib-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 7px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    transition: width 0.1s linear, background 0.3s;
}

.calib-progress-bar.step2 {
    background: linear-gradient(90deg, #e17055, #f87171);
}

.calib-progress-bar.done {
    background: linear-gradient(90deg, #00b894, #34d399);
    width: 100% !important;
}

.calib-progress-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    min-height: 1.2rem;
}

/* Sonuç kutuları */
.calib-result-grid {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.calib-result-box {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.calib-result-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
}

.calib-result-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

/* Büyük el ikonu animasyonu */
@keyframes handPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.calib-content .modal-icon {
    animation: handPulse 1.2s ease-in-out infinite;
}

/* ==========================================
   DIFFICULTY SELECTOR
   ========================================== */
.difficulty-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-bottom: 0.6rem;
    margin-top: 0.2rem;
}

.difficulty-selector {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.diff-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.diff-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
}

.diff-check {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.85rem;
    opacity: 0.3;
    transition: all 0.2s;
}

.diff-icon { font-size: 1.5rem; }

.diff-name {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.diff-desc {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    line-height: 1.3;
}

/* KOLAY seçili */
.diff-btn[data-diff="easy"].selected {
    background: rgba(52, 211, 153, 0.18);
    border-color: #34d399;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}
.diff-btn[data-diff="easy"].selected .diff-check {
    opacity: 1;
    color: #34d399;
    content: '✅';
}
.diff-btn[data-diff="easy"].selected .diff-name { color: #34d399; }

/* ORTA seçili */
.diff-btn[data-diff="medium"].selected {
    background: rgba(251, 191, 36, 0.18);
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}
.diff-btn[data-diff="medium"].selected .diff-check {
    opacity: 1;
    color: #fbbf24;
}
.diff-btn[data-diff="medium"].selected .diff-name { color: #fbbf24; }

/* ZOR seçili */
.diff-btn[data-diff="hard"].selected {
    background: rgba(248, 113, 113, 0.18);
    border-color: #f87171;
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
}
.diff-btn[data-diff="hard"].selected .diff-check {
    opacity: 1;
    color: #f87171;
}
.diff-btn[data-diff="hard"].selected .diff-name { color: #f87171; }

/* Crosshair hover efekti */
.diff-btn.hovered {
    transform: scale(1.04);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   ACTION BUTTON
   ========================================== */
/* Action Button */
.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
}

.action-btn.hovered {
    transform: scale(1.05);
    filter: brightness(1.3);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.9), 0 0 60px rgba(124, 58, 237, 0.4);
}

.action-btn.disabled,
.action-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(0.5);
    box-shadow: none;
    transform: none !important;
}

.btn-crosshair { font-size: 1.4rem; opacity: 0.8; }

.btn-hint {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
}

.privacy-notice {
    margin-top: 1.2rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* ==========================================
   TIMER
   ========================================== */
.timer-panel {
    text-align: center;
    min-width: 130px;
}

.timer-panel .label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.timer-value {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s, text-shadow 0.3s;
    display: block;
}

.timer-value.urgent {
    color: #f87171;
    text-shadow: 0 0 24px rgba(248, 113, 113, 0.9);
    animation: heartbeat 0.75s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Level Up Animation */
@keyframes levelUp {
    0% { transform: scale(1); color: #fbbf24; }
    50% { transform: scale(1.5); color: #f59e0b; text-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
    100% { transform: scale(1); color: #fbbf24; }
}

.level-up {
    animation: levelUp 0.6s ease-out;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    header {
        padding: 3.5rem 0.5rem 0.5rem 0.5rem;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.4rem;
        align-items: stretch;
        justify-content: space-between;
    }

    .left-panel,
    .right-panel {
        display: contents;
    }

    .glass-panel {
        padding: 0.4rem 0.2rem;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 0;
        flex: 1;
    }

    .center-panel {
        flex-direction: column;
        gap: 0.3rem;
        order: 2;
        flex: 2;
    }

    .score-panel { order: 1; }
    .timer-panel { margin: 0; padding: 0.4rem 0.2rem; flex: 1; width: 100%; }
    #question-bar { padding: 0.3rem 0.6rem; width: 100%; text-align: center; }
    #question-text { font-size: 1.2rem; letter-spacing: 2px; }
    .level-panel { order: 3; flex: 1; }
    .streak-panel { order: 4; flex: 1; }

    .status-panel {
        order: 5;
        flex: 1.5;
        flex-direction: column;
        justify-content: center;
        gap: 0.3rem;
        padding: 0.4rem 0.2rem;
    }

    .score-panel .label,
    .level-panel .label,
    .streak-panel .label,
    .timer-panel .label {
        font-size: 0.55rem;
        font-weight: 800;
        margin-bottom: 0.15rem;
        letter-spacing: 0.5px;
        text-align: center;
    }

    .score-panel .value,
    .timer-value,
    .level-panel .value,
    .streak-panel .value {
        font-size: 1.4rem;
        font-weight: 900;
        line-height: 1;
        text-align: center;
    }

    #statusText {
        font-size: 0.55rem;
        font-weight: 800;
        text-align: center;
        line-height: 1.1;
    }

    .status-indicator {
        width: 10px;
        height: 10px;
        margin-bottom: 0.1rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .modal-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .rule-item { padding: 0.4rem 0.6rem; gap: 0.5rem; }
    .rule-text, .rule-points { font-size: 0.75rem; }

    .action-btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    #question-text { font-size: 1.8rem; letter-spacing: 2px; }
    #question-bar { padding: 0.7rem 1.5rem; top: 70px; }

    .balloon-body { width: 75px; height: 100px; }
    .balloon-number { font-size: 1.6rem; }
    .balloon-string { height: 40px; }

    .stats-grid { gap: 0.5rem; }
    .stat-box { padding: 0.7rem; }
    .stat-value { font-size: 1.6rem; }
}
