body {
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    background-color: #2c3e50;
    overflow: hidden;
    user-select: none;
    color: white;
}

#game-container {
    padding-top: 80px;
    /* Space for HUD */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

canvas {
    background-color: #cfd8dc;
    /* Greyish base */
    /* Vertical planks effect */
    background-image: repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 58px,
            rgba(0, 0, 0, 0.1) 58px,
            rgba(0, 0, 0, 0.1) 60px);
    border: 8px solid #5d4037;
    /* Dark wood border for workshop feel */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

/* HUD BAR */
#hud-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(16, 16, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hud-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 120px;
}

.hud-group.right {
    align-items: flex-end;
}

.hud-label {
    font-size: 12px;
    color: #00e5ff;
    letter-spacing: 2px;
    margin-bottom: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

#score {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 0px #ff00de;
    font-family: 'Orbitron', sans-serif;
}

.hud-center-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* JUMP METER */
#jump-meter {
    display: flex;
    gap: 10px;
}

.paw {
    font-size: 24px;
    opacity: 0.3;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(100%);
}

.paw.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.2);
    /* Standard emoji colors don't change with color property usually, but filter works */
}

/* SCREENS */
#start-screen,
#game-over-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: rgba(16, 16, 32, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: white;
    min-width: 300px;
    z-index: 200;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    font-family: 'Orbitron', sans-serif;
}

p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
    font-family: 'Segoe UI', sans-serif;
}

button {
    padding: 15px 40px;
    font-size: 20px;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, #ff00de, #00e5ff);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-weight: bold;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 222, 0.6);
}

.hidden {
    display: none !important;
}