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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 300;
}

/* Credit styling */
.credit {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    font-size: 0.9rem;
    color: #888;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.credit:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.credit strong {
    color: #4CAF50;
    font-weight: 600;
}

.credit strong a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.credit strong a:hover {
    color: #66BB6A;
    text-decoration: none;
}

main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.game-area {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bitcoin-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.bitcoin-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4CAF50;
}

.bitcoin-rate {
    font-size: 1.2rem;
    color: #ffd700;
    text-align: right;
}

.inventory-display {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.inventory-display.collapsed {
    padding: 0;
}

.inventory-display.collapsed .inventory-content {
    display: none;
}

.inventory-display.collapsed .inventory-toggle {
    transform: rotate(-90deg);
}

.inventory-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.inventory-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.inventory-toggle {
    font-size: 1.2rem;
    color: #4CAF50;
    transition: transform 0.3s ease;
    user-select: none;
}

.inventory-content {
    padding: 20px;
    padding-top: 0;
}

.inventory-display h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3rem;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.inventory-grid::-webkit-scrollbar {
    width: 8px;
}

.inventory-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.inventory-grid::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.5);
    border-radius: 4px;
}

.inventory-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.7);
}

.inventory-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inventory-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.inventory-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    image-rendering: auto;
    object-fit: contain;
    border-radius: 5px;
}

.inventory-item .block-name {
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 500;
}

.inventory-item .block-count {
    font-size: 1rem;
    color: #4CAF50;
    font-weight: 700;
    margin-bottom: 5px;
}

.inventory-item .block-value {
    font-size: 0.7rem;
    color: #ffd700;
    margin-bottom: 8px;
}

.inventory-item .sell-button {
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 8px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.inventory-item .sell-button:hover {
    background: #45a049;
}

.inventory-controls {
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.sell-all-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.sell-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.debug-button {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    margin-left: 10px;
}

.debug-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

.currency {
    font-size: 0.8em;
    opacity: 0.8;
    margin-left: 5px;
}

.click-area {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 80px;
}

.grass-block-button {
    width: 300px;
    height: 300px;
    border: none;
    background: linear-gradient(145deg, #666, #555);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: block;
    opacity: 1;
    visibility: visible;
    margin: 0 auto;
    border-radius: 25px;
    z-index: 5;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.grass-block-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.1) 100%);
    border-radius: 25px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grass-block-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 30%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 23px;
    pointer-events: none;
    z-index: 2;
}

.grass-block {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(4px 8px 12px rgba(0,0,0,0.4));
    display: block;
    opacity: 1;
    visibility: visible;
    border-radius: 25px;
    overflow: hidden;
    z-index: 3;
    background: #ffffff;
}

.grass-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    image-rendering: auto;
    display: block;
    opacity: 1;
    visibility: visible;
    filter: contrast(1.1) brightness(1.05);
}

/* Block tier visual effects */
.block-tier-0 {
    /* Grass Block - default */
    filter: none;
}

.block-tier-1 {
    /* Stone Block */
    filter: grayscale(0.3) brightness(0.8);
    box-shadow: 0 0 10px rgba(128, 128, 128, 0.5);
}

.block-tier-2 {
    /* Iron Block */
    filter: grayscale(0.5) brightness(0.7) sepia(0.3);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.block-tier-3 {
    /* Gold Block */
    filter: brightness(1.2) saturate(1.5) hue-rotate(45deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.block-tier-4 {
    /* Diamond Block */
    filter: brightness(1.3) saturate(1.8) hue-rotate(180deg);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.8);
}

.block-tier-5 {
    /* Emerald Block */
    filter: brightness(1.4) saturate(2.0) hue-rotate(120deg);
    box-shadow: 0 0 30px rgba(0, 255, 127, 0.9);
}

.block-tier-6 {
    /* Netherite Block */
    filter: brightness(0.8) saturate(1.2) hue-rotate(300deg);
    box-shadow: 0 0 35px rgba(139, 0, 139, 0.9);
}

.block-tier-7 {
    /* Obsidian Block */
    filter: brightness(0.6) saturate(1.5) hue-rotate(240deg);
    box-shadow: 0 0 40px rgba(25, 25, 112, 1.0);
}

.block-tier-8 {
    /* Bedrock Block */
    filter: brightness(0.5) saturate(2.0) hue-rotate(0deg);
    box-shadow: 0 0 45px rgba(0, 0, 0, 1.0);
}

.block-tier-9 {
    /* Void Block */
    filter: brightness(0.3) saturate(3.0) hue-rotate(180deg);
    box-shadow: 0 0 50px rgba(138, 43, 226, 1.0);
    animation: voidPulse 2s ease-in-out infinite alternate;
}

@keyframes voidPulse {
    from {
        box-shadow: 0 0 50px rgba(138, 43, 226, 1.0);
    }
    to {
        box-shadow: 0 0 80px rgba(138, 43, 226, 1.5), 0 0 120px rgba(138, 43, 226, 0.8);
    }
}

.grass-block-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.grass-block-button:hover .grass-block {
    transform: scale(1.05);
    filter: drop-shadow(6px 12px 16px rgba(0,0,0,0.5)) brightness(1.1);
}

.grass-block-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grass-block-button:active .grass-block {
    transform: scale(0.95);
    filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.3)) brightness(0.95);
}

/* Mining Tools */
.mining-tool {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    width: 300px;
    height: 300px;
}

/* Mystery Chest Styles */
.mystery-chest {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 15;
    pointer-events: auto;
    width: 150px;
    height: 150px;
    animation: chestPulse 2s ease-in-out infinite;
    cursor: pointer;
}

.chest-icon {
    font-size: 5rem;
    text-align: center;
    line-height: 150px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    transition: transform 0.3s ease;
}

.chest-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: chestGlow 2s ease-in-out infinite alternate;
}

.mystery-chest:hover .chest-icon {
    transform: scale(1.2);
}

.mystery-chest:hover .chest-glow {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, transparent 70%);
}

@keyframes chestPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes chestGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.chest-effect-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1000;
    text-align: center;
    border: 3px solid;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: chestEffectFade 3s ease-in-out forwards;
}

.chest-effect-notification.good {
    border-color: #4CAF50;
    color: #4CAF50;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
}

.chest-effect-notification.bad {
    border-color: #f44336;
    color: #f44336;
    box-shadow: 0 0 30px rgba(244, 67, 54, 0.5);
}

@keyframes chestEffectFade {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

.pickaxe, .mining-robot, .automated-mine, .quantum-miner, .pickaxe-army, .diamond-legion, .netherite-swarm, .robot-legion, .mine-empire, .quantum-legion, .time-machine, .reality-bender, .dimension-breaker, .cosmic-miner, .galaxy-crusher, .universe-shaper, .multiverse-harvester, .existence-miner, .infinity-breaker, .rebirth {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pickaxe.active, .mining-robot.active, .automated-mine.active, .quantum-miner.active,
.pickaxe-army.active, .diamond-legion.active, .netherite-swarm.active, .robot-legion.active,
.mine-empire.active, .quantum-legion.active, .time-machine.active, .reality-bender.active,
.dimension-breaker.active, .cosmic-miner.active, .galaxy-crusher.active, .universe-shaper.active,
.multiverse-harvester.active, .existence-miner.active, .infinity-breaker.active, .rebirth.active {
    opacity: 1 !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* Debug outlines removed - all tools now have clean appearance */

.pickaxe-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    image-rendering: auto;
}

/* Basic pickaxes - positioned to the right of the grass block */
.wooden-pickaxe, .stone-pickaxe, .iron-pickaxe, .diamond-pickaxe, .netherite-pickaxe {
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wooden-pickaxe {
    transform: translate(80px, -50%) rotate(-45deg);
}

.stone-pickaxe {
    transform: translate(80px, -50%) rotate(45deg);
}

.iron-pickaxe {
    transform: translate(80px, -50%) rotate(0deg);
}

.diamond-pickaxe {
    transform: translate(80px, -50%) rotate(180deg);
}

.netherite-pickaxe {
    transform: translate(80px, -50%) rotate(-30deg);
}

.wooden-pickaxe.active {
    animation: mineFromRight 0.5s ease-in-out infinite;
}

.stone-pickaxe.active {
    animation: mineFromLeft 0.4s ease-in-out infinite;
}

.iron-pickaxe.active {
    animation: mineFromTop 0.3s ease-in-out infinite;
}

.diamond-pickaxe.active {
    animation: mineFromBottom 0.25s ease-in-out infinite;
}

.netherite-pickaxe.active {
    animation: mineFromCorner 0.2s ease-in-out infinite;
}

/* Mining Robot - positioned to the right of the grass block */
.mining-robot {
    width: 50px;
    height: 50px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mining-robot.active {
    animation: robotMineFromRight 0.6s ease-in-out infinite;
}

/* Automated Mine - positioned to the right of the grass block */
.automated-mine {
    width: 60px;
    height: 60px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.automated-mine.active {
    animation: automatedMineFromRight 0.8s ease-in-out infinite;
}

/* Quantum Miner - positioned to the right of the grass block */
.quantum-miner {
    width: 70px;
    height: 70px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-miner.active {
    animation: quantumMineFromRight 1s ease-in-out infinite;
}

/* Pickaxe Army - positioned to the right of the grass block with multiple pickaxes */
.pickaxe-army {
    width: 45px;
    height: 45px;
    transform: translate(80px, -50%) rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pickaxe-army-2 {
    width: 45px;
    height: 45px;
    transform: translate(100px, -30%) rotate(-30deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pickaxe-army-3 {
    width: 45px;
    height: 45px;
    transform: translate(60px, -70%) rotate(-60deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pickaxe-army.active {
    animation: pickaxeArmyMine 0.8s ease-in-out infinite;
}

.pickaxe-army-2.active {
    animation: pickaxeArmyMine2 0.8s ease-in-out infinite;
}

.pickaxe-army-3.active {
    animation: pickaxeArmyMine3 0.8s ease-in-out infinite;
}

/* Diamond Legion - positioned to the right of the grass block with multiple pickaxes */
.diamond-legion {
    width: 50px;
    height: 50px;
    transform: translate(80px, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diamond-legion-2 {
    width: 50px;
    height: 50px;
    transform: translate(110px, -30%) rotate(30deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diamond-legion-3 {
    width: 50px;
    height: 50px;
    transform: translate(50px, -70%) rotate(60deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diamond-legion.active {
    animation: diamondLegionMine 0.7s ease-in-out infinite;
}

.diamond-legion-2.active {
    animation: diamondLegionMine2 0.7s ease-in-out infinite;
}

.diamond-legion-3.active {
    animation: diamondLegionMine3 0.7s ease-in-out infinite;
}

/* Netherite Swarm - positioned to the right of the grass block with multiple pickaxes */
.netherite-swarm {
    width: 55px;
    height: 55px;
    transform: translate(80px, -50%) rotate(0deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.netherite-swarm-2 {
    width: 55px;
    height: 55px;
    transform: translate(120px, -30%) rotate(15deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.netherite-swarm-3 {
    width: 55px;
    height: 55px;
    transform: translate(40px, -70%) rotate(-15deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.netherite-swarm.active {
    animation: netheriteSwarmMine 0.6s ease-in-out infinite;
}

.netherite-swarm-2.active {
    animation: netheriteSwarmMine2 0.6s ease-in-out infinite;
}

.netherite-swarm-3.active {
    animation: netheriteSwarmMine3 0.6s ease-in-out infinite;
}

/* Robot Legion - positioned to the right of the grass block with multiple pickaxes */
.robot-legion {
    width: 60px;
    height: 60px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.robot-legion-2 {
    width: 60px;
    height: 60px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.robot-legion-3 {
    width: 60px;
    height: 60px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.robot-legion-4 {
    width: 60px;
    height: 60px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.robot-legion.active {
    animation: robotLegionMine 0.9s ease-in-out infinite;
}

.robot-legion-2.active {
    animation: robotLegionMine2 0.9s ease-in-out infinite;
}

.robot-legion-3.active {
    animation: robotLegionMine3 0.9s ease-in-out infinite;
}

.robot-legion-4.active {
    animation: robotLegionMine4 0.9s ease-in-out infinite;
}

/* Mine Empire - positioned to the right of the grass block with multiple pickaxes */
.mine-empire {
    width: 65px;
    height: 65px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mine-empire-2 {
    width: 65px;
    height: 65px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mine-empire-3 {
    width: 65px;
    height: 65px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mine-empire-4 {
    width: 65px;
    height: 65px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mine-empire.active {
    animation: mineEmpireMine 1.1s ease-in-out infinite;
}

.mine-empire-2.active {
    animation: mineEmpireMine2 1.1s ease-in-out infinite;
}

.mine-empire-3.active {
    animation: mineEmpireMine3 1.1s ease-in-out infinite;
}

.mine-empire-4.active {
    animation: mineEmpireMine4 1.1s ease-in-out infinite;
}

/* Quantum Legion - positioned to the right of the grass block with multiple pickaxes */
.quantum-legion {
    width: 70px;
    height: 70px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-legion-2 {
    width: 70px;
    height: 70px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-legion-3 {
    width: 70px;
    height: 70px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-legion-4 {
    width: 70px;
    height: 70px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-legion.active {
    animation: quantumLegionMine 1.3s ease-in-out infinite;
}

.quantum-legion-2.active {
    animation: quantumLegionMine2 1.3s ease-in-out infinite;
}

.quantum-legion-3.active {
    animation: quantumLegionMine3 1.3s ease-in-out infinite;
}

.quantum-legion-4.active {
    animation: quantumLegionMine4 1.3s ease-in-out infinite;
}

/* Time Machine - positioned to the right of the grass block with multiple pickaxes */
.time-machine {
    width: 75px;
    height: 75px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-machine-2 {
    width: 75px;
    height: 75px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-machine-3 {
    width: 75px;
    height: 75px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-machine-4 {
    width: 75px;
    height: 75px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-machine-5 {
    width: 75px;
    height: 75px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-machine.active {
    animation: timeMachineMine 1.5s ease-in-out infinite;
}

.time-machine-2.active {
    animation: timeMachineMine2 1.5s ease-in-out infinite;
}

.time-machine-3.active {
    animation: timeMachineMine3 1.5s ease-in-out infinite;
}

.time-machine-4.active {
    animation: timeMachineMine4 1.5s ease-in-out infinite;
}

.time-machine-5.active {
    animation: timeMachineMine5 1.5s ease-in-out infinite;
}

/* Reality Bender - positioned to the right of the grass block with multiple pickaxes */
.reality-bender {
    width: 80px;
    height: 80px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reality-bender-2 {
    width: 80px;
    height: 80px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reality-bender-3 {
    width: 80px;
    height: 80px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reality-bender-4 {
    width: 80px;
    height: 80px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reality-bender-5 {
    width: 80px;
    height: 80px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reality-bender.active {
    animation: realityBenderMine 1.4s ease-in-out infinite;
}

.reality-bender-2.active {
    animation: realityBenderMine2 1.4s ease-in-out infinite;
}

.reality-bender-3.active {
    animation: realityBenderMine3 1.4s ease-in-out infinite;
}

.reality-bender-4.active {
    animation: realityBenderMine4 1.4s ease-in-out infinite;
}

.reality-bender-5.active {
    animation: realityBenderMine5 1.4s ease-in-out infinite;
}



/* Dimension Breaker - positioned to the right of the grass block with multiple pickaxes */
.dimension-breaker {
    width: 85px;
    height: 85px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-breaker-2 {
    width: 85px;
    height: 85px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-breaker-3 {
    width: 85px;
    height: 85px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-breaker-4 {
    width: 85px;
    height: 85px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-breaker-5 {
    width: 85px;
    height: 85px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-breaker.active {
    animation: dimensionBreakerMine 1.2s ease-in-out infinite;
}

.dimension-breaker-2.active {
    animation: dimensionBreakerMine2 1.2s ease-in-out infinite;
}

.dimension-breaker-3.active {
    animation: dimensionBreakerMine3 1.2s ease-in-out infinite;
}

.dimension-breaker-4.active {
    animation: dimensionBreakerMine4 1.2s ease-in-out infinite;
}

.dimension-breaker-5.active {
    animation: dimensionBreakerMine5 1.2s ease-in-out infinite;
}

/* Cosmic Miner - positioned to the right of the grass block with multiple pickaxes */
.cosmic-miner {
    width: 90px;
    height: 90px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-miner-2 {
    width: 90px;
    height: 90px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-miner-3 {
    width: 90px;
    height: 90px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-miner-4 {
    width: 90px;
    height: 90px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-miner-5 {
    width: 90px;
    height: 90px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-miner-6 {
    width: 90px;
    height: 90px;
    transform: translate(95px, -35%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-miner.active,
.cosmic-miner-2.active,
.cosmic-miner-3.active,
.cosmic-miner-4.active,
.cosmic-miner-5.active,
.cosmic-miner-6.active {
    animation: cosmicMinerMine 1.6s ease-in-out infinite;
}

/* Galaxy Crusher - positioned to the right of the grass block with multiple pickaxes */
.galaxy-crusher {
    width: 95px;
    height: 95px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galaxy-crusher-2 {
    width: 95px;
    height: 95px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galaxy-crusher-3 {
    width: 95px;
    height: 95px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galaxy-crusher-4 {
    width: 95px;
    height: 95px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galaxy-crusher-5 {
    width: 95px;
    height: 95px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galaxy-crusher-6 {
    width: 95px;
    height: 95px;
    transform: translate(95px, -35%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galaxy-crusher.active,
.galaxy-crusher-2.active,
.galaxy-crusher-3.active,
.galaxy-crusher-4.active,
.galaxy-crusher-5.active,
.galaxy-crusher-6.active {
    animation: galaxyCrusherMine 1.8s ease-in-out infinite;
}

/* Universe Shaper - positioned to the right of the grass block with multiple pickaxes */
.universe-shaper {
    width: 100px;
    height: 100px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-shaper-2 {
    width: 100px;
    height: 100px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-shaper-3 {
    width: 100px;
    height: 100px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-shaper-4 {
    width: 100px;
    height: 100px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-shaper-5 {
    width: 100px;
    height: 100px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-shaper-6 {
    width: 100px;
    height: 100px;
    transform: translate(95px, -35%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-shaper.active,
.universe-shaper-2.active,
.universe-shaper-3.active,
.universe-shaper-4.active,
.universe-shaper-5.active,
.universe-shaper-6.active {
    animation: universeShaperMine 2.0s ease-in-out infinite;
}

/* Multiverse Harvester - positioned to the right of the grass block with multiple pickaxes */
.multiverse-harvester {
    width: 105px;
    height: 105px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiverse-harvester-2 {
    width: 105px;
    height: 105px;
    transform: translate(85px, -45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiverse-harvester-3 {
    width: 105px;
    height: 105px;
    transform: translate(75px, -55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiverse-harvester-4 {
    width: 105px;
    height: 105px;
    transform: translate(90px, -40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiverse-harvester-5 {
    width: 105px;
    height: 105px;
    transform: translate(70px, -60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiverse-harvester-6 {
    width: 105px;
    height: 105px;
    transform: translate(95px, -35%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multiverse-harvester.active,
.multiverse-harvester-2.active,
.multiverse-harvester-3.active,
.multiverse-harvester-4.active,
.multiverse-harvester-5.active,
.multiverse-harvester-6.active {
    animation: multiverseHarvesterMine 2.2s ease-in-out infinite;
}

/* Existence Miner - positioned to the right of the grass block */
.existence-miner {
    width: 110px;
    height: 110px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.existence-miner.active {
    animation: mineFromRight 1.0s ease-in-out infinite;
}

/* Infinity Breaker - positioned to the right of the grass block */
.infinity-breaker {
    width: 115px;
    height: 115px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.6));
}

.infinity-breaker.active {
    animation: mineFromRight 0.9s ease-in-out infinite;
}

/* Rebirth - positioned to the right of the grass block */
.rebirth {
    width: 120px;
    height: 120px;
    transform: translate(80px, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
}

.rebirth.active {
    animation: mineFromRight 1.0s ease-in-out infinite;
}

/* Special effects for powerful tools */
.time-machine.active,
.reality-bender.active,
.dimension-breaker.active,
.cosmic-miner.active,
.galaxy-crusher.active,
.universe-shaper.active,
.multiverse-harvester.active,
.existence-miner.active,
.infinity-breaker.active {
    filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.8)) !important;
}

.quantum-legion.active,
.mine-empire.active,
.robot-legion.active {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8)) !important;
}

.pickaxe-army.active,
.diamond-legion.active,
.netherite-swarm.active {
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.8)) !important;
}

/* Basic Pickaxe Animations - Enhanced rotating swinging */
@keyframes mineFromRight {
    0%, 100% { transform: translate(80px, -50%) rotate(-45deg) translateX(0px); }
    25% { transform: translate(80px, -50%) rotate(-30deg) translateX(-10px); }
    50% { transform: translate(80px, -50%) rotate(-15deg) translateX(-15px); }
    75% { transform: translate(80px, -50%) rotate(-30deg) translateX(-10px); }
}

@keyframes mineFromLeft {
    0%, 100% { transform: translate(80px, -50%) rotate(45deg) translateX(0px); }
    25% { transform: translate(80px, -50%) rotate(30deg) translateX(-10px); }
    50% { transform: translate(80px, -50%) rotate(15deg) translateX(-15px); }
    75% { transform: translate(80px, -50%) rotate(30deg) translateX(-10px); }
}

@keyframes mineFromTop {
    0%, 100% { transform: translate(80px, -50%) rotate(0deg) translateY(0px); }
    25% { transform: translate(80px, -50%) rotate(15deg) translateY(-10px); }
    50% { transform: translate(80px, -50%) rotate(30deg) translateY(-15px); }
    75% { transform: translate(80px, -50%) rotate(15deg) translateY(-10px); }
}

@keyframes mineFromBottom {
    0%, 100% { transform: translate(80px, -50%) rotate(180deg) translateY(0px); }
    25% { transform: translate(80px, -50%) rotate(165deg) translateY(-10px); }
    50% { transform: translate(80px, -50%) rotate(150deg) translateY(-15px); }
    75% { transform: translate(80px, -50%) rotate(165deg) translateY(-10px); }
}

@keyframes mineFromCorner {
    0%, 100% { transform: translate(80px, -50%) rotate(-30deg) translateX(0px) translateY(0px); }
    25% { transform: translate(80px, -50%) rotate(-15deg) translateX(-10px) translateY(-10px); }
    50% { transform: translate(80px, -50%) rotate(0deg) translateX(-15px) translateY(-15px); }
    75% { transform: translate(80px, -50%) rotate(-15deg) translateX(-10px) translateY(-10px); }
}

/* Mining Robot - Enhanced mechanical movement with more rotation */
@keyframes robotMineFromRight {
    0%, 100% { transform: translate(80px, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(80px, -50%) scale(1.1) rotate(30deg); }
    50% { transform: translate(80px, -50%) scale(1) rotate(0deg); }
    75% { transform: translate(80px, -50%) scale(1.1) rotate(-30deg); }
}

/* Automated Mine - Enhanced pulsing with rotation */
@keyframes automatedMineFromRight {
    0%, 100% { transform: translate(80px, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(80px, -50%) scale(1.05) rotate(45deg); }
    50% { transform: translate(80px, -50%) scale(1) rotate(0deg); }
    75% { transform: translate(80px, -50%) scale(1.05) rotate(-45deg); }
}

/* Quantum Miner - Spinning with glow */
@keyframes quantumMineFromRight {
    0%, 100% { 
        transform: translate(170px, -50%) scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
    }
    25% { 
        transform: translate(170px, -50%) scale(1.1) rotate(90deg);
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
    }
    50% { 
        transform: translate(170px, -50%) scale(1) rotate(180deg);
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
    }
    75% { 
        transform: translate(170px, -50%) scale(1.1) rotate(270deg);
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
    }
}

/* Pickaxe Army - Multiple pickaxes from different angles */
@keyframes pickaxeArmyMine {
    0%, 100% { 
        transform: translate(80px, -50%) rotate(-45deg) translateX(0px) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(90px, -60%) rotate(-30deg) translateX(-10px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(70px, -40%) rotate(-60deg) translateX(-20px) scale(0.9);
        opacity: 1;
    }
    75% { 
        transform: translate(100px, -50%) rotate(-15deg) translateX(-5px) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes pickaxeArmyMine2 {
    0%, 100% { 
        transform: translate(100px, -30%) rotate(-30deg) translateX(0px) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(110px, -40%) rotate(-15deg) translateX(-10px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(90px, -20%) rotate(-45deg) translateX(-20px) scale(0.9);
        opacity: 1;
    }
    75% { 
        transform: translate(120px, -30%) rotate(0deg) translateX(-5px) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes pickaxeArmyMine3 {
    0%, 100% { 
        transform: translate(60px, -70%) rotate(-60deg) translateX(0px) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(70px, -80%) rotate(-45deg) translateX(-10px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(50px, -60%) rotate(-75deg) translateX(-20px) scale(0.9);
        opacity: 1;
    }
    75% { 
        transform: translate(80px, -70%) rotate(-30deg) translateX(-5px) scale(1.05);
        opacity: 0.9;
    }
}

/* Diamond Legion - Diamond pickaxes with sparkles */
@keyframes diamondLegionMine {
    0%, 100% { 
        transform: translate(80px, -50%) rotate(45deg) translateX(0px) scale(1);
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
    20% { 
        transform: translate(90px, -60%) rotate(30deg) translateX(10px) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(33, 150, 243, 1));
    }
    40% { 
        transform: translate(70px, -40%) rotate(60deg) translateX(20px) scale(0.9);
        filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.6));
    }
    60% { 
        transform: translate(100px, -50%) rotate(15deg) translateX(5px) scale(1.05);
        filter: drop-shadow(0 0 12px rgba(33, 150, 243, 0.9));
    }
    80% { 
        transform: translate(95px, -55%) rotate(45deg) translateX(15px) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
}

@keyframes diamondLegionMine2 {
    0%, 100% { 
        transform: translate(110px, -30%) rotate(30deg) translateX(0px) scale(1);
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
    20% { 
        transform: translate(120px, -40%) rotate(15deg) translateX(10px) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(33, 150, 243, 1));
    }
    40% { 
        transform: translate(100px, -20%) rotate(45deg) translateX(20px) scale(0.9);
        filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.6));
    }
    60% { 
        transform: translate(130px, -30%) rotate(0deg) translateX(5px) scale(1.05);
        filter: drop-shadow(0 0 12px rgba(33, 150, 243, 0.9));
    }
    80% { 
        transform: translate(125px, -35%) rotate(30deg) translateX(15px) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
}

@keyframes diamondLegionMine3 {
    0%, 100% { 
        transform: translate(50px, -70%) rotate(60deg) translateX(0px) scale(1);
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
    20% { 
        transform: translate(60px, -80%) rotate(45deg) translateX(10px) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(33, 150, 243, 1));
    }
    40% { 
        transform: translate(40px, -60%) rotate(75deg) translateX(20px) scale(0.9);
        filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.6));
    }
    60% { 
        transform: translate(70px, -70%) rotate(30deg) translateX(5px) scale(1.05);
        filter: drop-shadow(0 0 12px rgba(33, 150, 243, 0.9));
    }
    80% { 
        transform: translate(65px, -75%) rotate(60deg) translateX(15px) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
}

/* Netherite Swarm - Dark, powerful pickaxes */
@keyframes netheriteSwarmMine {
    0%, 100% { 
        transform: translate(80px, -50%) rotate(0deg) translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(139, 69, 19, 0.8));
    }
    16% { 
        transform: translate(95px, -65px) rotate(25deg) translateY(-8px) scale(1.15);
        filter: drop-shadow(0 0 20px rgba(139, 69, 19, 1));
    }
    32% { 
        transform: translate(65px, -35px) rotate(-25deg) translateY(8px) scale(0.85);
        filter: drop-shadow(0 0 10px rgba(139, 69, 19, 0.6));
    }
    48% { 
        transform: translate(105px, -55px) rotate(10deg) translateY(-3px) scale(1.08);
        filter: drop-shadow(0 0 18px rgba(139, 69, 19, 0.9));
    }
    64% { 
        transform: translate(55px, -45px) rotate(-10deg) translateY(3px) scale(0.95);
        filter: drop-shadow(0 0 12px rgba(139, 69, 19, 0.7));
    }
    80% { 
        transform: translate(115px, -60px) rotate(20deg) translateY(-7px) scale(1.12);
        filter: drop-shadow(0 0 22px rgba(139, 69, 19, 1));
    }
}

@keyframes netheriteSwarmMine2 {
    0%, 100% { 
        transform: translate(120px, -30%) rotate(15deg) translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(139, 69, 19, 0.8));
    }
    16% { 
        transform: translate(135px, -45px) rotate(40deg) translateY(-8px) scale(1.15);
        filter: drop-shadow(0 0 20px rgba(139, 69, 19, 1));
    }
    32% { 
        transform: translate(105px, -15px) rotate(-10deg) translateY(8px) scale(0.85);
        filter: drop-shadow(0 0 10px rgba(139, 69, 19, 0.6));
    }
    48% { 
        transform: translate(145px, -35px) rotate(25deg) translateY(-3px) scale(1.08);
        filter: drop-shadow(0 0 18px rgba(139, 69, 19, 0.9));
    }
    64% { 
        transform: translate(95px, -25px) rotate(0deg) translateY(3px) scale(0.95);
        filter: drop-shadow(0 0 12px rgba(139, 69, 19, 0.7));
    }
    80% { 
        transform: translate(155px, -40px) rotate(35deg) translateY(-7px) scale(1.12);
        filter: drop-shadow(0 0 22px rgba(139, 69, 19, 1));
    }
}

@keyframes netheriteSwarmMine3 {
    0%, 100% { 
        transform: translate(40px, -70%) rotate(-15deg) translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(139, 69, 19, 0.8));
    }
    16% { 
        transform: translate(55px, -85px) rotate(10deg) translateY(-8px) scale(1.15);
        filter: drop-shadow(0 0 20px rgba(139, 69, 19, 1));
    }
    32% { 
        transform: translate(25px, -55px) rotate(-40deg) translateY(8px) scale(0.85);
        filter: drop-shadow(0 0 10px rgba(139, 69, 19, 0.6));
    }
    48% { 
        transform: translate(65px, -75px) rotate(-5deg) translateY(-3px) scale(1.08);
        filter: drop-shadow(0 0 18px rgba(139, 69, 19, 0.9));
    }
    64% { 
        transform: translate(15px, -65px) rotate(-30deg) translateY(3px) scale(0.95);
        filter: drop-shadow(0 0 12px rgba(139, 69, 19, 0.7));
    }
    80% { 
        transform: translate(75px, -80px) rotate(5deg) translateY(-7px) scale(1.12);
        filter: drop-shadow(0 0 22px rgba(139, 69, 19, 1));
    }
}

/* Robot Legion - Mechanical swarm */
@keyframes robotLegionMine {
    0%, 100% { 
        transform: translate(80px, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.6));
    }
    14% { 
        transform: translate(95px, -40%) scale(1.1) rotate(10deg);
        filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.8));
    }
    28% { 
        transform: translate(65px, -60%) scale(0.9) rotate(-10deg);
        filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4));
    }
    42% { 
        transform: translate(105px, -45%) scale(1.05) rotate(5deg);
        filter: drop-shadow(0 0 12px rgba(76, 175, 80, 0.7));
    }
    56% { 
        transform: translate(55px, -55%) scale(0.95) rotate(-5deg);
        filter: drop-shadow(0 0 9px rgba(76, 175, 80, 0.5));
    }
    70% { 
        transform: translate(115px, -35%) scale(1.08) rotate(8deg);
        filter: drop-shadow(0 0 14px rgba(76, 175, 80, 0.9));
    }
            84% { 
            transform: translate(45px, -65%) scale(1.02) rotate(-3deg);
            filter: drop-shadow(0 0 11px rgba(76, 175, 80, 0.6));
        }
    }

@keyframes robotLegionMine2 {
    0%, 100% { 
        transform: translate(110px, -30%) scale(1) rotate(15deg);
        filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.6));
    }
    14% { 
        transform: translate(125px, -20%) scale(1.1) rotate(25deg);
        filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.8));
    }
    28% { 
        transform: translate(95px, -40%) scale(0.9) rotate(5deg);
        filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4));
    }
    42% { 
        transform: translate(135px, -25%) scale(1.05) rotate(20deg);
        filter: drop-shadow(0 0 12px rgba(76, 175, 80, 0.7));
    }
    56% { 
        transform: translate(85px, -35%) scale(0.95) rotate(10deg);
        filter: drop-shadow(0 0 9px rgba(76, 175, 80, 0.5));
    }
    70% { 
        transform: translate(145px, -15%) scale(1.08) rotate(30deg);
        filter: drop-shadow(0 0 14px rgba(76, 175, 80, 0.9));
    }
    84% { 
        transform: translate(75px, -45%) scale(1.02) rotate(0deg);
        filter: drop-shadow(0 0 11px rgba(76, 175, 80, 0.6));
    }
}

@keyframes robotLegionMine3 {
    0%, 100% { 
        transform: translate(50px, -70%) scale(1) rotate(-15deg);
        filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.6));
    }
    14% { 
        transform: translate(65px, -60%) scale(1.1) rotate(-5deg);
        filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.8));
    }
    28% { 
        transform: translate(35px, -80%) scale(0.9) rotate(-25deg);
        filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4));
    }
    42% { 
        transform: translate(75px, -55%) scale(1.05) rotate(-10deg);
        filter: drop-shadow(0 0 12px rgba(76, 175, 80, 0.7));
    }
    56% { 
        transform: translate(25px, -75%) scale(0.95) rotate(-20deg);
        filter: drop-shadow(0 0 9px rgba(76, 175, 80, 0.5));
    }
    70% { 
        transform: translate(85px, -50%) scale(1.08) rotate(0deg);
        filter: drop-shadow(0 0 14px rgba(76, 175, 80, 0.9));
    }
    84% { 
        transform: translate(15px, -85%) scale(1.02) rotate(-30deg);
        filter: drop-shadow(0 0 11px rgba(76, 175, 80, 0.6));
    }
}

@keyframes robotLegionMine4 {
    0%, 100% { 
        transform: translate(140px, -20%) scale(1) rotate(30deg);
        filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.6));
    }
    14% { 
        transform: translate(155px, -10%) scale(1.1) rotate(40deg);
        filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.8));
    }
    28% { 
        transform: translate(125px, -30%) scale(0.9) rotate(20deg);
        filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4));
    }
    42% { 
        transform: translate(165px, -15%) scale(1.05) rotate(35deg);
        filter: drop-shadow(0 0 12px rgba(76, 175, 80, 0.7));
    }
    56% { 
        transform: translate(115px, -25%) scale(0.95) rotate(25deg);
        filter: drop-shadow(0 0 9px rgba(76, 175, 80, 0.5));
    }
    70% { 
        transform: translate(175px, -5%) scale(1.08) rotate(45deg);
        filter: drop-shadow(0 0 14px rgba(76, 175, 80, 0.9));
    }
    84% { 
        transform: translate(105px, -35%) scale(1.02) rotate(15deg);
        filter: drop-shadow(0 0 11px rgba(76, 175, 80, 0.6));
    }
}

/* Mine Empire - Massive industrial mining */
@keyframes mineEmpireMine {
    0%, 100% { 
        transform: translate(80px, -50%) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.7));
    }
    12% { 
        transform: translate(100px, -60%) scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(255, 193, 7, 1));
    }
    24% { 
        transform: translate(60px, -40%) scale(0.8) rotate(-15deg);
        filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
    }
    36% { 
        transform: translate(105px, -45%) scale(1.1) rotate(10deg);
        filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.8));
    }
    48% { 
        transform: translate(55px, -55%) scale(0.9) rotate(-10deg);
        filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.6));
    }
    60% { 
        transform: translate(110px, -35%) scale(1.15) rotate(12deg);
        filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.9));
    }
    72% { 
        transform: translate(45px, -65%) scale(0.85) rotate(-8deg);
        filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.4));
    }
    84% { 
        transform: translate(115px, -50%) scale(1.05) rotate(7deg);
        filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.7));
    }
}

@keyframes mineEmpireMine2 {
    0%, 100% { 
        transform: translate(85px, -45%) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.7));
    }
    12% { 
        transform: translate(105px, -55%) scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(255, 193, 7, 1));
    }
    24% { 
        transform: translate(65px, -35%) scale(0.8) rotate(-15deg);
        filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
    }
    36% { 
        transform: translate(110px, -40%) scale(1.1) rotate(10deg);
        filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.8));
    }
    48% { 
        transform: translate(60px, -50%) scale(0.9) rotate(-10deg);
        filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.6));
    }
    60% { 
        transform: translate(115px, -30%) scale(1.15) rotate(12deg);
        filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.9));
    }
    72% { 
        transform: translate(50px, -60%) scale(0.85) rotate(-8deg);
        filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.4));
    }
    84% { 
        transform: translate(120px, -45%) scale(1.05) rotate(7deg);
        filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.7));
    }
}

@keyframes mineEmpireMine3 {
    0%, 100% { 
        transform: translate(75px, -55%) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.7));
    }
    12% { 
        transform: translate(95px, -65%) scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(255, 193, 7, 1));
    }
    24% { 
        transform: translate(55px, -45%) scale(0.8) rotate(-15deg);
        filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
    }
    36% { 
        transform: translate(100px, -50%) scale(1.1) rotate(10deg);
        filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.8));
    }
    48% { 
        transform: translate(50px, -60%) scale(0.9) rotate(-10deg);
        filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.6));
    }
    60% { 
        transform: translate(105px, -40%) scale(1.15) rotate(12deg);
        filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.9));
    }
    72% { 
        transform: translate(40px, -70%) scale(0.85) rotate(-8deg);
        filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.4));
    }
    84% { 
        transform: translate(110px, -55%) scale(1.05) rotate(7deg);
        filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.7));
    }
}

@keyframes mineEmpireMine4 {
    0%, 100% { 
        transform: translate(90px, -40%) scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.7));
    }
    12% { 
        transform: translate(110px, -50%) scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(255, 193, 7, 1));
    }
    24% { 
        transform: translate(70px, -30%) scale(0.8) rotate(-15deg);
        filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
    }
    36% { 
        transform: translate(115px, -35%) scale(1.1) rotate(10deg);
        filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.8));
    }
    48% { 
        transform: translate(65px, -45%) scale(0.9) rotate(-10deg);
        filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.6));
    }
    60% { 
        transform: translate(120px, -25%) scale(1.15) rotate(12deg);
        filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.9));
    }
    72% { 
        transform: translate(55px, -55%) scale(0.85) rotate(-8deg);
        filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.4));
    }
    84% { 
        transform: translate(125px, -40%) scale(1.05) rotate(7deg);
        filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.7));
    }
}

/* Quantum Legion - Reality-bending mining */
@keyframes quantumLegionMine {
    0%, 100% { 
        transform: translate(80px, -50%) scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(0deg);
    }
    10% { 
        transform: translate(100px, -40%) scale(1.3) rotate(45deg);
        box-shadow: 0 0 35px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    20% { 
        transform: translate(60px, -60%) scale(0.7) rotate(-45deg);
        box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
        filter: hue-rotate(180deg);
    }
    30% { 
        transform: translate(105px, -45%) scale(1.2) rotate(30deg);
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        filter: hue-rotate(270deg);
    }
    40% { 
        transform: translate(55px, -55%) scale(0.8) rotate(-30deg);
        box-shadow: 0 0 12px rgba(156, 39, 176, 0.4);
        filter: hue-rotate(360deg);
    }
    50% { 
        transform: translate(110px, -35%) scale(1.25) rotate(60deg);
        box-shadow: 0 0 40px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    60% { 
        transform: translate(45px, -65%) scale(0.75) rotate(-60deg);
        box-shadow: 0 0 10px rgba(156, 39, 176, 0.2);
        filter: hue-rotate(180deg);
    }
    70% { 
        transform: translate(100px, -40%) scale(1.1) rotate(20deg);
        box-shadow: 0 0 25px rgba(156, 39, 176, 0.7);
        filter: hue-rotate(270deg);
    }
    80% { 
        transform: translate(55px, -60%) scale(0.9) rotate(-20deg);
        box-shadow: 0 0 18px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(360deg);
    }
    90% { 
        transform: translate(105px, -45%) scale(1.15) rotate(40deg);
        box-shadow: 0 0 32px rgba(156, 39, 176, 0.9);
        filter: hue-rotate(90deg);
    }
}

@keyframes quantumLegionMine2 {
    0%, 100% { 
        transform: translate(85px, -45%) scale(1) rotate(15deg);
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(0deg);
    }
    10% { 
        transform: translate(105px, -35%) scale(1.3) rotate(60deg);
        box-shadow: 0 0 35px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    20% { 
        transform: translate(65px, -55%) scale(0.7) rotate(-30deg);
        box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
        filter: hue-rotate(180deg);
    }
    30% { 
        transform: translate(110px, -40%) scale(1.2) rotate(45deg);
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        filter: hue-rotate(270deg);
    }
    40% { 
        transform: translate(60px, -50%) scale(0.8) rotate(-15deg);
        box-shadow: 0 0 12px rgba(156, 39, 176, 0.4);
        filter: hue-rotate(360deg);
    }
    50% { 
        transform: translate(115px, -30%) scale(1.25) rotate(75deg);
        box-shadow: 0 0 40px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    60% { 
        transform: translate(50px, -60%) scale(0.75) rotate(-45deg);
        box-shadow: 0 0 10px rgba(156, 39, 176, 0.2);
        filter: hue-rotate(180deg);
    }
    70% { 
        transform: translate(105px, -35%) scale(1.1) rotate(35deg);
        box-shadow: 0 0 25px rgba(156, 39, 176, 0.7);
        filter: hue-rotate(270deg);
    }
    80% { 
        transform: translate(60px, -55%) scale(0.9) rotate(-10deg);
        box-shadow: 0 0 18px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(360deg);
    }
    90% { 
        transform: translate(110px, -40%) scale(1.15) rotate(55deg);
        box-shadow: 0 0 32px rgba(156, 39, 176, 0.9);
        filter: hue-rotate(90deg);
    }
}

@keyframes quantumLegionMine3 {
    0%, 100% { 
        transform: translate(75px, -55%) scale(1) rotate(-15deg);
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(0deg);
    }
    10% { 
        transform: translate(95px, -45%) scale(1.3) rotate(30deg);
        box-shadow: 0 0 35px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    20% { 
        transform: translate(55px, -65%) scale(0.7) rotate(-60deg);
        box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
        filter: hue-rotate(180deg);
    }
    30% { 
        transform: translate(100px, -50%) scale(1.2) rotate(15deg);
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        filter: hue-rotate(270deg);
    }
    40% { 
        transform: translate(50px, -60%) scale(0.8) rotate(-45deg);
        box-shadow: 0 0 12px rgba(156, 39, 176, 0.4);
        filter: hue-rotate(360deg);
    }
    50% { 
        transform: translate(105px, -40%) scale(1.25) rotate(45deg);
        box-shadow: 0 0 40px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    60% { 
        transform: translate(40px, -70%) scale(0.75) rotate(-75deg);
        box-shadow: 0 0 10px rgba(156, 39, 176, 0.2);
        filter: hue-rotate(180deg);
    }
    70% { 
        transform: translate(95px, -45%) scale(1.1) rotate(25deg);
        box-shadow: 0 0 25px rgba(156, 39, 176, 0.7);
        filter: hue-rotate(270deg);
    }
    80% { 
        transform: translate(50px, -65%) scale(0.9) rotate(-30deg);
        box-shadow: 0 0 18px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(360deg);
    }
    90% { 
        transform: translate(100px, -50%) scale(1.15) rotate(35deg);
        box-shadow: 0 0 32px rgba(156, 39, 176, 0.9);
        filter: hue-rotate(90deg);
    }
}

@keyframes quantumLegionMine4 {
    0%, 100% { 
        transform: translate(90px, -40%) scale(1) rotate(30deg);
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(0deg);
    }
    10% { 
        transform: translate(110px, -30%) scale(1.3) rotate(75deg);
        box-shadow: 0 0 35px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    20% { 
        transform: translate(70px, -50%) scale(0.7) rotate(-15deg);
        box-shadow: 0 0 15px rgba(156, 39, 176, 0.3);
        filter: hue-rotate(180deg);
    }
    30% { 
        transform: translate(115px, -35%) scale(1.2) rotate(60deg);
        box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        filter: hue-rotate(270deg);
    }
    40% { 
        transform: translate(65px, -45%) scale(0.8) rotate(0deg);
        box-shadow: 0 0 12px rgba(156, 39, 176, 0.4);
        filter: hue-rotate(360deg);
    }
    50% { 
        transform: translate(120px, -25%) scale(1.25) rotate(90deg);
        box-shadow: 0 0 40px rgba(156, 39, 176, 1);
        filter: hue-rotate(90deg);
    }
    60% { 
        transform: translate(55px, -55%) scale(0.75) rotate(-30deg);
        box-shadow: 0 0 10px rgba(156, 39, 176, 0.2);
        filter: hue-rotate(180deg);
    }
    70% { 
        transform: translate(110px, -30%) scale(1.1) rotate(50deg);
        box-shadow: 0 0 25px rgba(156, 39, 176, 0.7);
        filter: hue-rotate(270deg);
    }
    80% { 
        transform: translate(65px, -50%) scale(0.9) rotate(-5deg);
        box-shadow: 0 0 18px rgba(156, 39, 176, 0.5);
        filter: hue-rotate(360deg);
    }
    90% { 
        transform: translate(115px, -35%) scale(1.15) rotate(65deg);
        box-shadow: 0 0 32px rgba(156, 39, 176, 0.9);
        filter: hue-rotate(90deg);
    }
}

/* Time Machine - Temporal mining effects */
@keyframes timeMachineMine {
    0%, 100% { 
        transform: translate(80px, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) sepia(0.3);
    }
    8% { 
        transform: translate(100px, -40%) scale(1.4) rotate(90deg);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) sepia(0.8);
    }
    16% { 
        transform: translate(60px, -60%) scale(0.6) rotate(-90deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    24% { 
        transform: translate(105px, -45%) scale(1.3) rotate(60deg);
        filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.9)) sepia(0.6);
    }
    32% { 
        transform: translate(55px, -55%) scale(0.7) rotate(-60deg);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5)) sepia(0.2);
    }
    40% { 
        transform: translate(110px, -35%) scale(1.35) rotate(120deg);
        filter: drop-shadow(0 0 45px rgba(255, 215, 0, 1)) sepia(1);
    }
    48% { 
        transform: translate(45px, -65%) scale(0.65) rotate(-120deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3)) sepia(0);
    }
    56% { 
        transform: translate(105px, -40%) scale(1.2) rotate(45deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)) sepia(0.7);
    }
    64% { 
        transform: translate(50px, -60%) scale(0.8) rotate(-45deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) sepia(0.1);
    }
    72% { 
        transform: translate(110px, -35%) scale(1.25) rotate(75deg);
        filter: drop-shadow(0 0 38px rgba(255, 215, 0, 0.9)) sepia(0.9);
    }
    80% { 
        transform: translate(40px, -70%) scale(0.75) rotate(-75deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    88% { 
        transform: translate(100px, -45%) scale(1.15) rotate(30deg);
        filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.7)) sepia(0.5);
    }
    96% { 
        transform: translate(60px, -55%) scale(0.85) rotate(-30deg);
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.5)) sepia(0.3);
    }
}

@keyframes timeMachineMine2 {
    0%, 100% { 
        transform: translate(85px, -45%) scale(1) rotate(15deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) sepia(0.3);
    }
    8% { 
        transform: translate(105px, -35%) scale(1.4) rotate(105deg);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) sepia(0.8);
    }
    16% { 
        transform: translate(65px, -55%) scale(0.6) rotate(-75deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    24% { 
        transform: translate(110px, -40%) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.9)) sepia(0.6);
    }
    32% { 
        transform: translate(60px, -50%) scale(0.7) rotate(-45deg);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5)) sepia(0.2);
    }
    40% { 
        transform: translate(115px, -30%) scale(1.35) rotate(135deg);
        filter: drop-shadow(0 0 45px rgba(255, 215, 0, 1)) sepia(1);
    }
    48% { 
        transform: translate(50px, -60%) scale(0.65) rotate(-105deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3)) sepia(0);
    }
    56% { 
        transform: translate(110px, -35%) scale(1.2) rotate(60deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)) sepia(0.7);
    }
    64% { 
        transform: translate(55px, -55%) scale(0.8) rotate(-30deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) sepia(0.1);
    }
    72% { 
        transform: translate(115px, -30%) scale(1.25) rotate(90deg);
        filter: drop-shadow(0 0 38px rgba(255, 215, 0, 0.9)) sepia(0.9);
    }
    80% { 
        transform: translate(45px, -65%) scale(0.75) rotate(-60deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    88% { 
        transform: translate(105px, -40%) scale(1.15) rotate(45deg);
        filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.7)) sepia(0.5);
    }
    96% { 
        transform: translate(65px, -50%) scale(0.85) rotate(-15deg);
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.5)) sepia(0.3);
    }
}

@keyframes timeMachineMine3 {
    0%, 100% { 
        transform: translate(75px, -55%) scale(1) rotate(-15deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) sepia(0.3);
    }
    8% { 
        transform: translate(95px, -45%) scale(1.4) rotate(75deg);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) sepia(0.8);
    }
    16% { 
        transform: translate(55px, -65%) scale(0.6) rotate(-105deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    24% { 
        transform: translate(100px, -50%) scale(1.3) rotate(45deg);
        filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.9)) sepia(0.6);
    }
    32% { 
        transform: translate(50px, -60%) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5)) sepia(0.2);
    }
    40% { 
        transform: translate(105px, -40%) scale(1.35) rotate(105deg);
        filter: drop-shadow(0 0 45px rgba(255, 215, 0, 1)) sepia(1);
    }
    48% { 
        transform: translate(40px, -70%) scale(0.65) rotate(-135deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3)) sepia(0);
    }
    56% { 
        transform: translate(100px, -45%) scale(1.2) rotate(30deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)) sepia(0.7);
    }
    64% { 
        transform: translate(45px, -65%) scale(0.8) rotate(-60deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) sepia(0.1);
    }
    72% { 
        transform: translate(105px, -40%) scale(1.25) rotate(60deg);
        filter: drop-shadow(0 0 38px rgba(255, 215, 0, 0.9)) sepia(0.9);
    }
    80% { 
        transform: translate(35px, -75%) scale(0.75) rotate(-90deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    88% { 
        transform: translate(95px, -50%) scale(1.15) rotate(15deg);
        filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.7)) sepia(0.5);
    }
    96% { 
        transform: translate(55px, -60%) scale(0.85) rotate(-45deg);
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.5)) sepia(0.3);
    }
}

@keyframes timeMachineMine4 {
    0%, 100% { 
        transform: translate(90px, -40%) scale(1) rotate(30deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) sepia(0.3);
    }
    8% { 
        transform: translate(110px, -30%) scale(1.4) rotate(120deg);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) sepia(0.8);
    }
    16% { 
        transform: translate(70px, -50%) scale(0.6) rotate(-60deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    24% { 
        transform: translate(115px, -35%) scale(1.3) rotate(90deg);
        filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.9)) sepia(0.6);
    }
    32% { 
        transform: translate(65px, -45%) scale(0.7) rotate(-30deg);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5)) sepia(0.2);
    }
    40% { 
        transform: translate(120px, -25%) scale(1.35) rotate(150deg);
        filter: drop-shadow(0 0 45px rgba(255, 215, 0, 1)) sepia(1);
    }
    48% { 
        transform: translate(55px, -55%) scale(0.65) rotate(-90deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3)) sepia(0);
    }
    56% { 
        transform: translate(115px, -30%) scale(1.2) rotate(75deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)) sepia(0.7);
    }
    64% { 
        transform: translate(60px, -50%) scale(0.8) rotate(-15deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) sepia(0.1);
    }
    72% { 
        transform: translate(120px, -20%) scale(1.25) rotate(105deg);
        filter: drop-shadow(0 0 38px rgba(255, 215, 0, 0.9)) sepia(0.9);
    }
    80% { 
        transform: translate(50px, -60%) scale(0.75) rotate(-45deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    88% { 
        transform: translate(110px, -35%) scale(1.15) rotate(60deg);
        filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.7)) sepia(0.5);
    }
    96% { 
        transform: translate(70px, -45%) scale(0.85) rotate(0deg);
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.5)) sepia(0.3);
    }
}

@keyframes timeMachineMine5 {
    0%, 100% { 
        transform: translate(70px, -60%) scale(1) rotate(-30deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) sepia(0.3);
    }
    8% { 
        transform: translate(90px, -50%) scale(1.4) rotate(60deg);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)) sepia(0.8);
    }
    16% { 
        transform: translate(50px, -70%) scale(0.6) rotate(-120deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    24% { 
        transform: translate(95px, -55%) scale(1.3) rotate(30deg);
        filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.9)) sepia(0.6);
    }
    32% { 
        transform: translate(45px, -65%) scale(0.7) rotate(-90deg);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5)) sepia(0.2);
    }
    40% { 
        transform: translate(100px, -45%) scale(1.35) rotate(90deg);
        filter: drop-shadow(0 0 45px rgba(255, 215, 0, 1)) sepia(1);
    }
    48% { 
        transform: translate(35px, -75%) scale(0.65) rotate(-150deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3)) sepia(0);
    }
    56% { 
        transform: translate(95px, -50%) scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)) sepia(0.7);
    }
    64% { 
        transform: translate(40px, -70%) scale(0.8) rotate(-75deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) sepia(0.1);
    }
    72% { 
        transform: translate(100px, -45%) scale(1.25) rotate(45deg);
        filter: drop-shadow(0 0 38px rgba(255, 215, 0, 0.9)) sepia(0.9);
    }
    80% { 
        transform: translate(30px, -80%) scale(0.75) rotate(-105deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.4)) sepia(0);
    }
    88% { 
        transform: translate(90px, -55%) scale(1.15) rotate(0deg);
        filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.7)) sepia(0.5);
    }
    96% { 
        transform: translate(50px, -65%) scale(0.85) rotate(-60deg);
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.5)) sepia(0.3);
    }
}

/* Reality Bender - Reality-warping effects */
@keyframes realityBenderMine {
    0%, 100% { 
        transform: translate(80px, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8)) invert(0);
    }
    7% { 
        transform: translate(100px, -40%) scale(1.5) rotate(120deg);
        filter: drop-shadow(0 0 50px rgba(255, 0, 255, 1)) invert(0.3);
    }
    14% { 
        transform: translate(60px, -60%) scale(0.5) rotate(-120deg);
        filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3)) invert(0.7);
    }
    21% { 
        transform: translate(105px, -45%) scale(1.4) rotate(90deg);
        filter: drop-shadow(0 0 45px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    28% { 
        transform: translate(55px, -55%) scale(0.6) rotate(-90deg);
        filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4)) invert(0.9);
    }
    35% { 
        transform: translate(110px, -35%) scale(1.45) rotate(150deg);
        filter: drop-shadow(0 0 55px rgba(255, 0, 255, 1)) invert(0);
    }
    42% { 
        transform: translate(45px, -65%) scale(0.55) rotate(-150deg);
        filter: drop-shadow(0 0 6px rgba(255, 0, 255, 0.2)) invert(1);
    }
    49% { 
        transform: translate(100px, -40%) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)) invert(0.2);
    }
    56% { 
        transform: translate(55px, -60%) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)) invert(0.8);
    }
    63% { 
        transform: translate(105px, -45%) scale(1.35) rotate(105deg);
        filter: drop-shadow(0 0 48px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    70% { 
        transform: translate(50px, -65%) scale(0.65) rotate(-105deg);
        filter: drop-shadow(0 0 9px rgba(255, 0, 255, 0.3)) invert(0.9);
    }
    77% { 
        transform: translate(110px, -40%) scale(1.25) rotate(60deg);
        filter: drop-shadow(0 0 35px rgba(255, 0, 255, 0.7)) invert(0.3);
    }
    84% { 
        transform: translate(55px, -60%) scale(0.75) rotate(-60deg);
        filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.4)) invert(0.7);
    }
    91% { 
        transform: translate(100px, -45%) scale(1.2) rotate(135deg);
        filter: drop-shadow(0 0 32px rgba(255, 0, 255, 0.8)) invert(0);
    }
    98% { 
        transform: translate(50px, -65%) scale(0.8) rotate(-135deg);
        filter: drop-shadow(0 0 11px rgba(255, 0, 255, 0.5)) invert(0.6);
    }
}

@keyframes realityBenderMine2 {
    0%, 100% { 
        transform: translate(85px, -45%) scale(1) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8)) invert(0);
    }
    7% { 
        transform: translate(105px, -35%) scale(1.5) rotate(135deg);
        filter: drop-shadow(0 0 50px rgba(255, 0, 255, 1)) invert(0.3);
    }
    14% { 
        transform: translate(65px, -55%) scale(0.5) rotate(-105deg);
        filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3)) invert(0.7);
    }
    21% { 
        transform: translate(110px, -40%) scale(1.4) rotate(105deg);
        filter: drop-shadow(0 0 45px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    28% { 
        transform: translate(60px, -50%) scale(0.6) rotate(-75deg);
        filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4)) invert(0.9);
    }
    35% { 
        transform: translate(115px, -30%) scale(1.45) rotate(165deg);
        filter: drop-shadow(0 0 55px rgba(255, 0, 255, 1)) invert(0);
    }
    42% { 
        transform: translate(50px, -60%) scale(0.55) rotate(-135deg);
        filter: drop-shadow(0 0 6px rgba(255, 0, 255, 0.2)) invert(1);
    }
    49% { 
        transform: translate(105px, -35%) scale(1.3) rotate(90deg);
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)) invert(0.2);
    }
    56% { 
        transform: translate(60px, -55%) scale(0.7) rotate(-60deg);
        filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)) invert(0.8);
    }
    63% { 
        transform: translate(110px, -40%) scale(1.35) rotate(120deg);
        filter: drop-shadow(0 0 48px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    70% { 
        transform: translate(55px, -60%) scale(0.65) rotate(-90deg);
        filter: drop-shadow(0 0 9px rgba(255, 0, 255, 0.3)) invert(0.9);
    }
    77% { 
        transform: translate(115px, -35%) scale(1.25) rotate(75deg);
        filter: drop-shadow(0 0 35px rgba(255, 0, 255, 0.7)) invert(0.3);
    }
    84% { 
        transform: translate(60px, -55%) scale(0.75) rotate(-45deg);
        filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.4)) invert(0.7);
    }
    91% { 
        transform: translate(105px, -40%) scale(1.2) rotate(150deg);
        filter: drop-shadow(0 0 32px rgba(255, 0, 255, 0.8)) invert(0);
    }
    98% { 
        transform: translate(55px, -60%) scale(0.8) rotate(-120deg);
        filter: drop-shadow(0 0 11px rgba(255, 0, 255, 0.5)) invert(0.6);
    }
}

@keyframes realityBenderMine3 {
    0%, 100% { 
        transform: translate(75px, -55%) scale(1) rotate(-15deg);
        filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8)) invert(0);
    }
    7% { 
        transform: translate(95px, -45%) scale(1.5) rotate(105deg);
        filter: drop-shadow(0 0 50px rgba(255, 0, 255, 1)) invert(0.3);
    }
    14% { 
        transform: translate(55px, -65%) scale(0.5) rotate(-135deg);
        filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3)) invert(0.7);
    }
    21% { 
        transform: translate(100px, -50%) scale(1.4) rotate(75deg);
        filter: drop-shadow(0 0 45px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    28% { 
        transform: translate(50px, -60%) scale(0.6) rotate(-105deg);
        filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4)) invert(0.9);
    }
    35% { 
        transform: translate(105px, -40%) scale(1.45) rotate(135deg);
        filter: drop-shadow(0 0 55px rgba(255, 0, 255, 1)) invert(0);
    }
    42% { 
        transform: translate(40px, -70%) scale(0.55) rotate(-165deg);
        filter: drop-shadow(0 0 6px rgba(255, 0, 255, 0.2)) invert(1);
    }
    49% { 
        transform: translate(95px, -45%) scale(1.3) rotate(60deg);
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)) invert(0.2);
    }
    56% { 
        transform: translate(45px, -65%) scale(0.7) rotate(-90deg);
        filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)) invert(0.8);
    }
    63% { 
        transform: translate(100px, -45%) scale(1.35) rotate(90deg);
        filter: drop-shadow(0 0 48px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    70% { 
        transform: translate(45px, -70%) scale(0.65) rotate(-120deg);
        filter: drop-shadow(0 0 9px rgba(255, 0, 255, 0.3)) invert(0.9);
    }
    77% { 
        transform: translate(105px, -40%) scale(1.25) rotate(45deg);
        filter: drop-shadow(0 0 35px rgba(255, 0, 255, 0.7)) invert(0.3);
    }
    84% { 
        transform: translate(50px, -65%) scale(0.75) rotate(-75deg);
        filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.4)) invert(0.7);
    }
    91% { 
        transform: translate(95px, -50%) scale(1.2) rotate(120deg);
        filter: drop-shadow(0 0 32px rgba(255, 0, 255, 0.8)) invert(0);
    }
    98% { 
        transform: translate(50px, -60%) scale(0.8) rotate(-150deg);
        filter: drop-shadow(0 0 11px rgba(255, 0, 255, 0.5)) invert(0.6);
    }
}

@keyframes realityBenderMine4 {
    0%, 100% { 
        transform: translate(90px, -40%) scale(1) rotate(30deg);
        filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8)) invert(0);
    }
    7% { 
        transform: translate(110px, -30%) scale(1.5) rotate(150deg);
        filter: drop-shadow(0 0 50px rgba(255, 0, 255, 1)) invert(0.3);
    }
    14% { 
        transform: translate(70px, -50%) scale(0.5) rotate(-90deg);
        filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3)) invert(0.7);
    }
    21% { 
        transform: translate(115px, -35%) scale(1.4) rotate(120deg);
        filter: drop-shadow(0 0 45px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    28% { 
        transform: translate(65px, -45%) scale(0.6) rotate(-60deg);
        filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4)) invert(0.9);
    }
    35% { 
        transform: translate(120px, -25%) scale(1.45) rotate(180deg);
        filter: drop-shadow(0 0 55px rgba(255, 0, 255, 1)) invert(0);
    }
    42% { 
        transform: translate(55px, -55%) scale(0.55) rotate(-120deg);
        filter: drop-shadow(0 0 6px rgba(255, 0, 255, 0.2)) invert(1);
    }
    49% { 
        transform: translate(110px, -30%) scale(1.3) rotate(105deg);
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)) invert(0.2);
    }
    56% { 
        transform: translate(60px, -50%) scale(0.7) rotate(-45deg);
        filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)) invert(0.8);
    }
    63% { 
        transform: translate(115px, -35%) scale(1.35) rotate(135deg);
        filter: drop-shadow(0 0 48px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    70% { 
        transform: translate(60px, -55%) scale(0.65) rotate(-75deg);
        filter: drop-shadow(0 0 9px rgba(255, 0, 255, 0.3)) invert(0.9);
    }
    77% { 
        transform: translate(120px, -30%) scale(1.25) rotate(90deg);
        filter: drop-shadow(0 0 35px rgba(255, 0, 255, 0.7)) invert(0.3);
    }
    84% { 
        transform: translate(65px, -50%) scale(0.75) rotate(-30deg);
        filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.4)) invert(0.7);
    }
    91% { 
        transform: translate(110px, -35%) scale(1.2) rotate(165deg);
        filter: drop-shadow(0 0 32px rgba(255, 0, 255, 0.8)) invert(0);
    }
    98% { 
        transform: translate(65px, -45%) scale(0.8) rotate(-105deg);
        filter: drop-shadow(0 0 11px rgba(255, 0, 255, 0.5)) invert(0.6);
    }
}

@keyframes realityBenderMine5 {
    0%, 100% { 
        transform: translate(70px, -60%) scale(1) rotate(-30deg);
        filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8)) invert(0);
    }
    7% { 
        transform: translate(90px, -50%) scale(1.5) rotate(90deg);
        filter: drop-shadow(0 0 50px rgba(255, 0, 255, 1)) invert(0.3);
    }
    14% { 
        transform: translate(50px, -70%) scale(0.5) rotate(-150deg);
        filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3)) invert(0.7);
    }
    21% { 
        transform: translate(95px, -55%) scale(1.4) rotate(45deg);
        filter: drop-shadow(0 0 45px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    28% { 
        transform: translate(45px, -65%) scale(0.6) rotate(-135deg);
        filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4)) invert(0.9);
    }
    35% { 
        transform: translate(100px, -45%) scale(1.45) rotate(105deg);
        filter: drop-shadow(0 0 55px rgba(255, 0, 255, 1)) invert(0);
    }
    42% { 
        transform: translate(35px, -75%) scale(0.55) rotate(-180deg);
        filter: drop-shadow(0 0 6px rgba(255, 0, 255, 0.2)) invert(1);
    }
    49% { 
        transform: translate(90px, -50%) scale(1.3) rotate(30deg);
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)) invert(0.2);
    }
    56% { 
        transform: translate(40px, -70%) scale(0.7) rotate(-105deg);
        filter: drop-shadow(0 0 12px rgba(255, 0, 255, 0.5)) invert(0.8);
    }
    63% { 
        transform: translate(95px, -50%) scale(1.35) rotate(75deg);
        filter: drop-shadow(0 0 48px rgba(255, 0, 255, 0.9)) invert(0.1);
    }
    70% { 
        transform: translate(40px, -75%) scale(0.65) rotate(-150deg);
        filter: drop-shadow(0 0 9px rgba(255, 0, 255, 0.3)) invert(0.9);
    }
    77% { 
        transform: translate(100px, -45%) scale(1.25) rotate(60deg);
        filter: drop-shadow(0 0 35px rgba(255, 0, 255, 0.7)) invert(0.3);
    }
    84% { 
        transform: translate(45px, -70%) scale(0.75) rotate(-90deg);
        filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.4)) invert(0.7);
    }
    91% { 
        transform: translate(90px, -55%) scale(1.2) rotate(150deg);
        filter: drop-shadow(0 0 32px rgba(255, 0, 255, 0.8)) invert(0);
    }
    98% { 
        transform: translate(45px, -65%) scale(0.8) rotate(-135deg);
        filter: drop-shadow(0 0 11px rgba(255, 0, 255, 0.5)) invert(0.6);
    }
}

/* Dimension Breaker - Dimensional mining */
@keyframes dimensionBreakerMine {
    0%, 100% { 
        transform: translate(80px, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8)) blur(0px);
    }
    8% { 
        transform: translate(100px, -35%) scale(1.3) rotate(60deg);
        filter: drop-shadow(0 0 35px rgba(156, 39, 176, 1)) blur(1px);
    }
    16% { 
        transform: translate(60px, -65%) scale(0.7) rotate(-60deg);
        filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    24% { 
        transform: translate(105px, -40%) scale(1.2) rotate(45deg);
        filter: drop-shadow(0 0 30px rgba(156, 39, 176, 0.9)) blur(0.5px);
    }
    32% { 
        transform: translate(55px, -60%) scale(0.8) rotate(-45deg);
        filter: drop-shadow(0 0 12px rgba(156, 39, 176, 0.5)) blur(0px);
    }
    40% { 
        transform: translate(110px, -30%) scale(1.25) rotate(90deg);
        filter: drop-shadow(0 0 40px rgba(156, 39, 176, 1)) blur(1.5px);
    }
    48% { 
        transform: translate(50px, -70%) scale(0.75) rotate(-90deg);
        filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.3)) blur(0px);
    }
    56% { 
        transform: translate(100px, -40%) scale(1.15) rotate(30deg);
        filter: drop-shadow(0 0 25px rgba(156, 39, 176, 0.7)) blur(0.3px);
    }
    64% { 
        transform: translate(55px, -60%) scale(0.85) rotate(-30deg);
        filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.6)) blur(0px);
    }
    72% { 
        transform: translate(105px, -35%) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 38px rgba(156, 39, 176, 0.9)) blur(1px);
    }
    80% { 
        transform: translate(45px, -65%) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 9px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    88% { 
        transform: translate(95px, -45%) scale(1.1) rotate(15deg);
        filter: drop-shadow(0 0 22px rgba(156, 39, 176, 0.6)) blur(0.2px);
    }
    96% { 
        transform: translate(55px, -55%) scale(0.9) rotate(-15deg);
        filter: drop-shadow(0 0 18px rgba(156, 39, 176, 0.5)) blur(0px);
    }
}

@keyframes dimensionBreakerMine2 {
    0%, 100% { 
        transform: translate(85px, -45%) scale(1) rotate(15deg);
        filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8)) blur(0px);
    }
    8% { 
        transform: translate(105px, -30%) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 35px rgba(156, 39, 176, 1)) blur(1px);
    }
    16% { 
        transform: translate(65px, -60%) scale(0.7) rotate(-45deg);
        filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    24% { 
        transform: translate(110px, -35%) scale(1.2) rotate(60deg);
        filter: drop-shadow(0 0 30px rgba(156, 39, 176, 0.9)) blur(0.5px);
    }
    32% { 
        transform: translate(60px, -55%) scale(0.8) rotate(-30deg);
        filter: drop-shadow(0 0 12px rgba(156, 39, 176, 0.5)) blur(0px);
    }
    40% { 
        transform: translate(115px, -25%) scale(1.25) rotate(105deg);
        filter: drop-shadow(0 0 40px rgba(156, 39, 176, 1)) blur(1.5px);
    }
    48% { 
        transform: translate(55px, -65%) scale(0.75) rotate(-75deg);
        filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.3)) blur(0px);
    }
    56% { 
        transform: translate(105px, -35%) scale(1.15) rotate(45deg);
        filter: drop-shadow(0 0 25px rgba(156, 39, 176, 0.7)) blur(0.3px);
    }
    64% { 
        transform: translate(60px, -55%) scale(0.85) rotate(-15deg);
        filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.6)) blur(0px);
    }
    72% { 
        transform: translate(110px, -30%) scale(1.3) rotate(90deg);
        filter: drop-shadow(0 0 38px rgba(156, 39, 176, 0.9)) blur(1px);
    }
    80% { 
        transform: translate(50px, -60%) scale(0.7) rotate(-60deg);
        filter: drop-shadow(0 0 9px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    88% { 
        transform: translate(100px, -40%) scale(1.1) rotate(30deg);
        filter: drop-shadow(0 0 22px rgba(156, 39, 176, 0.6)) blur(0.2px);
    }
    96% { 
        transform: translate(60px, -50%) scale(0.9) rotate(-45deg);
        filter: drop-shadow(0 0 18px rgba(156, 39, 176, 0.5)) blur(0px);
    }
}

@keyframes dimensionBreakerMine3 {
    0%, 100% { 
        transform: translate(75px, -55%) scale(1) rotate(-15deg);
        filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8)) blur(0px);
    }
    8% { 
        transform: translate(95px, -40%) scale(1.3) rotate(45deg);
        filter: drop-shadow(0 0 35px rgba(156, 39, 176, 1)) blur(1px);
    }
    16% { 
        transform: translate(55px, -70%) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    24% { 
        transform: translate(100px, -45%) scale(1.2) rotate(30deg);
        filter: drop-shadow(0 0 30px rgba(156, 39, 176, 0.9)) blur(0.5px);
    }
    32% { 
        transform: translate(50px, -65%) scale(0.8) rotate(-60deg);
        filter: drop-shadow(0 0 12px rgba(156, 39, 176, 0.5)) blur(0px);
    }
    40% { 
        transform: translate(105px, -35%) scale(1.25) rotate(75deg);
        filter: drop-shadow(0 0 40px rgba(156, 39, 176, 1)) blur(1.5px);
    }
    48% { 
        transform: translate(45px, -75%) scale(0.75) rotate(-90deg);
        filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.3)) blur(0px);
    }
    56% { 
        transform: translate(95px, -45%) scale(1.15) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(156, 39, 176, 0.7)) blur(0.3px);
    }
    64% { 
        transform: translate(50px, -65%) scale(0.85) rotate(-45deg);
        filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.6)) blur(0px);
    }
    72% { 
        transform: translate(100px, -40%) scale(1.3) rotate(60deg);
        filter: drop-shadow(0 0 38px rgba(156, 39, 176, 0.9)) blur(1px);
    }
    80% { 
        transform: translate(40px, -70%) scale(0.7) rotate(-105deg);
        filter: drop-shadow(0 0 9px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    88% { 
        transform: translate(90px, -50%) scale(1.1) rotate(45deg);
        filter: drop-shadow(0 0 22px rgba(156, 39, 176, 0.6)) blur(0.2px);
    }
    96% { 
        transform: translate(50px, -60%) scale(0.9) rotate(-30deg);
        filter: drop-shadow(0 0 18px rgba(156, 39, 176, 0.5)) blur(0px);
    }
}

@keyframes dimensionBreakerMine4 {
    0%, 100% { 
        transform: translate(90px, -40%) scale(1) rotate(30deg);
        filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8)) blur(0px);
    }
    8% { 
        transform: translate(110px, -25%) scale(1.3) rotate(90deg);
        filter: drop-shadow(0 0 35px rgba(156, 39, 176, 1)) blur(1px);
    }
    16% { 
        transform: translate(70px, -55%) scale(0.7) rotate(-30deg);
        filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    24% { 
        transform: translate(115px, -30%) scale(1.2) rotate(75deg);
        filter: drop-shadow(0 0 30px rgba(156, 39, 176, 0.9)) blur(0.5px);
    }
    32% { 
        transform: translate(65px, -50%) scale(0.8) rotate(-15deg);
        filter: drop-shadow(0 0 12px rgba(156, 39, 176, 0.5)) blur(0px);
    }
    40% { 
        transform: translate(120px, -20%) scale(1.25) rotate(120deg);
        filter: drop-shadow(0 0 40px rgba(156, 39, 176, 1)) blur(1.5px);
    }
    48% { 
        transform: translate(60px, -60%) scale(0.75) rotate(-60deg);
        filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.3)) blur(0px);
    }
    56% { 
        transform: translate(110px, -30%) scale(1.15) rotate(60deg);
        filter: drop-shadow(0 0 25px rgba(156, 39, 176, 0.7)) blur(0.3px);
    }
    64% { 
        transform: translate(65px, -50%) scale(0.85) rotate(-45deg);
        filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.6)) blur(0px);
    }
    72% { 
        transform: translate(115px, -25%) scale(1.3) rotate(105deg);
        filter: drop-shadow(0 0 38px rgba(156, 39, 176, 0.9)) blur(1px);
    }
    80% { 
        transform: translate(55px, -65%) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 9px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    88% { 
        transform: translate(105px, -35%) scale(1.1) rotate(45deg);
        filter: drop-shadow(0 0 22px rgba(156, 39, 176, 0.6)) blur(0.2px);
    }
    96% { 
        transform: translate(65px, -45%) scale(0.9) rotate(-15deg);
        filter: drop-shadow(0 0 18px rgba(156, 39, 176, 0.5)) blur(0px);
    }
}

@keyframes dimensionBreakerMine5 {
    0%, 100% { 
        transform: translate(70px, -60%) scale(1) rotate(-30deg);
        filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8)) blur(0px);
    }
    8% { 
        transform: translate(90px, -45%) scale(1.3) rotate(30deg);
        filter: drop-shadow(0 0 35px rgba(156, 39, 176, 1)) blur(1px);
    }
    16% { 
        transform: translate(50px, -75%) scale(0.7) rotate(-90deg);
        filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    24% { 
        transform: translate(95px, -50%) scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 30px rgba(156, 39, 176, 0.9)) blur(0.5px);
    }
    32% { 
        transform: translate(45px, -70%) scale(0.8) rotate(-75deg);
        filter: drop-shadow(0 0 12px rgba(156, 39, 176, 0.5)) blur(0px);
    }
    40% { 
        transform: translate(100px, -40%) scale(1.25) rotate(60deg);
        filter: drop-shadow(0 0 40px rgba(156, 39, 176, 1)) blur(1.5px);
    }
    48% { 
        transform: translate(40px, -80%) scale(0.75) rotate(-105deg);
        filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.3)) blur(0px);
    }
    56% { 
        transform: translate(90px, -50%) scale(1.15) rotate(30deg);
        filter: drop-shadow(0 0 25px rgba(156, 39, 176, 0.7)) blur(0.3px);
    }
    64% { 
        transform: translate(45px, -70%) scale(0.85) rotate(-60deg);
        filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.6)) blur(0px);
    }
    72% { 
        transform: translate(95px, -45%) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 38px rgba(156, 39, 176, 0.9)) blur(1px);
    }
    80% { 
        transform: translate(35px, -75%) scale(0.7) rotate(-120deg);
        filter: drop-shadow(0 0 9px rgba(156, 39, 176, 0.4)) blur(0px);
    }
    88% { 
        transform: translate(85px, -55%) scale(1.1) rotate(60deg);
        filter: drop-shadow(0 0 22px rgba(156, 39, 176, 0.6)) blur(0.2px);
    }
    96% { 
        transform: translate(45px, -65%) scale(0.9) rotate(-45deg);
        filter: drop-shadow(0 0 18px rgba(156, 39, 176, 0.5)) blur(0px);
    }
}

/* Cosmic Miner - Space-time mining */
@keyframes cosmicMinerMine {
    0%, 100% { 
        transform: translate(-15px, 15px) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(138, 43, 226, 0.8)) saturate(1);
    }
    6% { 
        transform: translate(-30px, 35px) scale(1.5) rotate(120deg);
        filter: drop-shadow(0 0 50px rgba(138, 43, 226, 1)) saturate(2);
    }
    12% { 
        transform: translate(0px, -5px) scale(0.5) rotate(-120deg);
        filter: drop-shadow(0 0 5px rgba(138, 43, 226, 0.2)) saturate(0.5);
    }
    18% { 
        transform: translate(-40px, 10px) scale(1.4) rotate(90deg);
        filter: drop-shadow(0 0 45px rgba(138, 43, 226, 0.9)) saturate(1.8);
    }
    24% { 
        transform: translate(10px, 25px) scale(0.6) rotate(-90deg);
        filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.3)) saturate(0.3);
    }
    30% { 
        transform: translate(-45px, 20px) scale(1.45) rotate(150deg);
        filter: drop-shadow(0 0 55px rgba(138, 43, 226, 1)) saturate(2.5);
    }
    36% { 
        transform: translate(-5px, 5px) scale(0.55) rotate(-150deg);
        filter: drop-shadow(0 0 6px rgba(138, 43, 226, 0.1)) saturate(0.2);
    }
    42% { 
        transform: translate(-35px, 30px) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.8)) saturate(1.5);
    }
    48% { 
        transform: translate(5px, 10px) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 12px rgba(138, 43, 226, 0.4)) saturate(0.4);
    }
    54% { 
        transform: translate(-40px, 15px) scale(1.35) rotate(105deg);
        filter: drop-shadow(0 0 48px rgba(138, 43, 226, 0.9)) saturate(2.2);
    }
    60% { 
        transform: translate(-5px, 20px) scale(0.65) rotate(-105deg);
        filter: drop-shadow(0 0 9px rgba(138, 43, 226, 0.3)) saturate(0.1);
    }
    66% { 
        transform: translate(-30px, 25px) scale(1.25) rotate(60deg);
        filter: drop-shadow(0 0 35px rgba(138, 43, 226, 0.7)) saturate(1.3);
    }
    72% { 
        transform: translate(5px, 15px) scale(0.75) rotate(-60deg);
        filter: drop-shadow(0 0 14px rgba(138, 43, 226, 0.5)) saturate(0.6);
    }
    78% { 
        transform: translate(-35px, 10px) scale(1.4) rotate(135deg);
        filter: drop-shadow(0 0 42px rgba(138, 43, 226, 0.8)) saturate(1.9);
    }
    84% { 
        transform: translate(0px, 25px) scale(0.6) rotate(-135deg);
        filter: drop-shadow(0 0 7px rgba(138, 43, 226, 0.2)) saturate(0.2);
    }
    90% { 
        transform: translate(-40px, 30px) scale(1.2) rotate(45deg);
        filter: drop-shadow(0 0 32px rgba(138, 43, 226, 0.6)) saturate(1.1);
    }
    96% { 
        transform: translate(-10px, 20px) scale(0.8) rotate(-45deg);
        filter: drop-shadow(0 0 16px rgba(138, 43, 226, 0.4)) saturate(0.8);
    }
}

/* Galaxy Crusher - Galactic destruction */
@keyframes galaxyCrusherMine {
    0%, 100% { 
        transform: translate(12px, 12px) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(255, 69, 0, 0.8)) contrast(1);
    }
    5% { 
        transform: translate(25px, 35px) scale(1.6) rotate(180deg);
        filter: drop-shadow(0 0 60px rgba(255, 69, 0, 1)) contrast(2);
    }
    10% { 
        transform: translate(-5px, -10px) scale(0.4) rotate(-180deg);
        filter: drop-shadow(0 0 3px rgba(255, 69, 0, 0.1)) contrast(0.5);
    }
    15% { 
        transform: translate(35px, -5px) scale(1.5) rotate(135deg);
        filter: drop-shadow(0 0 55px rgba(255, 69, 0, 0.9)) contrast(1.8);
    }
    20% { 
        transform: translate(-10px, 25px) scale(0.5) rotate(-135deg);
        filter: drop-shadow(0 0 5px rgba(255, 69, 0, 0.2)) contrast(0.3);
    }
    25% { 
        transform: translate(40px, -10px) scale(1.55) rotate(210deg);
        filter: drop-shadow(0 0 65px rgba(255, 69, 0, 1)) contrast(2.5);
    }
    30% { 
        transform: translate(5px, -15px) scale(0.45) rotate(-210deg);
        filter: drop-shadow(0 0 4px rgba(255, 69, 0, 0.1)) contrast(0.2);
    }
    35% { 
        transform: translate(30px, 20px) scale(1.4) rotate(90deg);
        filter: drop-shadow(0 0 50px rgba(255, 69, 0, 0.8)) contrast(1.6);
    }
    40% { 
        transform: translate(0px, 10px) scale(0.6) rotate(-90deg);
        filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.3)) contrast(0.4);
    }
    45% { 
        transform: translate(35px, 5px) scale(1.45) rotate(165deg);
        filter: drop-shadow(0 0 58px rgba(255, 69, 0, 0.9)) contrast(2.2);
    }
    50% { 
        transform: translate(-5px, 20px) scale(0.55) rotate(-165deg);
        filter: drop-shadow(0 0 6px rgba(255, 69, 0, 0.2)) contrast(0.1);
    }
    55% { 
        transform: translate(25px, 15px) scale(1.35) rotate(120deg);
        filter: drop-shadow(0 0 45px rgba(255, 69, 0, 0.7)) contrast(1.4);
    }
    60% { 
        transform: translate(5px, 25px) scale(0.65) rotate(-120deg);
        filter: drop-shadow(0 0 12px rgba(255, 69, 0, 0.4)) contrast(0.6);
    }
    65% { 
        transform: translate(30px, -5px) scale(1.5) rotate(195deg);
        filter: drop-shadow(0 0 52px rgba(255, 69, 0, 0.8)) contrast(1.9);
    }
    70% { 
        transform: translate(-5px, 30px) scale(0.5) rotate(-195deg);
        filter: drop-shadow(0 0 7px rgba(255, 69, 0, 0.2)) contrast(0.2);
    }
    75% { 
        transform: translate(35px, 25px) scale(1.3) rotate(75deg);
        filter: drop-shadow(0 0 38px rgba(255, 69, 0, 0.6)) contrast(1.2);
    }
    80% { 
        transform: translate(0px, 15px) scale(0.7) rotate(-75deg);
        filter: drop-shadow(0 0 14px rgba(255, 69, 0, 0.3)) contrast(0.8);
    }
    85% { 
        transform: translate(25px, 10px) scale(1.4) rotate(150deg);
        filter: drop-shadow(0 0 48px rgba(255, 69, 0, 0.7)) contrast(1.7);
    }
    90% { 
        transform: translate(-5px, 20px) scale(0.6) rotate(-150deg);
        filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.2)) contrast(0.3);
    }
    95% { 
        transform: translate(30px, 30px) scale(1.25) rotate(105deg);
        filter: drop-shadow(0 0 35px rgba(255, 69, 0, 0.5)) contrast(1.1);
    }
}

/* Universe Shaper - Reality manipulation */
@keyframes universeShaperMine {
    0%, 100% { 
        transform: translate(-12px, -12px) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 35px rgba(255, 20, 147, 0.8)) hue-rotate(0deg) brightness(1);
    }
    4% { 
        transform: translate(-25px, -35px) scale(1.7) rotate(240deg);
        filter: drop-shadow(0 0 70px rgba(255, 20, 147, 1)) hue-rotate(120deg) brightness(1.5);
    }
    8% { 
        transform: translate(5px, 5px) scale(0.3) rotate(-240deg);
        filter: drop-shadow(0 0 2px rgba(255, 20, 147, 0.1)) hue-rotate(240deg) brightness(0.5);
    }
    12% { 
        transform: translate(-35px, -10px) scale(1.6) rotate(180deg);
        filter: drop-shadow(0 0 65px rgba(255, 20, 147, 0.9)) hue-rotate(360deg) brightness(1.4);
    }
    16% { 
        transform: translate(10px, -25px) scale(0.4) rotate(-180deg);
        filter: drop-shadow(0 0 4px rgba(255, 20, 147, 0.2)) hue-rotate(180deg) brightness(0.3);
    }
    20% { 
        transform: translate(-40px, -20px) scale(1.65) rotate(300deg);
        filter: drop-shadow(0 0 75px rgba(255, 20, 147, 1)) hue-rotate(60deg) brightness(1.6);
    }
    24% { 
        transform: translate(5px, -15px) scale(0.35) rotate(-300deg);
        filter: drop-shadow(0 0 3px rgba(255, 20, 147, 0.1)) hue-rotate(300deg) brightness(0.2);
    }
    28% { 
        transform: translate(-30px, -30px) scale(1.5) rotate(120deg);
        filter: drop-shadow(0 0 60px rgba(255, 20, 147, 0.8)) hue-rotate(180deg) brightness(1.3);
    }
    32% { 
        transform: translate(0px, 10px) scale(0.5) rotate(-120deg);
        filter: drop-shadow(0 0 8px rgba(255, 20, 147, 0.3)) hue-rotate(120deg) brightness(0.4);
    }
    36% { 
        transform: translate(-35px, -5px) scale(1.55) rotate(270deg);
        filter: drop-shadow(0 0 68px rgba(255, 20, 147, 0.9)) hue-rotate(0deg) brightness(1.5);
    }
    40% { 
        transform: translate(10px, -20px) scale(0.45) rotate(-270deg);
        filter: drop-shadow(0 0 5px rgba(255, 20, 147, 0.2)) hue-rotate(270deg) brightness(0.3);
    }
    44% { 
        transform: translate(-30px, 15px) scale(1.45) rotate(150deg);
        filter: drop-shadow(0 0 55px rgba(255, 20, 147, 0.7)) hue-rotate(90deg) brightness(1.2);
    }
    48% { 
        transform: translate(0px, -10px) scale(0.55) rotate(-150deg);
        filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.4)) hue-rotate(210deg) brightness(0.6);
    }
    52% { 
        transform: translate(-25px, 10px) scale(1.6) rotate(330deg);
        filter: drop-shadow(0 0 62px rgba(255, 20, 147, 0.8)) hue-rotate(30deg) brightness(1.4);
    }
    56% { 
        transform: translate(5px, -25px) scale(0.4) rotate(-330deg);
        filter: drop-shadow(0 0 6px rgba(255, 20, 147, 0.2)) hue-rotate(330deg) brightness(0.4);
    }
    60% { 
        transform: translate(-30px, 20px) scale(1.35) rotate(90deg);
        filter: drop-shadow(0 0 45px rgba(255, 20, 147, 0.6)) hue-rotate(150deg) brightness(1.1);
    }
    64% { 
        transform: translate(0px, -15px) scale(0.65) rotate(-90deg);
        filter: drop-shadow(0 0 12px rgba(255, 20, 147, 0.3)) hue-rotate(270deg) brightness(0.7);
    }
    68% { 
        transform: translate(-25px, 15px) scale(1.5) rotate(210deg);
        filter: drop-shadow(0 0 58px rgba(255, 20, 147, 0.9)) hue-rotate(60deg) brightness(1.3);
    }
    72% { 
        transform: translate(5px, -20px) scale(0.5) rotate(-210deg);
        filter: drop-shadow(0 0 7px rgba(255, 20, 147, 0.2)) hue-rotate(240deg) brightness(0.5);
    }
    76% { 
        transform: translate(-20px, 10px) scale(1.4) rotate(180deg);
        filter: drop-shadow(0 0 50px rgba(255, 20, 147, 0.7)) hue-rotate(120deg) brightness(1.2);
    }
    80% { 
        transform: translate(0px, -25px) scale(0.6) rotate(-180deg);
        filter: drop-shadow(0 0 9px rgba(255, 20, 147, 0.3)) hue-rotate(300deg) brightness(0.6);
    }
    84% { 
        transform: translate(-25px, 5px) scale(1.55) rotate(240deg);
        filter: drop-shadow(0 0 65px rgba(255, 20, 147, 0.8)) hue-rotate(180deg) brightness(1.4);
    }
    88% { 
        transform: translate(5px, -30px) scale(0.45) rotate(-240deg);
        filter: drop-shadow(0 0 5px rgba(255, 20, 147, 0.2)) hue-rotate(60deg) brightness(0.4);
    }
    92% { 
        transform: translate(-20px, 15px) scale(1.45) rotate(300deg);
        filter: drop-shadow(0 0 55px rgba(255, 20, 147, 0.6)) hue-rotate(240deg) brightness(1.1);
    }
    96% { 
        transform: translate(0px, -35px) scale(0.55) rotate(-300deg);
        filter: drop-shadow(0 0 8px rgba(255, 20, 147, 0.3)) hue-rotate(120deg) brightness(0.5);
    }
}

/* Multiverse Harvester - Multidimensional mining */
@keyframes multiverseHarvesterMine {
    0%, 100% { 
        transform: translate(8px, -8px) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)) saturate(1) contrast(1);
    }
    3% { 
        transform: translate(20px, -35px) scale(1.8) rotate(360deg);
        filter: drop-shadow(0 0 80px rgba(255, 215, 0, 1)) saturate(3) contrast(2);
    }
    6% { 
        transform: translate(-10px, 10px) scale(0.2) rotate(-360deg);
        filter: drop-shadow(0 0 1px rgba(255, 215, 0, 0.05)) saturate(0.2) contrast(0.3);
    }
    9% { 
        transform: translate(35px, -5px) scale(1.7) rotate(270deg);
        filter: drop-shadow(0 0 75px rgba(255, 215, 0, 0.9)) saturate(2.5) contrast(1.8);
    }
    12% { 
        transform: translate(-15px, -25px) scale(0.3) rotate(-270deg);
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.1)) saturate(0.1) contrast(0.2);
    }
    15% { 
        transform: translate(40px, -15px) scale(1.75) rotate(420deg);
        filter: drop-shadow(0 0 85px rgba(255, 215, 0, 1)) saturate(3.5) contrast(2.5);
    }
    18% { 
        transform: translate(-5px, -10px) scale(0.25) rotate(-420deg);
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.1)) saturate(0.3) contrast(0.1);
    }
    21% { 
        transform: translate(30px, -30px) scale(1.6) rotate(180deg);
        filter: drop-shadow(0 0 70px rgba(255, 215, 0, 0.8)) saturate(2) contrast(1.5);
    }
    22% { 
        transform: translate(0px, 5px) scale(0.4) rotate(-180deg);
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.2)) saturate(0.5) contrast(0.4);
    }
    24% { 
        transform: translate(35px, -10px) scale(1.65) rotate(330deg);
        filter: drop-shadow(0 0 72px rgba(255, 215, 0, 0.9)) saturate(2.8) contrast(1.9);
    }
    27% { 
        transform: translate(-5px, -20px) scale(0.35) rotate(-330deg);
        filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.1)) saturate(0.2) contrast(0.3);
    }
    30% { 
        transform: translate(25px, -15px) scale(1.55) rotate(150deg);
        filter: drop-shadow(0 0 65px rgba(255, 215, 0, 0.7)) saturate(1.8) contrast(1.3);
    }
    33% { 
        transform: translate(5px, -5px) scale(0.45) rotate(-150deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3)) saturate(0.7) contrast(0.5);
    }
    36% { 
        transform: translate(30px, -5px) scale(1.7) rotate(390deg);
        filter: drop-shadow(0 0 78px rgba(255, 215, 0, 0.8)) saturate(3.2) contrast(2.2);
    }
    39% { 
        transform: translate(-10px, -25px) scale(0.3) rotate(-390deg);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.1)) saturate(0.1) contrast(0.2);
    }
    42% { 
        transform: translate(20px, -20px) scale(1.45) rotate(210deg);
        filter: drop-shadow(0 0 55px rgba(255, 215, 0, 0.6)) saturate(1.5) contrast(1.1);
    }
    45% { 
        transform: translate(0px, -10px) scale(0.55) rotate(-210deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) saturate(0.8) contrast(0.6);
    }
    48% { 
        transform: translate(25px, -10px) scale(1.6) rotate(300deg);
        filter: drop-shadow(0 0 68px rgba(255, 215, 0, 0.7)) saturate(2.2) contrast(1.7);
    }
    51% { 
        transform: translate(-5px, -20px) scale(0.4) rotate(-300deg);
        filter: drop-shadow(0 0 7px rgba(255, 215, 0, 0.2)) saturate(0.4) contrast(0.4);
    }
    54% { 
        transform: translate(20px, -5px) scale(1.5) rotate(240deg);
        filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.5)) saturate(1.2) contrast(0.9);
    }
    57% { 
        transform: translate(0px, -15px) scale(0.5) rotate(-240deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.3)) saturate(0.6) contrast(0.5);
    }
    60% { 
        transform: translate(15px, -15px) scale(1.65) rotate(360deg);
        filter: drop-shadow(0 0 70px rgba(255, 215, 0, 0.6)) saturate(2.5) contrast(1.8);
    }
    63% { 
        transform: translate(-5px, -25px) scale(0.35) rotate(-360deg);
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.1)) saturate(0.3) contrast(0.3);
    }
    66% { 
        transform: translate(10px, -10px) scale(1.55) rotate(180deg);
        filter: drop-shadow(0 0 58px rgba(255, 215, 0, 0.4)) saturate(1.8) contrast(1.2);
    }
    69% { 
        transform: translate(5px, -20px) scale(0.45) rotate(-180deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.2)) saturate(0.5) contrast(0.4);
    }
    72% { 
        transform: translate(20px, -10px) scale(1.6) rotate(270deg);
        filter: drop-shadow(0 0 65px rgba(255, 215, 0, 0.5)) saturate(2.8) contrast(1.6);
    }
    75% { 
        transform: translate(-10px, -20px) scale(0.4) rotate(-270deg);
        filter: drop-shadow(0 0 7px rgba(255, 215, 0, 0.1)) saturate(0.2) contrast(0.3);
    }
    78% { 
        transform: translate(15px, -15px) scale(1.45) rotate(330deg);
        filter: drop-shadow(0 0 52px rgba(255, 215, 0, 0.3)) saturate(1.5) contrast(0.8);
    }
    81% { 
        transform: translate(-5px, -25px) scale(0.55) rotate(-330deg);
        filter: drop-shadow(0 0 9px rgba(255, 215, 0, 0.2)) saturate(0.7) contrast(0.5);
    }
    84% { 
        transform: translate(10px, -20px) scale(1.7) rotate(420deg);
        filter: drop-shadow(0 0 75px rgba(255, 215, 0, 0.4)) saturate(3.5) contrast(1.9);
    }
    87% { 
        transform: translate(-15px, -25px) scale(0.3) rotate(-420deg);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.1)) saturate(0.1) contrast(0.2);
    }
    90% { 
        transform: translate(25px, -15px) scale(1.5) rotate(150deg);
        filter: drop-shadow(0 0 48px rgba(255, 215, 0, 0.2)) saturate(1.2) contrast(0.6);
    }
    93% { 
        transform: translate(-5px, -20px) scale(0.5) rotate(-150deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.1)) saturate(0.4) contrast(0.3);
    }
    96% { 
        transform: translate(15px, -10px) scale(1.4) rotate(90deg);
        filter: drop-shadow(0 0 45px rgba(255, 215, 0, 0.3)) saturate(1.1) contrast(0.7);
    }
}

/* Responsive animations for smaller screens */
@media (max-width: 768px) {
    @keyframes mineFromRight {
        0%, 100% { transform: translate(80px, -50%) rotate(-45deg) translateX(0px); }
        50% { transform: translate(80px, -50%) rotate(-45deg) translateX(-10px); }
    }
    
    @keyframes robotMineFromRight {
        0%, 100% { transform: translate(90px, -50%) scale(1) rotate(0deg); }
        25% { transform: translate(90px, -50%) scale(1.1) rotate(5deg); }
        50% { transform: translate(90px, -50%) scale(1) rotate(0deg); }
        75% { transform: translate(90px, -50%) scale(1.1) rotate(-5deg); }
    }
    
    @keyframes automatedMineFromRight {
        0%, 100% { transform: translate(110px, -50%) scale(1); }
        50% { transform: translate(110px, -50%) scale(1.05); }
    }
    
    @keyframes quantumMineFromRight {
        0%, 100% { 
            transform: translate(130px, -50%) scale(1) rotate(0deg);
            box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        }
        25% { 
            transform: translate(130px, -50%) scale(1.1) rotate(90deg);
            box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        }
        50% { 
            transform: translate(130px, -50%) scale(1) rotate(180deg);
            box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        }
        75% { 
            transform: translate(130px, -50%) scale(1.1) rotate(270deg);
            box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        }
    }
}

@media (max-width: 480px) {
    @keyframes mineFromRight {
        0%, 100% { transform: translate(60px, -50%) rotate(-45deg) translateX(0px); }
        50% { transform: translate(60px, -50%) rotate(-45deg) translateX(-8px); }
    }
    
    @keyframes robotMineFromRight {
        0%, 100% { transform: translate(70px, -50%) scale(1) rotate(0deg); }
        25% { transform: translate(70px, -50%) scale(1.1) rotate(5deg); }
        50% { transform: translate(70px, -50%) scale(1) rotate(0deg); }
        75% { transform: translate(70px, -50%) scale(1.1) rotate(-5deg); }
    }
    
    @keyframes automatedMineFromRight {
        0%, 100% { transform: translate(85px, -50%) scale(1); }
        50% { transform: translate(85px, -50%) scale(1.05); }
    }
    
    @keyframes quantumMineFromRight {
        0%, 100% { 
            transform: translate(100px, -50%) scale(1) rotate(0deg);
            box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        }
        25% { 
            transform: translate(100px, -50%) scale(1.1) rotate(90deg);
            box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        }
        50% { 
            transform: translate(100px, -50%) scale(1) rotate(180deg);
            box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
        }
        75% { 
            transform: translate(100px, -50%) scale(1.1) rotate(270deg);
            box-shadow: 0 0 30px rgba(156, 39, 176, 0.8);
        }
    }
}

.click-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 10px rgba(76, 175, 80, 0.5);
    white-space: nowrap;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.click-value {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 10px rgba(255, 215, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.enchantment-effects {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10;
}

.effect-indicator {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(138, 43, 226, 0.1));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #8A2BE2;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: glow 2s ease-in-out infinite alternate;
}

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

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(138, 43, 226, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.8), 0 0 30px rgba(138, 43, 226, 0.4);
    }
}

.upgrades-section, .achievements-section, .enchantments-section {
    margin-bottom: 30px;
}

.upgrades-section h2, .achievements-section h2, .enchantments-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #4CAF50;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
    padding-bottom: 10px;
}

.upgrades-grid, .achievements-grid, .enchantments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.upgrade-item, .achievement-item, .enchantment-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.upgrade-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upgrade-item::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.02) 30%, 
        rgba(0, 0, 0, 0.02) 100%);
    border-radius: 15px;
    pointer-events: none;
    z-index: 2;
}

.upgrade-item:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.upgrade-item:hover::before {
    opacity: 1;
}

.upgrade-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.05);
}

.upgrade-item.disabled:hover {
    transform: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

.upgrade-item:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.2),
        0 3px 12px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upgrade-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4CAF50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.upgrade-description {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    z-index: 3;
}

.upgrade-cost {
    font-size: 1rem;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 3;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: inline-block;
}

.upgrade-owned {
    font-size: 0.85rem;
    color: #4CAF50;
    margin-top: 8px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.1), rgba(139, 195, 74, 0.1));
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    display: inline-block;
}

/* Enchantment-specific styles */
.enchantment-item {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.12), rgba(138, 43, 226, 0.08));
    border: 1px solid rgba(138, 43, 226, 0.15);
}

.enchantment-item:hover {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.18), rgba(138, 43, 226, 0.12));
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.enchantment-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #8A2BE2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.enchantment-description {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    z-index: 3;
}

.enchantment-level {
    font-size: 0.85rem;
    color: #FF69B4;
    margin-top: 8px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 105, 180, 0.2);
    display: inline-block;
}

.enchantment-cost {
    font-size: 1rem;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 3;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: inline-block;
}

/* Disabled enchantment styles */
.enchantment-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.05), rgba(138, 43, 226, 0.02));
    border-color: rgba(138, 43, 226, 0.05);
}

.enchantment-item.disabled:hover {
    transform: none;
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.05), rgba(138, 43, 226, 0.02));
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(138, 43, 226, 0.05);
}

.achievement-item {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.achievement-item.locked {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.achievement-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4CAF50;
}

.achievement-description {
    font-size: 0.8rem;
    color: #a0a0a0;
}

/* Enhanced Achievement Styles */
.achievement-category {
    margin-bottom: 30px;
}

.achievement-category h3 {
    font-size: 1.3rem;
    color: #4CAF50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievements-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.achievement-item {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.achievement-item.unlocked {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.achievement-item.hidden {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.achievement-item.locked {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4CAF50;
}

.achievement-description {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.4;
    margin-bottom: 8px;
}

.achievement-reward {
    font-size: 0.8rem;
    color: #ffd700;
    font-weight: 500;
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

.achievement-unlocked {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 600;
    text-align: center;
    background: rgba(76, 175, 80, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 8px;
}

/* Achievement notification styles */
.notification.achievement {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border: 2px solid #4CAF50;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
    animation: achievementPulse 2s ease-in-out infinite;
}

@keyframes achievementPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mobile Responsive Styles for Achievements */
@media (max-width: 768px) {
    .achievements-category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .achievement-item {
        padding: 12px;
    }
    
    .achievement-name {
        font-size: 1rem;
    }
    
    .achievement-description {
        font-size: 0.8rem;
    }
    
    .achievement-category h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .achievement-item {
        padding: 10px;
    }
    
    .achievement-icon {
        font-size: 1.5rem;
    }
    
    .achievement-name {
        font-size: 0.9rem;
    }
    
    .achievement-description {
        font-size: 0.75rem;
    }
}

/* New Achievement Category Styles */
.achievement-category.minecraft_themed h3 {
    color: #8B4513;
    border-bottom-color: rgba(139, 69, 19, 0.3);
}

.achievement-category.input_methods h3 {
    color: #FF6B35;
    border-bottom-color: rgba(255, 107, 53, 0.3);
}

.achievement-category.technical h3 {
    color: #4ECDC4;
    border-bottom-color: rgba(78, 205, 196, 0.3);
}

.achievement-category.social h3 {
    color: #45B7D1;
    border-bottom-color: rgba(69, 183, 209, 0.3);
}

.achievement-category.environment h3 {
    color: #96CEB4;
    border-bottom-color: rgba(150, 206, 180, 0.3);
}

.achievement-category.psychological h3 {
    color: #FFEAA7;
    border-bottom-color: rgba(255, 234, 167, 0.3);
}

.achievement-category.seasonal h3 {
    color: #DDA0DD;
    border-bottom-color: rgba(221, 160, 221, 0.3);
}

.achievement-category.time_precision h3 {
    color: #98D8C8;
    border-bottom-color: rgba(152, 216, 200, 0.3);
}

.achievement-category.mathematical_mastery h3 {
    color: #F7DC6F;
    border-bottom-color: rgba(247, 220, 111, 0.3);
}

.achievement-category.gaming_culture h3 {
    color: #BB8FCE;
    border-bottom-color: rgba(187, 143, 206, 0.3);
}

.achievement-category.meme_culture h3 {
    color: #F8C471;
    border-bottom-color: rgba(248, 196, 113, 0.3);
}

.achievement-category.speed_challenge h3 {
    color: #E74C3C;
    border-bottom-color: rgba(231, 76, 60, 0.3);
}

.achievement-category.resource_management h3 {
    color: #F39C12;
    border-bottom-color: rgba(243, 156, 18, 0.3);
}

.achievement-category.timing h3 {
    color: #9B59B6;
    border-bottom-color: rgba(155, 89, 182, 0.3);
}

.achievement-category.mathematical_patterns h3 {
    color: #3498DB;
    border-bottom-color: rgba(52, 152, 219, 0.3);
}

.achievement-category.special_numbers h3 {
    color: #E67E22;
    border-bottom-color: rgba(230, 126, 34, 0.3);
}

.achievement-category.easter_egg h3 {
    color: #1ABC9C;
    border-bottom-color: rgba(26, 188, 156, 0.3);
}

.achievement-category.browser_system h3 {
    color: #34495E;
    border-bottom-color: rgba(52, 73, 94, 0.3);
}

.achievement-category.game_state h3 {
    color: #7F8C8D;
    border-bottom-color: rgba(127, 140, 141, 0.3);
}

.achievement-category.special_challenge h3 {
    color: #E91E63;
    border-bottom-color: rgba(233, 30, 99, 0.3);
}

.achievement-category.fun_silly h3 {
    color: #FF9800;
    border-bottom-color: rgba(255, 152, 0, 0.3);
}

.achievement-category.hidden h3 {
    color: #607D8B;
    border-bottom-color: rgba(96, 125, 139, 0.3);
}

.achievement-category.advanced_challenge h3 {
    color: #795548;
    border-bottom-color: rgba(121, 85, 72, 0.3);
}

.achievement-category.extended_time h3 {
    color: #009688;
    border-bottom-color: rgba(0, 150, 136, 0.3);
}

.achievement-category.pattern_recognition h3 {
    color: #3F51B5;
    border-bottom-color: rgba(63, 81, 181, 0.3);
}

.achievement-category.mathematical h3 {
    color: #2196F3;
    border-bottom-color: rgba(33, 150, 243, 0.3);
}

.achievement-category.efficiency_balance h3 {
    color: #4CAF50;
    border-bottom-color: rgba(76, 175, 80, 0.3);
}

.achievement-category.specific_numbers h3 {
    color: #FF5722;
    border-bottom-color: rgba(255, 87, 34, 0.3);
}

.achievement-category.patterns h3 {
    color: #9C27B0;
    border-bottom-color: rgba(156, 39, 176, 0.3);
}

/* Special achievement item styles */
.achievement-item.hidden {
    background: rgba(96, 125, 139, 0.1);
    border-color: rgba(96, 125, 139, 0.2);
}

.achievement-item.hidden .achievement-name {
    color: #607D8B;
}

.achievement-item.easter_egg {
    background: rgba(26, 188, 156, 0.1);
    border-color: rgba(26, 188, 156, 0.2);
}

.achievement-item.easter_egg .achievement-name {
    color: #1ABC9C;
}

.achievement-item.rare {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.achievement-item.rare .achievement-name {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.achievement-item.legendary {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.achievement-item.legendary .achievement-name {
    color: #8A2BE2;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.6);
}

/* Achievement unlock animation */
@keyframes achievementUnlock {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.achievement-item.unlocked {
    animation: achievementUnlock 0.5s ease-out;
}

/* No achievements message styling */
.no-achievements-message {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.no-achievements-message:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Achievement progress indicator */
.achievement-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.achievement-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Achievement rarity indicators */
.achievement-rarity {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.achievement-rarity.common {
    background: #9E9E9E;
}

.achievement-rarity.uncommon {
    background: #4CAF50;
}

.achievement-rarity.rare {
    background: #2196F3;
}

.achievement-rarity.epic {
    background: #9C27B0;
}

.achievement-rarity.legendary {
    background: #FF9800;
}

.achievement-rarity.mythic {
    background: #F44336;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-panel, .controls-panel, .username-panel, .highscore-panel, .game-mechanics-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-panel h3, .controls-panel h3, .username-panel h3, .highscore-panel h3, .game-mechanics-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #4CAF50;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
    padding-bottom: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.stat-value {
    color: #ffd700;
    font-weight: 600;
}

.control-button {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.control-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.control-button:hover {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.35), rgba(76, 175, 80, 0.25));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(76, 175, 80, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
}

.control-button:hover::before {
    opacity: 1;
}

.control-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-button.reset {
    background: linear-gradient(145deg, rgba(244, 67, 54, 0.25), rgba(244, 67, 54, 0.15));
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.control-button.reset:hover {
    background: linear-gradient(145deg, rgba(244, 67, 54, 0.35), rgba(244, 67, 54, 0.25));
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(244, 67, 54, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(244, 67, 54, 0.4);
}

.account-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.account-input input {
    padding: 12px 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.account-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.account-input input:focus {
    outline: none;
    border-color: #4CAF50;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.account-input .button-row {
    display: flex;
    gap: 10px;
}

.account-input .button-row button {
    flex: 1;
    width: auto;
    margin-bottom: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.account-input .button-row button:hover {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.35), rgba(76, 175, 80, 0.25));
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(76, 175, 80, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
}

.current-username {
    font-size: 0.95rem;
    color: #ffd700;
    font-weight: 600;
    text-align: center;
    padding: 10px 12px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-info {
    margin-top: 10px;
}

.user-info .button-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.user-info .control-button {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.8rem;
}

.personal-highscore {
    font-size: 0.95rem;
    color: #4CAF50;
    font-weight: 600;
    text-align: center;
    padding: 10px 12px;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.15), rgba(139, 195, 74, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    margin-top: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    max-width: 300px;
    word-wrap: break-word;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: rgba(244, 67, 54, 0.9);
}

.notification.epic {
    background: linear-gradient(45deg, rgba(156, 39, 176, 0.9), rgba(255, 0, 255, 0.9));
    font-weight: 700;
    font-size: 1.1rem;
    animation: epicPulse 2s ease-in-out infinite;
}

@keyframes epicPulse {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(0) scale(1.05); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    main {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
    
    .upgrades-grid, .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .notification {
        max-width: 250px;
        right: 15px;
        top: 15px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .grass-block-button {
        width: 200px;
        height: 200px;
        font-size: 2rem;
    }
    
    .grass-block {
        width: 100%;
        height: 100%;
    }
    
    .click-area {
        margin-bottom: 50px;
        padding-bottom: 70px;
    }
    
    .click-text {
        bottom: 15px;
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .click-value {
        bottom: 40px;
        font-size: 1.1rem;
        padding: 5px 10px;
    }
    
    .notification {
        max-width: 200px;
        right: 10px;
        top: 10px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    /* Basic and intermediate tier tools positioned in the same spot for smaller screens */
    .wooden-pickaxe, .stone-pickaxe, .iron-pickaxe, .diamond-pickaxe, .netherite-pickaxe,
    .mining-robot, .automated-mine, .quantum-miner {
        transform: translate(80px, -50%);
    }
    
    /* Advanced tier tools - keep their individual positioning but adjust for smaller screens */
    .pickaxe-army {
        transform: translate(60px, -50%) rotate(-45deg);
    }
    .diamond-legion {
        transform: translate(-60px, -50%) rotate(45deg);
    }
    .netherite-swarm {
        transform: translate(0px, -60px) rotate(0deg);
    }
    
    /* Expert tier tools - keep their individual positioning but adjust for smaller screens */
    .robot-legion {
        transform: translate(0px, 60px);
    }
    .mine-empire {
        transform: translate(40px, -40px);
    }
    .quantum-legion {
        transform: translate(-40px, 40px);
    }
    
    /* Master tier tools - keep their individual positioning but adjust for smaller screens */
    .time-machine {
        transform: translate(20px, 20px);
    }
    .reality-bender {
        transform: translate(-20px, -20px);
    }
    .dimension-breaker {
        transform: translate(15px, -15px);
    }
    
    /* Ultra tier tools - keep their individual positioning but adjust for smaller screens */
    .cosmic-miner {
        transform: translate(-15px, 15px);
    }
    .galaxy-crusher {
        transform: translate(12px, 12px);
    }
    .universe-shaper {
        transform: translate(-12px, -12px);
    }
    .multiverse-harvester {
        transform: translate(8px, -8px);
    }
    
    /* Existence and Infinity tools - keep their positioning */
    .existence-miner, .infinity-breaker {
        transform: translate(80px, -50%);
    }
    
    /* Add rotation back for pickaxes that need it */
    .wooden-pickaxe, .stone-pickaxe, .iron-pickaxe, .diamond-pickaxe, .netherite-pickaxe,
    .pickaxe-army, .diamond-legion, .netherite-swarm {
        transform: translate(80px, -50%) rotate(-45deg);
    }
    
    .upgrades-grid, .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .blocks-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .game-area {
        padding: 20px;
    }
    
    .grass-block-button {
        width: 150px;
        height: 150px;
        font-size: 1.5rem;
    }
    
    .grass-block {
        width: 100%;
        height: 100%;
    }
    
    .click-area {
        margin-bottom: 40px;
        padding-bottom: 60px;
    }
    
    .click-text {
        bottom: 10px;
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    .click-value {
        bottom: 35px;
        font-size: 1rem;
        padding: 4px 8px;
    }
    
    .notification {
        max-width: 180px;
        right: 8px;
        top: 8px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* Basic and intermediate tier tools positioned in the same spot for very small screens */
    .wooden-pickaxe, .stone-pickaxe, .iron-pickaxe, .diamond-pickaxe, .netherite-pickaxe,
    .mining-robot, .automated-mine, .quantum-miner {
        transform: translate(60px, -50%);
        width: 30px;
        height: 30px;
    }
    
    /* Advanced tier tools - keep their individual positioning but adjust for very small screens */
    .pickaxe-army {
        transform: translate(45px, -50%) rotate(-45deg);
        width: 35px;
        height: 35px;
    }
    .diamond-legion {
        transform: translate(-45px, -50%) rotate(45deg);
        width: 35px;
        height: 35px;
    }
    .netherite-swarm {
        transform: translate(0px, -45px) rotate(0deg);
        width: 35px;
        height: 35px;
    }
    
    /* Expert tier tools - keep their individual positioning but adjust for very small screens */
    .robot-legion {
        transform: translate(0px, 45px);
        width: 40px;
        height: 40px;
    }
    .mine-empire {
        transform: translate(30px, -30px);
        width: 40px;
        height: 40px;
    }
    .quantum-legion {
        transform: translate(-30px, 30px);
        width: 40px;
        height: 40px;
    }
    
    /* Master tier tools - keep their individual positioning but adjust for very small screens */
    .time-machine {
        transform: translate(15px, 15px);
        width: 45px;
        height: 45px;
    }
    .reality-bender {
        transform: translate(-15px, -15px);
        width: 45px;
        height: 45px;
    }
    .dimension-breaker {
        transform: translate(12px, -12px);
        width: 45px;
        height: 45px;
    }
    
    /* Ultra tier tools - keep their individual positioning but adjust for very small screens */
    .cosmic-miner {
        transform: translate(-12px, 12px);
        width: 50px;
        height: 50px;
    }
    .galaxy-crusher {
        transform: translate(10px, 10px);
        width: 50px;
        height: 50px;
    }
    .universe-shaper {
        transform: translate(-10px, -10px);
        width: 50px;
        height: 50px;
    }
    .multiverse-harvester {
        transform: translate(8px, -8px);
        width: 50px;
        height: 50px;
    }
    
    /* Existence and Infinity tools - keep their positioning */
    .existence-miner, .infinity-breaker {
        transform: translate(60px, -50%);
        width: 55px;
        height: 55px;
    }
    
    /* Add rotation back for pickaxes that need it */
    .wooden-pickaxe, .stone-pickaxe, .iron-pickaxe, .diamond-pickaxe, .netherite-pickaxe,
    .pickaxe-army, .diamond-legion, .netherite-swarm {
        transform: translate(60px, -50%) rotate(-45deg);
    }
    
    /* Larger tools get slightly bigger sizes */
    .mining-robot, .automated-mine, .quantum-miner {
        width: 35px;
        height: 35px;
    }
    
    .pickaxe-army, .diamond-legion, .netherite-swarm, .robot-legion, .mine-empire {
        width: 40px;
        height: 40px;
    }
    
    .quantum-legion, .time-machine, .reality-bender, .dimension-breaker {
        width: 45px;
        height: 45px;
    }
    
    .cosmic-miner, .galaxy-crusher, .universe-shaper, .multiverse-harvester {
        width: 50px;
        height: 50px;
    }
    
    .existence-miner, .infinity-breaker {
        width: 55px;
        height: 55px;
    }
}

/* Animation for clicking */
@keyframes blockBreak {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.grass-block-button.clicked .grass-block {
    animation: blockBreak 0.2s ease;
}

/* Floating particles effect */
.particle {
    position: absolute;
    pointer-events: none;
    width: 8px;
    height: 8px;
    background: #8BC34A;
    border: 1px solid #5D4037;
    border-radius: 2px;
    animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

/* Progress Bar Styles for Game Mechanics */
.progress-bar-container {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 24px;
    width: 150px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 100%);
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
}

.progress-bar.block-health {
    background: linear-gradient(90deg, #2196F3 0%, #42A5F5 100%);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Broken tool state */
#durabilityContainer.broken .progress-bar {
    background: linear-gradient(90deg, #f44336 0%, #e57373 100%);
    animation: pulse-broken 1s ease-in-out infinite;
}

@keyframes pulse-broken {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Mining particle styles */
.mining-particle {
    pointer-events: none;
    z-index: 1000;
}

/* Special notification styles */
.notification.fortune {
    background-color: #4CAF50 !important;
    border-color: #45a049 !important;
}

.notification.rare {
    background-color: #9C27B0 !important;
    border-color: #7B1FA2 !important;
}

.notification.special {
    background-color: #FF9800 !important;
    border-color: #F57C00 !important;
}

.notification.error {
    background-color: #f44336 !important;
    border-color: #da190b !important;
}

.notification.achievement {
    background-color: #2196F3 !important;
    border-color: #1976D2 !important;
} 
/* Tool Durability Styles */
.tool-durability {
    margin-top: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.durability-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 5px;
}

.durability-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 6px;
}

.durability-text {
    font-size: 0.8rem;
    text-align: center;
    color: #ccc;
    font-weight: 500;
}

.repair-button, .switch-button {
    margin-top: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.repair-button {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.repair-button:hover {
    background: linear-gradient(135deg, #F57C00, #E65100);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.switch-button {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.switch-button:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.active-tool-indicator {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.broken-tool {
}

.broken-tool .upgrade-name {
}

.broken-tool .tool-durability {
}

/* Tool switching animation */
.upgrade-item {
    transition: all 0.3s ease;
}

.upgrade-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.upgrade-item.broken-tool:hover {
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.3);
}

/* Block Controls Styles */
.block-controls {
    margin-top: 15px;
    text-align: center;
}

.skip-block-button {
    background: linear-gradient(135deg, #FF5722, #E64A19);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.skip-block-button:hover {
    background: linear-gradient(135deg, #E64A19, #D84315);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.skip-block-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.block-info {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.block-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.block-requirement {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
}

.block-value {
    display: block;
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 600;
    margin-top: 5px;
}
