:root {
    --subway-yellow: #ffeb3b;
    --subway-orange: #ff9800;
    --subway-blue: #2196f3;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #333;
    font-family: 'Fredoka', sans-serif;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.score-box,
.coin-box {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid var(--subway-yellow);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.menu {
    text-align: center;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    border: 6px solid var(--subway-orange);
}

.title {
    font-family: 'Titan One', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

.title span {
    color: var(--subway-orange);
}

button {
    background: var(--subway-orange);
    color: #fff;
    border: none;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 6px 0 #e65100;
    margin-top: 20px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #e65100;
}

button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #e65100;
}

.hidden {
    display: none !important;
}