/* ============================================
   DRAGON RIDER - Game-specific Styles
   ============================================ */

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Sky gradient background */
.game-container {
    background: linear-gradient(180deg,
        #1a3a5a 0%,
        #2a5a8a 30%,
        #4a8aba 60%,
        #6ab0da 100%);
}

/* Override game title from game-overlays.css to be at top */
.game-title {
    position: fixed;
    top: 20px;
    left: 50%;
    bottom: auto;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow:
        0 0 10px rgba(255, 165, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 100;
    pointer-events: none;
}

/* Fire Indicator */
.fire-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: #ff6600;
    text-shadow:
        0 0 20px rgba(255, 100, 0, 0.8),
        0 0 40px rgba(255, 50, 0, 0.6);
    opacity: 0;
    transition: opacity 0.1s ease;
    z-index: 100;
    pointer-events: none;
}

.fire-indicator.visible {
    opacity: 1;
    animation: firePulse 0.2s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}


/* Instructions - override position for dragon-rider */
.instructions {
    position: fixed;
    bottom: 80px;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-title {
        font-size: 1.5rem;
    }

    .fire-indicator {
        font-size: 1.5rem;
    }

    .instructions {
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.2rem;
    }

    .fire-indicator {
        font-size: 1.2rem;
        bottom: 90px;
    }

    .instructions {
        bottom: 90px;
    }
}
