/* ============================================
   СМАЧКАЙ КЕЧИСТА — Game CSS
   Mobile-first, fire-themed wrestling game
   ============================================ */

#page-game {
    min-height: 100vh;
    background: #050505;
    padding-top: var(--page-padding-top, 84px);
    padding-bottom: 80px;
    overflow-x: hidden;
}

/* ============================================
   GAME HUB (main screen)
   ============================================ */
.game-hub {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
}

.game-hub-title {
    text-align: center;
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    letter-spacing: 4px;
    background: linear-gradient(180deg, #fff 0%, #ffd700 30%, #ff6600 70%, #ff2200 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.4));
    animation: gameTitlePulse 3s ease-in-out infinite;
}

@keyframes gameTitlePulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 100, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 100, 0, 0.7)); }
}

.game-hub-subtitle {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.game-play-btn {
    display: block;
    width: 100%;
    padding: 18px;
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 4px;
    color: #fff;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff2200, #ff6600, #ffa500);
    cursor: pointer;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(255, 80, 0, 0.4), 0 2px 0 rgba(0,0,0,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
}
.game-play-btn::before {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-20deg);
    animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 80%, 100% { left: -60%; opacity: 0; }
    40% { left: 120%; opacity: 1; }
}
.game-play-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(255, 80, 0, 0.3);
}

/* ============================================
   LEADERBOARDS
   ============================================ */
.game-leaderboards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 8px;
}

.game-lb-card {
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 100, 0, 0.2);
    border-radius: 14px;
    overflow: hidden;
}

.game-lb-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(255,80,0,0.15), transparent);
    border-bottom: 1px solid rgba(255,100,0,0.1);
}
.game-lb-header h3 {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #ffd700;
    margin: 0;
}

.game-lb-body {
    padding: 8px 0;
    min-height: 80px;
}

.game-lb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    transition: background 0.2s;
    animation: lbRowIn 0.3s ease backwards;
}
.game-lb-row:hover {
    background: rgba(255,255,255,0.03);
}
@keyframes lbRowIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: none; }
}

.game-lb-rank {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #555;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.game-lb-row:nth-child(1) .game-lb-rank { color: #ffd700; font-size: 1.3rem; }
.game-lb-row:nth-child(2) .game-lb-rank { color: #c0c0c0; font-size: 1.2rem; }
.game-lb-row:nth-child(3) .game-lb-rank { color: #cd7f32; font-size: 1.15rem; }

.game-lb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
    border: 1px solid rgba(255,255,255,0.1);
}
.game-lb-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.game-lb-info {
    flex: 1;
    min-width: 0;
}
.game-lb-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: #eee;
    font-weight: 600;
}
.game-lb-sub {
    font-size: 0.7rem;
    color: #666;
    margin-top: 1px;
}

.game-lb-score {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1.2rem;
    color: #ff6600;
    flex-shrink: 0;
}

/* Fire bar for wrestler hits */
.game-lb-fire-bar {
    flex: 1;
    height: 6px;
    background: #1a1a1a;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}
.game-lb-fire-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff2200, #ff6600, #ffd700);
    background-size: 200% 100%;
    animation: fireBarFlow 1.5s ease infinite;
    transition: width 0.5s ease;
}
@keyframes fireBarFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.game-lb-empty {
    text-align: center;
    padding: 20px;
    color: #444;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ============================================
   WRESTLER SELECT SCREEN
   ============================================ */
.game-select-screen {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #050505;
    z-index: 5000;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 40px;
}
.game-select-screen.active { display: block; }

.game-select-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid rgba(255,100,0,0.15);
}

.game-select-back {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.game-select-back:hover { background: rgba(255,255,255,0.1); }

.game-select-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: #ffd700;
    flex: 1;
}

.game-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.game-wrestler-card {
    background: #111;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.game-wrestler-card:active {
    transform: scale(0.95);
}
.game-wrestler-card:hover {
    border-color: rgba(255, 100, 0, 0.5);
    box-shadow: 0 4px 20px rgba(255, 80, 0, 0.2);
}

.game-wrestler-card-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    display: block;
    background: #1a1a1a;
}
.game-wrestler-card-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1a1a1a, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.game-wrestler-card-name {
    padding: 8px 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #eee;
    text-align: center;
    background: rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-wrestler-card-hits {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 50, 0, 0.85);
    border-radius: 10px;
    padding: 3px 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    color: #fff;
    display: none;
}
.game-wrestler-card-hits.has-hits { display: block; }

/* ============================================
   GAME ARENA SCREEN
   ============================================ */
.game-arena {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 5000;
    overflow: hidden;
}
.game-arena.active { display: flex; flex-direction: column; }

/* Countdown overlay */
.game-countdown-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}
.game-countdown-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.game-countdown-number {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: clamp(6rem, 30vw, 12rem);
    color: #fff;
    text-shadow: 0 0 40px rgba(255,100,0,0.8), 0 0 80px rgba(255,50,0,0.4);
    animation: countPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes countPop {
    0% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Arena top bar */
.game-arena-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0,0,0,0.7);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.game-timer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.game-timer {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    color: #fff;
    transition: color 0.3s;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.game-timer.urgent { color: #ff2200; animation: timerUrgent 0.5s ease infinite; }
@keyframes timerUrgent {
    0%, 100% { text-shadow: 0 0 20px rgba(255,34,0,0.5); }
    50% { text-shadow: 0 0 40px rgba(255,34,0,1); }
}
.game-timer-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.6rem;
    color: #555;
    letter-spacing: 2px;
}

.game-hit-counter {
    text-align: center;
}
.game-hit-number {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    color: #ff6600;
    text-shadow: 0 0 20px rgba(255,100,0,0.6);
    transition: transform 0.05s;
}
.game-hit-number.hit-pulse {
    animation: hitPop 0.1s ease;
}
@keyframes hitPop {
    0% { transform: scale(1.4); color: #ffd700; }
    100% { transform: scale(1); color: #ff6600; }
}
.game-hit-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.6rem;
    color: #555;
    letter-spacing: 2px;
}

.game-combo-display {
    text-align: right;
    min-width: 60px;
}
.game-combo {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    color: #ffd700;
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 0 15px rgba(255,215,0,0.6);
}
.game-combo.visible { opacity: 1; }
.game-combo-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.6rem;
    color: #555;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}
.game-combo-label.visible { opacity: 1; }

/* Wrestler target area */
.game-target-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Background glow that intensifies */
.game-bg-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,50,0,0) 0%, rgba(255,0,0,0) 100%);
    transition: background 0.3s;
    pointer-events: none;
    z-index: 1;
}

/* Wrestler image container */
.game-wrestler-img-wrap {
    position: relative;
    z-index: 2;
    width: min(80vw, 320px);
    height: min(80vw, 320px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(255,100,0,0);
    transition: box-shadow 0.3s;
}

.game-wrestler-target {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    position: relative;
    z-index: 1;
    pointer-events: none;
    filter: none;
    transition: filter 0.3s;
}
.game-wrestler-target-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    pointer-events: none;
}

/* Crack overlay canvas */
#game-crack-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    pointer-events: none;
    border-radius: 16px;
}

/* Fire canvas on wrestler */
#game-fire-canvas {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    z-index: 4;
    pointer-events: none;
    border-radius: 0 0 16px 16px;
}

/* Particles canvas (flying hits) */
#game-particles-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Explosion canvas */
#game-explosion-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 20;
    pointer-events: none;
}

/* Wrestler name in arena */
.game-arena-wrestler-name {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    text-align: center;
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    z-index: 5;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Floating hit text */
.game-hit-float {
    position: absolute;
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1.4rem;
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(255,200,0,0.6);
    pointer-events: none;
    z-index: 15;
    animation: hitFloat 0.7s ease forwards;
    font-weight: 900;
}
@keyframes hitFloat {
    0% { transform: translateY(0) scale(1.2); opacity: 1; }
    100% { transform: translateY(-60px) scale(0.8); opacity: 0; }
}

/* Progress bar at bottom */
.game-progress-wrap {
    padding: 0 16px 12px;
    background: rgba(0,0,0,0.7);
    flex-shrink: 0;
}
.game-progress-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.game-progress-bar {
    height: 8px;
    background: #111;
    border-radius: 4px;
    overflow: visible;
    position: relative;
}
.game-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff2200, #ff6600, #ffd700);
    background-size: 200% 100%;
    animation: fireBarFlow 1s ease infinite;
    transition: width 0.1s ease;
    position: relative;
}
.game-progress-fill::after {
    content: '🔥';
    position: absolute;
    right: -10px;
    top: -8px;
    font-size: 1.1rem;
    animation: flameWiggle 0.3s ease-in-out infinite alternate;
}
@keyframes flameWiggle {
    0% { transform: rotate(-10deg) scale(0.9); }
    100% { transform: rotate(10deg) scale(1.1); }
}

/* Screen shake */
.game-arena.shake {
    animation: arenaShake 0.15s ease;
}
@keyframes arenaShake {
    0%, 100% { transform: none; }
    20% { transform: translate(-4px, -2px) rotate(-0.5deg); }
    40% { transform: translate(4px, 2px) rotate(0.5deg); }
    60% { transform: translate(-3px, 1px) rotate(-0.3deg); }
    80% { transform: translate(3px, -1px) rotate(0.3deg); }
}

/* ============================================
   RESULT SCREEN
   ============================================ */
.game-result-screen {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 6000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    overflow-y: auto;
}
.game-result-screen.active { display: flex; }

.game-result-title {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: clamp(2.5rem, 10vw, 4rem);
    letter-spacing: 4px;
    background: linear-gradient(180deg, #ffd700, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: resultTitleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}
@keyframes resultTitleIn {
    from { transform: scale(0.3); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.game-result-score-wrap {
    position: relative;
    margin: 16px 0;
}
.game-result-score {
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: clamp(4rem, 20vw, 7rem);
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 40px rgba(255,100,0,0.6), 0 0 80px rgba(255,50,0,0.3);
    animation: scorePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s backwards;
}
@keyframes scorePop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.game-result-score-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.game-result-bonuses {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,100,0,0.2);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 12px 0;
    width: 100%;
    max-width: 320px;
    animation: resultBonusIn 0.4s ease 0.4s backwards;
}
@keyframes resultBonusIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

.game-result-bonus-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: #aaa;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.game-result-bonus-row:last-child { border-bottom: none; }
.game-result-bonus-row span:last-child { color: #ffd700; font-weight: 600; }

.game-result-rank {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #888;
    margin: 8px 0;
    animation: resultBonusIn 0.4s ease 0.6s backwards;
}
.game-result-rank strong { color: #ff6600; font-size: 1.3rem; }

.game-result-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 16px;
    animation: resultBonusIn 0.4s ease 0.8s backwards;
}

.game-result-play-again {
    padding: 16px;
    font-family: 'Bebas Neue', 'Russo One', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: #fff;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff2200, #ff6600, #ffa500);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,80,0,0.3);
    transition: transform 0.15s;
}
.game-result-play-again:active { transform: scale(0.97); }

.game-result-home {
    padding: 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #666;
    background: transparent;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s;
}
.game-result-home:hover { color: #999; }

/* Confetti result canvas */
#game-result-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 480px) {
    .game-select-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Leaderboards stay stacked on all sizes — full width for readable names */
    .game-leaderboards {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .game-hub {
        max-width: 600px;
    }
}

/* ============================================
   GAME LOADING OVERLAY
   ============================================ */
.game-loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60vh;
    gap: 24px;
}

.game-loading-fire {
    position: relative;
    width: 80px;
    height: 100px;
}

.game-loading-flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform-origin: bottom center;
    animation: gameLoadFlame 0.8s ease-in-out infinite alternate;
}

.game-loading-flame.gl-1 {
    width: 50px;
    height: 80px;
    margin-left: -25px;
    background: radial-gradient(ellipse at bottom, #ff6600 0%, #ff3300 40%, transparent 70%);
    animation-delay: 0s;
}

.game-loading-flame.gl-2 {
    width: 36px;
    height: 60px;
    margin-left: -18px;
    background: radial-gradient(ellipse at bottom, #ffaa00 0%, #ff6600 50%, transparent 70%);
    animation-delay: 0.2s;
}

.game-loading-flame.gl-3 {
    width: 22px;
    height: 45px;
    margin-left: -11px;
    background: radial-gradient(ellipse at bottom, #ffdd44 0%, #ffaa00 50%, transparent 70%);
    animation-delay: 0.4s;
}

@keyframes gameLoadFlame {
    0%   { transform: scaleY(1) scaleX(1) translateY(0); }
    50%  { transform: scaleY(1.15) scaleX(0.9) translateY(-5px); }
    100% { transform: scaleY(0.9) scaleX(1.1) translateY(2px); }
}

.game-loading-text {
    font-family: var(--font-display, 'Impact', sans-serif);
    font-size: 1.4rem;
    color: #ff6600;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
    animation: gameLoadPulse 1s ease-in-out infinite;
}

.game-loading-fist {
    font-size: 2.5rem;
    animation: gameLoadFist 0.6s ease-in-out infinite alternate;
}

@keyframes gameLoadPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

@keyframes gameLoadFist {
    0%   { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.2) rotate(5deg); }
}

/* ============================================
   WRESTLER REACTIONS — Comic speech bubbles
   ============================================ */
.wrestler-reaction {
    position: absolute;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    color: #1a1a2e;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 10px 18px;
    border-radius: 24px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.5), 0 0 0 3px #ff6600;
    animation: reactionPop 1.6s ease-out forwards;
    text-shadow: none;
}

/* Comic tail */
.wrestler-reaction::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #fff;
}

@keyframes reactionPop {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    8%   { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
    18%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    65%  { transform: translate(-50%, calc(-50% - 20px)) scale(1); opacity: 1; }
    100% { transform: translate(-50%, calc(-50% - 50px)) scale(0.7); opacity: 0; }
}
