/* ============================================
   DINO-FÜTTERUNG - Game-specific Styles
   ============================================ */

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Override score panel position */
.ui-overlay {
    top: auto;
    bottom: auto;
    top: 10px;
}

/* Stats Display */
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #4ecdc4;
    text-shadow: 2px 2px 8px rgba(78, 205, 196, 0.5);
    min-width: 70px;
    text-align: left;
}

/* Session High Score */
.session-high {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    text-align: center;
}

.session-high span {
    color: #ffe66d;
    font-weight: bold;
}

/* Dino walking animation */
@keyframes dinoWalk {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Feeding success animation */
@keyframes feedSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 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: #4ecdc4;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Thought bubble animation */
@keyframes thoughtBubble {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-3px); }
}

/* Wrong food reaction - shake */
@keyframes dinoShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Burp cloud expand */
@keyframes burpCloud {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Fart cloud drift */
@keyframes fartCloud {
    0% {
        transform: translateX(0) scale(0.5);
        opacity: 0.7;
    }
    100% {
        transform: translateX(-100px) scale(1.5);
        opacity: 0;
    }
}

/* Spit animation */
@keytml spitFood {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(200px) translateY(-100px) rotate(720deg);
    }
}

/* Food bounce when grabbed */
@keyframes foodBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Food station glow */
@keyframes stationGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 200, 100, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 200, 100, 0.6);
    }
}

/* Dino happy jump */
@keyframes happyJump {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-5deg); }
    75% { transform: translateY(-20px) rotate(5deg); }
}

/* Volcano smoke animation */
@keyframes volcanoSmoke {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-50px) scale(2);
        opacity: 0;
    }
}

/* Instructions styling specific to this game */
.instructions {
    line-height: 1.6;
}

/* Reaction text popup */
@keyframes reactionPop {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(5deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Stink lines wiggle */
@keyframes stinkWiggle {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}
