
body {
    font-family: Arial, sans-serif; 
    background-color: #020617; 
    color: white; 
    margin: 0;
    padding: 0;
    
    overflow: hidden; 
    touch-action: none;
}


.game-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
    width: 100%;
    padding: 1rem;
    box-sizing: border-box; 
}


.scoreboard {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    max-width: 1024px; 
    padding: 10px 20px;
    box-sizing: border-box;
}

.score-left {
    text-align: left;
}

.score-right {
    text-align: right;
}


.score-left span,
.score-right span {
    font-size: 1.25rem; 
    font-weight: bold;
    display: block;
}


.score-left span:first-child {
    color: #38BDF8; /* Sky blue */
}


.score-right span:first-child {
    color: #F87171; 
}


.score-number {
    font-size: 3rem; 
    font-weight: 900; 
    color: white; 
}


canvas {
    background: #0f172a; 
    display: block;
    border-radius: 0.75rem; 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 100%; 
}


#message-box {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); 
}


#start-button {
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f172a; 
    background-color: white; 
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer; 
    transition: all 0.2s; 
}


#start-button:hover {
    background-color: #f0f0f0; 
    transform: scale(1.05); 
}


.footer {
    width: 100%;
    max-width: 1024px;
    margin-top: 20px;
    
    
    display: flex; 
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 25px; 
}

.footer p {
    margin: 0; 
    font-size: 0.9rem;
    color: #94a3b8; 
}
.footer p:last-child {
    color: #64748b; 
}

