* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    user-select: none;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
}

#game-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
}

#road {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 2000px;
    height: 20px;
    background: url('../assets/road.png') repeat-x;
    background-size: contain;
    will-change: transform;
}

#cloud {
    position: absolute;
    top: 20px;
    left: 0;
    width: 2000px;
    height: 40px;
    background: url('../assets/cloud.png') repeat-x;
    background-size: contain;
    opacity: 0.7;
    mix-blend-mode: darken;
    will-change: transform;
}

#dino {
    position: absolute;
    bottom: 30px;
    /* on top of road */
    left: 40px;
    width: 44px;
    height: 44px;
    background: url('../assets/dino.png') no-repeat left bottom;
    background-size: contain;
    z-index: 10;
}

#block {
    position: absolute;
    bottom: 30px;
    /* on top of road */
    left: 100%;
    /* off screen */
    width: 35px;
    height: 45px;
    background: url('../assets/block.png') no-repeat center bottom;
    background-size: contain;
    z-index: 5;
    will-change: left;
}

#score,
#high-score {
    position: absolute;
    top: 15px;
    font-size: 14px;
    font-weight: 700;
    color: #4a4a4a;
    z-index: 20;
}

#score {
    right: 20px;
}

#high-score {
    right: 120px;
    color: #888;
}

#start-screen,
#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#game-over {
    display: none;
    /* hidden by default */
}

h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

p {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}