.ASTEROIDSYEAHENEMY {
    transition: outline 0.15s ease;
}

.asteroids-btn-wrapper {
    position: fixed;
    z-index: 10002;
    bottom: 0;
    right: 0;
    width: 320px;
    height: 320px;
    pointer-events: none;
}

.asteroids-btn-stage {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 280px;
    height: 280px;
}

.asteroids-btn-hub {
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.asteroids-btn-hub:hover {
    transform: scale(1.15);
}

.asteroids-btn-hub canvas {
    display: block;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.3));
}

.asteroids-btn-pulse {
    position: absolute;
    bottom: 29px;
    right: 29px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    animation: asteroids-btn-ring 2.2s ease-out infinite;
    z-index: 2;
}

@keyframes asteroids-btn-ring {
    0% {
        transform: scale(0.7);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.asteroids-spawn-plane {
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.3s ease,
                transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

.asteroids-spawn-plane.visible {
    pointer-events: auto;
}

.asteroids-spawn-plane canvas {
    display: block;
}

.asteroids-spawn-plane.hovered canvas {
    filter: drop-shadow(0 0 16px currentColor);
}

.asteroids-spawn-plane-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: Arial, sans-serif;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.asteroids-spawn-plane.visible .asteroids-spawn-plane-label {
    opacity: 1;
}

@media (max-width: 480px) {
    .asteroids-btn-wrapper {
        width: 240px;
        height: 240px;
    }

    .asteroids-btn-stage {
        width: 210px;
        height: 210px;
        bottom: 12px;
        right: 12px;
    }

    .asteroids-btn-pulse {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}
