/* Overlay */

.overlay{

position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
background: linear-gradient(to bottom, red, orange, yellow, green, blue, purple);
display: flex;
justify-content: center;
align-items: center;
}

.overlay.close{

display: none;
}

.overlay-content{
width: 60%;
background:#5CCEFA;
text-align: center;
color: rgb(255, 255, 255);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border-radius: 10px;
padding: 15px;
}

#gameBoard{
  border: 5px solid;
}

#gameContainer{
  text-align: center;
}

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffd4d4 0%, #fff4f2 100%);
  font-family: 'Inter', sans-serif;
}

.game-ui {
  width: 550px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

h1 {
  font-size: 2rem;
  color: #8b3d7f;
}

p {
  color: #4a2a4b;
  margin-bottom: 16px;
}


.score-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}


button {
  background: #ff7eb9;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
}


.grid {
  display: grid;
  grid-template-columns: repeat(4, 72px);
  grid-template-rows: repeat(4, 72px);
  gap: 10px;
  justify-content: center;
}


