* {
  box-sizing: border-box;
  padding: 0px;
  gap: 0px;
  margin: 0px;
  font-family: "MedievalSharp", cursive;
}
/* Styling Header */
header {
  background-color: #2f4f4f;
  color: #f5f5dc;
  padding: 20px 50px;
  display: flex;
  justify-content: start;
  gap: 30px;
  align-items: center;
}
.logo {
  height: 50px;
  width: auto;
}
/* Styling Footer */
footer {
  background-color: #2f4f4f;
  color: #f5f5dc;
  padding: 20px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* styling board */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}

/* Container Utama Skor */
.score-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f0f0f0; /* Warna abu-abu soft */
  border-radius: 10px;
  padding: 15px;
  width: 100%;
  max-width: 400px; /* Batasi lebar maksimalnya biar pas sama board */
  margin: 20px auto; /* Bikin ke tengah otomatis */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Kotak untuk masing-masing item (X, Draw, O) */
.score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* Garis pembatas vertikal antar kotak skor (opsional biar makin rapi) */
.score-box:not(:last-child) {
  border-right: 1px solid #dcdcdc;
}

/* Gaya Teks Judul Skor */
.score-title {
  font-size: 0.75rem;
  font-weight: bold;
  color: #7f8c8d;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

/* Gaya Angka Skor */
.score-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2f4f4f;
}

/* Gaya Teks Giliran di Bawah Skor */
.status-turn {
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.board {
  background-color: #f5f5dc;
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px;
}

.cell {
  background-color: white;
  color: #2f4f4f;
  width: 100px;
  height: 100px;
  gap: 5px;
  font-size: 3rem;
  font-weight: bold;
  border-radius: 5px;
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reset-btn {
  margin-top: 20px;
  padding: 10px 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #2f4f4f;
  background-color: #f5f5dc;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.reset-btn:hover {
  background-color: #c4c494;
  transform: scale(1.05);
}

.reset-btn:active {
  transform: scale(0.98);
}
