body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #3b0a0a;
  color: gold;
  text-align: center;
}

#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, #5c1414, #2a0000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeOut 1s ease-in-out 2s forwards;
}
#splash h1 {
  font-size: 2rem;
  margin: 0;
}
#splash p {
  font-size: 1.2rem;
  margin-top: 10px;
}
.hidden { display: none; }

#game {
  margin-top: 50px;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 5px;
  justify-content: center;
  margin: 20px auto;
}
.cell {
  background: gold;
  color: #3b0a0a;
  font-size: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}
.cell:hover {
  transform: scale(1.05);
}
button {
  background: gold;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  color: #3b0a0a;
  font-weight: bold;
  transition: background 0.3s;
}
button:hover {
  background: gold;
}
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}
/* ======= FOOTER GAME BUTTONS ======= */
.more-games {
  text-align: center;
  margin-top: 40px;
  padding: 20px 10px;
  background-color: #fff4e6;
  border-top: 3px solid maroon;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.more-games h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: gold;
}

.more-games h3 span {
  color: maroon;
  font-weight: bold;
}

.game-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-btn {
  background-color: maroon;
  color: maroon;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95em;
  transition: 0.3s ease;
}

.footer-btn:hover {
  background-color: gold;
  transform: translateY(-3px);
}
