body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.game-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    position: relative;
}

.info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    color: #4e54c8;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
}

button:hover {
    transform: scale(1.1);
    background: #f0f0f0;
}

.frascos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.frasco {
    width: 80px;
    height: 120px;
    border: 3px solid #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 5px;
    background: rgba(255,255,255,0.1);
    transition: transform 0.2s;
}

.frasco:hover {
    transform: scale(1.05);
}

.bolas-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}

.bola {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: grab;
    border: 2px solid #fff;
    transition: transform 0.2s, opacity 0.2s;
    position: relative;
}

.bola:active {
    transform: scale(1.2);
}

#message {
    margin-top: 20px;
    font-size: 1.2em;
    min-height: 30px;
}

#pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    border-radius: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.particle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    pointer-events: none;
    animation: particleMove 0.7s forwards;
}

@keyframes particleMove {
    0% {transform: translate(0,0); opacity:1;}
    100% {transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px)); opacity:0;}
}