* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: transparent;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hud-container {
    position: fixed;
    top: 303px;
    left: 6.67px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    user-select: none;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    min-width: 200px;
    pointer-events: none;
}

.stat-icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.stat-bar-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-bar {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease, background 0.3s ease;
    position: relative;
}

.stat-bar-fill-food {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8787 100%);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.stat-bar-fill-food.low {
    background: linear-gradient(90deg, #ff4757 0%, #ff6b6b 100%);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.8);
    animation: pulse 1.5s ease-in-out infinite;
}

.stat-bar-fill-water {
    background: linear-gradient(90deg, #4ecdc4 0%, #44a08d 100%);
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

.stat-bar-fill-water.low {
    background: linear-gradient(90deg, #00a8ff 0%, #4ecdc4 100%);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.8);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.stat-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    min-width: 45px;
    text-align: right;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

