/* ============================================
   BAUERNHOF GARTEN - Game-specific Styles
   ============================================ */

/* Game title override for farm theme */
.game-title {
    color: #FFD700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Instructions styling */
.instructions {
    text-align: center;
    line-height: 1.6;
}

/* Floating score animation */
@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

.floating-score {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   WATER LEVEL INDICATOR (Game-specific)
   ============================================ */

.water-indicator {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 100;
}

.water-icon {
    font-size: 24px;
}

.water-bar-container {
    width: 30px;
    height: 150px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.water-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #2980B9, #3498DB, #5DADE2);
    transition: height 0.2s ease, background-color 0.3s ease;
    border-radius: 0 0 13px 13px;
}

.water-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    width: 8px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* ============================================
   RESPONSIVE - Water Indicator only
   ============================================ */

@media (max-width: 768px) {
    .water-indicator {
        left: 10px;
        padding: 10px 8px;
    }

    .water-bar-container {
        width: 25px;
        height: 120px;
    }

    .water-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .water-indicator {
        top: auto;
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        padding: 8px 15px;
    }

    .water-bar-container {
        width: 100px;
        height: 25px;
    }

    .water-bar {
        height: 100%;
        width: 100%;
        background: linear-gradient(to right, #2980B9, #3498DB, #5DADE2);
        border-radius: 0 13px 13px 0;
        transition: width 0.2s ease;
    }

    .water-bar::after {
        top: 5px;
        left: 0;
        width: 100%;
        height: 8px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .water-indicator {
        padding: 8px 6px;
    }

    .water-bar-container {
        width: 20px;
        height: 80px;
    }
}
