* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
min-height: 100vh;
font-family: Arial, sans-serif;
background-color: #07121a;
display: flex;
justify-content: center;
align-items: center;
}

.jogo-container {
width: 100%;
min-height: 100vh;
padding: 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
background-image: radial-gradient(circle at 50% 35%, rgba(11, 141, 137, 0.18), transparent 42%), linear-gradient(145deg, #07121a, #15273a);
}

h1 {
color: #e8f0f2;
margin-bottom: 20px;
font-size: clamp(1.5rem, 6vw, 2.25rem);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#data-hora {
color: #ffd166;
margin-bottom: 10px;
font-size: clamp(1rem, 4vw, 1.5rem);
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
background-color: rgba(0, 0, 0, 0.7);
padding: 10px;
border-radius: 8px;
}

#tabuleiro {
display: grid;
width: min(100%, 501px);
aspect-ratio: 1;
grid-template-columns: repeat(10, minmax(0, 1fr));
grid-template-rows: repeat(10, minmax(0, 1fr));
gap: 1px;
}

.celula {
min-width: 0;
min-height: 0;
background-color: #101d26;
border: 1px solid rgba(232, 240, 242, 0.25);
}

.cobrinha {
background-color: #0b8d89;
}

.alimento {
background-color: #f5a623;
}

#resultado {
color: #e8f0f2;
margin-top: 20px;
font-size: 20px;
}

#iniciar {
margin-top: 20px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: 0;
border-radius: 0.5rem;
background: #f5a623;
color: #17212a;
font-weight: 700;
}

#iniciar:focus-visible {
outline: 3px solid #0b8d89;
outline-offset: 3px;
}