/* General Styling */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, #2c2e43 10%, #1b1e34 50%, #111320 100%);
    overflow: hidden;
}

/* Game Container */
#game-container {
    position: relative;
    width: 80vw;
    height: 80vh;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Rocket Styling */
#rocket {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 120px;
    background: url('https://cdn-icons-png.flaticon.com/512/9049/9049904.png') no-repeat center/contain;
    transform: translate(-50%, -50%);
}

/* Planets Styling */
.planet {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff4fd8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

/* Winning Planet Styling */
.winning-planet {
    background-color: #10b981;
    transform: scale(1.5);
    animation: pulse 1.5s infinite alternate;
}

/* Hide Other Planets */
.hidden {
    opacity: 0;
}

/* Text to Display Winning Coin Name */
#winning-coin-text {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    display: none;
}

/* Pulse Animation for the Winning Planet */
@keyframes pulse {
    0% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1.5);
    }
}

/* Launch Button */
#launch-button {
    padding: 15px 30px;
    background-color: #3b82f6;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.5);
}
