* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    /* Comfortable padding */
    background: linear-gradient(135deg, #0f0f1e, #1a1a2e);
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    /* No scroll */
    box-sizing: border-box;
}

#gameCanvas {
    width: calc(100vw - 40px);
    max-width: 1600px;
    height: calc(100vh - 40px);
    max-height: 1000px;
    /* Deep space background with subtle grid */
    background-color: #0b0b15;
    background-image:
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(20, 20, 40, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    border: 3px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(100, 255, 218, 0.1);
}

.player {
    position: absolute;
    width: 30px;
    height: 30px;
    /* Neon Cyan Core */
    background: radial-gradient(circle, #fff, #00ffff);
    border-radius: 50%;
    /* Heavy Glow */
    box-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #00ffff;
    transform: translate(-50%, -50%);
    z-index: 100;
}

/* Add a direction indicator for player */
.player::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-right: 4px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow: 2px 0 5px #00ffff;
}

.projectile {
    position: absolute;
    width: 16px;
    height: 16px;
    /* Fireball: Bright Orange/Yellow */
    background: radial-gradient(circle, #fff, #ffaa00);
    border-radius: 50%;
    box-shadow:
        0 0 10px #ffaa00,
        0 0 20px #ff4400;
    transform: translate(-50%, -50%);
    z-index: 90;
}

.bullet {
    position: absolute;
    width: 14px;
    height: 14px;
    /* Enemy Bullet: Neon Red/Pink */
    background: radial-gradient(circle, #fff, #ff0055);
    border-radius: 50%;
    box-shadow:
        0 0 8px #ff0055,
        0 0 15px #ff0055;
    transform: translate(-50%, -50%);
    z-index: 95;
}

.heal {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    transform: translate(-50%, -50%);
    z-index: 80;
    animation: pulse 1s infinite;
}

.enemy {
    position: absolute;
    width: 30px;
    height: 30px;
    /* Base Enemy: Dark with glowing border */
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid #666;
    border: 2px solid #666;
    border-radius: 4px;
    box-shadow: 0 0 10px #666;
    transform: translate(-50%, -50%);
    z-index: 90;
}

/* Slime - Green (Melee, Slow) */
.enemy-slime {
    background: rgba(0, 80, 0, 0.8);
    border-color: #00ff00;
    box-shadow: 0 0 10px #00ff00;
    border-radius: 50%;
    /* Round like slime */
}

/* Zombie - Gray (Melee, Medium) */
.enemy-zombie {
    background: rgba(60, 60, 60, 0.8);
    border-color: #999;
    box-shadow: 0 0 10px #999;
}

/* Shooter - Purple (Ranged) */
.enemy-shooter {
    background: rgba(80, 0, 80, 0.8);
    border-color: #d500f9;
    box-shadow: 0 0 10px #d500f9;
    border-radius: 50%;
    /* Circle */
}

/* Fast - Orange Diamond */
.enemy[data-type="fast"] {
    background: rgba(100, 50, 0, 0.8);
    border-color: #ff9100;
    box-shadow: 0 0 10px #ff9100;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hp-bar-enemy {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.hp-bar-enemy-fill {
    height: 100%;
    background: linear-gradient(90deg, #f44336, #ff5722);
    border-radius: 2px;
    transition: width 0.2s;
}

.obstacle {
    position: absolute;
    background: linear-gradient(135deg, #37474f, #263238);
    border: 2px solid #546e7a;
    border-radius: 5px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.xp-orb {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #ffd700, #ffab00);
    border-radius: 50%;
    box-shadow: 0 0 15px #ffd700;
    animation: pulse 0.8s ease-in-out infinite;
    z-index: 30;
}

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 200;
    pointer-events: none;
}

.stat-panel {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(100, 255, 218, 0.4);
    border-radius: 12px;
    padding: 18px 20px;
    min-width: 350px;
    /* Increased from 300px */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.stat-label {
    color: #64ffda;
    font-size: 14px;
    /* Increased from 12px */
    margin-bottom: 6px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
}

.bar-container {
    background: rgba(0, 0, 0, 0.6);
    height: 22px;
    /* Increased from 18px */
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 10px;
    /* Increased from 8px */
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.bar {
    height: 100%;
    border-radius: 11px;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    /* Increased from 11px */
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hp-bar {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
}

.xp-bar {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
}

#hudHP {
    background: linear-gradient(90deg, #ff1744, #ff6090);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 23, 68, 0.5);
}

#hudXP {
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-value {
    color: #ffffff;
    font-size: 18px;
    /* Increased from 16px */
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin: 8px 0;
    /* Increased from 5px */
}

.level-display {
    font-size: 24px;
    font-weight: 900;
    color: #ffd700;
    text-align: center;
    margin-bottom: 8px;
}

.score-display {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ffab00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skill-slot {
    background: rgba(15, 12, 41, 0.9);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
    padding: 10px;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.skill-key {
    font-size: 20px;
    font-weight: 900;
    color: #64ffda;
}

.skill-cd {
    font-size: 14px;
    font-weight: 700;
    color: #ff4081;
}

.skill-slot.locked {
    opacity: 0.3;
    border-color: #555;
    display: none;
    /* Hide locked skills */
}

.skill-slot.ready {
    border-color: #4caf50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    display: flex;
    /* Show when ready */
}

.skill-slot {
    transition: all 0.3s ease;
    /* Smooth transitions */
}

.skill-level-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    background: #ffd700;
    color: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text {
    position: absolute;
    font-size: 20px;
    font-weight: 900;
    pointer-events: none;
    z-index: 300;
    animation: float-up 1.2s ease-out forwards;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

#startMenu,
#levelUpMenu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 12, 41, 0.98);
    border: 3px solid rgba(100, 255, 218, 0.5);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    z-index: 500;
    min-width: 500px;
}

#levelUpMenu {
    display: none;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(45deg, #64ffda, #00d4ff, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 30px;
    margin: 8px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.btn-easy {
    background: #4caf50;
    color: white;
    border-color: #66bb6a;
}

.btn-normal {
    background: #2196f3;
    color: white;
    border-color: #42a5f5;
}

.btn-hard {
    background: #ff9800;
    color: white;
    border-color: #ffa726;
}

.btn-extreme {
    background: #f44336;
    color: white;
    border-color: #ef5350;
}

.btn-upgrade {
    background: #7c4dff;
    color: white;
    border-color: #9575cd;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.passives-display {
    margin-top: 10px;
    font-size: 11px;
    color: #64ffda;
}

.stats-display {
    margin-top: 8px;
    font-size: 10px;
    color: #ffd700;
    font-weight: 700;
}

.item-drop {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 15px currentColor;
    animation: pulse 0.8s ease-in-out infinite;
    z-index: 80;
    cursor: pointer;
}

.warning-zone {
    position: absolute;
    border: 3px dashed #ff0000;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    animation: warning-pulse 0.5s ease-in-out infinite;
    z-index: 35;
}

@keyframes warning-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.level-up-anim {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 30px #ffd700;
    z-index: 400;
    animation: level-up-pop 1.5s ease-out forwards;
    pointer-events: none;
}

@keyframes level-up-pop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Hit Flash */
@keyframes hit-flash {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(3);
    }
}

/* Lightning Bolt */
.lightning-bolt {
    position: absolute;
    pointer-events: none;
    z-index: 90;
    background: linear-gradient(to bottom, #ffeb3b, #00d4ff);
    box-shadow: 0 0 20px #00d4ff, inset 0 0 10px #fff;
    animation: lightning-flicker 0.2s ease-in-out;
}

@keyframes lightning-flicker {

    0%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Black Hole Vortex */
.black-hole-vortex {
    position: absolute;
    pointer-events: none;
    z-index: 85;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 20%, #000 40%, #4a148c 60%, transparent 80%);
    border: 3px solid #d500f9;
    box-shadow:
        0 0 30px #d500f9,
        0 0 60px #4a148c,
        inset 0 0 50px #000;
    animation: vortex-spin 2s linear infinite;
}

@keyframes vortex-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Rotating Blade */
.blade-rotating {
    position: absolute;
    pointer-events: none;
    z-index: 95;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, transparent, #00d4ff, #fff, #00d4ff, transparent);
    box-shadow: 0 0 10px #00d4ff;
    border-radius: 4px;
    transform-origin: center;
}

/* Dash Trail */
.dash-trail {
    position: absolute;
    pointer-events: none;
    z-index: 55;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    border-radius: 15px;
    animation: trail-fade 0.5s ease-out forwards;
}

@keyframes trail-fade {
    to {
        opacity: 0;
        width: 0;
    }
}

/* Chain Lightning Effect */
.chain-lightning {
    position: absolute;
    pointer-events: none;
    z-index: 90;
    height: 3px;
    background: linear-gradient(90deg, #ffeb3b, #00d4ff);
    box-shadow: 0 0 10px #00d4ff;
    transform-origin: left center;
    animation: lightning-pulse 0.3s ease-in-out;
}

@keyframes lightning-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px #00d4ff;
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 20px #00d4ff;
    }
}

/* Phoenix Wings */
.phoenix-wings {
    position: absolute;
    pointer-events: none;
    z-index: 300;
    font-size: 80px;
    animation: phoenix-rise 2s ease-out forwards;
}

@keyframes phoenix-rise {
    0% {
        transform: translateY(50px) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* Crit Overload Charge */
.crit-charge {
    position: absolute;
    pointer-events: none;
    z-index: 200;
    border: 3px solid #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 20px #ffd700;
    animation: charge-pulse 1s ease-in-out infinite;
}

@keyframes charge-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Enhanced Projectile Rotation */
.projectile-rotating {
    animation: projectile-spin 0.5s linear infinite;
}

@keyframes projectile-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Screen Shake */
@keyframes screen-shake {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate(-5px, -5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translate(5px, 5px);
    }
}

.shake {
    animation: screen-shake 0.5s ease-in-out;
}

/* Game Over Modal Styles */
#gameOverModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 12, 41, 0.98);
    border: 3px solid #ff4081;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    z-index: 600;
    min-width: 500px;
    box-shadow: 0 0 50px rgba(255, 64, 129, 0.3);
    animation: modal-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.go-skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #64ffda;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
}

.go-skill-lvl {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #ffd700;
    color: #000;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 80px;
    animation: phoenix-rise 2s ease-out forwards;
}

@keyframes phoenix-rise {
    0% {
        transform: translateY(50px) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* Crit Overload Charge */
.crit-charge {
    position: absolute;
    pointer-events: none;
    z-index: 200;
    border: 3px solid #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 20px #ffd700;
    animation: charge-pulse 1s ease-in-out infinite;
}

@keyframes charge-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Enhanced Projectile Rotation */
.projectile-rotating {
    animation: projectile-spin 0.5s linear infinite;
}

@keyframes projectile-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Screen Shake */
@keyframes screen-shake {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate(-5px, -5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translate(5px, 5px);
    }
}

.shake {
    animation: screen-shake 0.5s ease-in-out;
}

/* Game Over Modal Styles */
#gameOverModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 12, 41, 0.98);
    border: 3px solid #ff4081;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    z-index: 600;
    min-width: 500px;
    box-shadow: 0 0 50px rgba(255, 64, 129, 0.3);
    animation: modal-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.go-skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #64ffda;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
}

.go-skill-lvl {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #ffd700;
    color: #000;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fireball Skill Projectile */
.projectile-fireball {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #fff, #ff5722);
    border-radius: 50%;
    box-shadow:
        0 0 15px #ff5722,
        0 0 30px #ff3d00,
        0 0 45px #ff9100;
    transform: translate(-50%, -50%);
    z-index: 95;
    animation: fireball-pulse 0.5s infinite alternate;
}

@keyframes fireball-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

/* ===== PARTICLES ===== */
.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    z-index: 85;
    animation: particle-fade 1s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.particle-fire {
    background: radial-gradient(circle, #ffeb3b, #ff5722);
    box-shadow: 0 0 10px #ff5722;
}

.particle-ice {
    background: radial-gradient(circle, #fff, #00ffff);
    box-shadow: 0 0 10px #00ffff;
}

.particle-poison {
    background: radial-gradient(circle, #ccff90, #76ff03);
    box-shadow: 0 0 10px #76ff03;
}

.particle-electric {
    background: radial-gradient(circle, #fff, #00ffff);
    box-shadow: 0 0 10px #00ffff;
}

.particle-holy {
    background: radial-gradient(circle, #fff, #ffd700);
}

@keyframes charge-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Enhanced Projectile Rotation */
.projectile-rotating {
    animation: projectile-spin 0.5s linear infinite;
}

@keyframes projectile-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Screen Shake */
@keyframes screen-shake {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate(-5px, -5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translate(5px, 5px);
    }
}

.shake {
    animation: screen-shake 0.5s ease-in-out;
}

/* Game Over Modal Styles */
#gameOverModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 12, 41, 0.98);
    border: 3px solid #ff4081;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    z-index: 600;
    min-width: 500px;
    box-shadow: 0 0 50px rgba(255, 64, 129, 0.3);
    animation: modal-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.go-skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #64ffda;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
}

.go-skill-lvl {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #ffd700;
    color: #000;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fireball Skill Projectile */
.projectile-fireball {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #fff, #ff5722);
    border-radius: 50%;
    box-shadow:
        0 0 15px #ff5722,
        0 0 30px #ff3d00,
        0 0 45px #ff9100;
    transform: translate(-50%, -50%);
    z-index: 95;
    animation: fireball-pulse 0.5s infinite alternate;
}

@keyframes fireball-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

/* ===== PARTICLES ===== */
.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    z-index: 85;
    animation: particle-fade 1s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.particle-fire {
    background: radial-gradient(circle, #ffeb3b, #ff5722);
    box-shadow: 0 0 10px #ff5722;
}

.particle-ice {
    background: radial-gradient(circle, #fff, #00ffff);
    box-shadow: 0 0 10px #00ffff;
}

.particle-poison {
    background: radial-gradient(circle, #ccff90, #76ff03);
    box-shadow: 0 0 10px #76ff03;
}

.particle-electric {
    background: radial-gradient(circle, #fff, #00ffff);
    box-shadow: 0 0 10px #00ffff;
}

.particle-holy {
    background: radial-gradient(circle, #fff, #ffd700);
    box-shadow: 0 0 10px #ffd700;
}

.particle-spark {
    background: #fff;
    box-shadow: 0 0 5px #fff;
}

/* Condensed Bullet (50+ count) */
.projectile-condensed {
    box-shadow: 0 0 15px #d500f9, 0 0 30px #aa00ff !important;
    background: radial-gradient(circle, #fff, #d500f9) !important;
}

/* Overload Bullet (100+ count) */
.projectile-overload {
    box-shadow: 0 0 20px #ffeb3b, 0 0 40px #ff5722 !important;
    background: radial-gradient(circle, #fff, #ffeb3b) !important;
    border: 2px solid #fff;
}