body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel Decorative', cursive;
    font-weight: 900;
}

/* Hide the modal by default */
#game-modal {
    display: none;
}

/* When the modal is active, display it as a fixed overlay */
#game-modal.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 50;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

@media (min-width: 640px) {
    #game-modal.active {
        padding: 2rem;
    }
}

/* Voice chat modal styles */
#voice-modal {
    display: none;
}

#voice-modal.active {
    display: flex;
}

/* Microphone indicator animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.mic-active {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Lazy Loading Styles */
img.lazy-img {
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

img.lazy-loaded {
    opacity: 1;
}

.gold-glow {
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}