.game-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    margin-bottom: 1rem;
}

.score-display {
    display: flex;
    gap: 2rem;
    font-size: 1.2rem;
}

.score, .high-score {
    padding: 0.5rem 1rem;
    background: var(--darker-bg);
    border-radius: 10px;
}

.power-ups {
    display: flex;
    gap: 1rem;
}

.power-up-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    background: var(--darker-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.power-up-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-area-wrapper {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    background: var(--darker-bg);
    border-radius: 20px;
    overflow: hidden;
}

#bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

#start-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    z-index: 10;
}

#start-screen h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

#start-screen p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

#start-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--primary);
}

.bubble {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255,255,255,0.8), 
        rgba(255,255,255,0.4)
    );
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
    transition: transform 0.2s ease;
}

.bubble:hover {
    transform: scale(1.1);
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.game-controls button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-controls button:hover {
    transform: translateY(-2px);
    background: var(--primary);
}

.rainbow {
    animation: rainbow 2s linear infinite !important;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.frozen {
    animation-play-state: paused !important;
    filter: brightness(1.2) saturate(0.8);
}

.power-up-enabled {
    animation: glow 1s ease-in-out infinite alternate;
    background: var(--gradient-primary) !important;
    color: white !important;
}

.game-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.game-message.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--primary),
                    0 0 10px var(--primary);
    }
    to {
        box-shadow: 0 0 10px var(--primary),
                    0 0 20px var(--primary);
    }
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

@keyframes pop {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
} 