@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

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

body {
    font-family: 'Noto Sans', sans-serif;
    overflow: hidden;
    background: #000;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Plasma Islet Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

#monsters-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.monster {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.monster.active {
    opacity: 1;
    pointer-events: all;
}

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

.monster.singing {
    animation: bounce 0.5s ease-in-out infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}

.monster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

#play-pause-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

#play-pause-btn:hover {
    background: #45a049;
}

#play-pause-btn.playing {
    background: #f44336;
}

#play-pause-btn.playing:hover {
    background: #da190b;
}

#verse-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
}

#current-verse {
    font-weight: bold;
    margin-bottom: 5px;
}

#verse-count {
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive monster sizes */
.monster.small {
    width: 80px;
    height: 80px;
}

.monster.medium {
    width: 120px;
    height: 120px;
}

.monster.large {
    width: 160px;
    height: 160px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .monster.small {
        width: 60px;
        height: 60px;
    }
    
    .monster.medium {
        width: 90px;
        height: 90px;
    }
    
    .monster.large {
        width: 120px;
        height: 120px;
    }
    
    #controls {
        bottom: 10px;
        padding: 10px 20px;
    }
    
    #play-pause-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

