/* style.css - Neon Arcade Keno UI */

body {
  margin: 0;
  padding: 0;
  background-color: #0d001a;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
}

#keno-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

header h1 {
  text-align: center;
  font-size: 2rem;
  color: #ff00ff;
  text-shadow: 0 0 8px #ff00ff;
}

#main-layout {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: nowrap;
}

aside, section {
  background-color: #1a0033;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 15px #5500aa;
}

#leaderboard-box {
  flex: 1;
  max-width: 260px;
  overflow-y: auto;
}

#keno-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#payout-box {
  flex: 1;
  max-width: 260px;
}

#keno-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  margin: 1rem 0;
}

#keno-board button {
  padding: 0.5rem;
  background-color: #330066;
  color: white;
  border: 2px solid #5500aa;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

#keno-board button:hover {
  background-color: #5500aa;
}

#keno-board button.selected {
  background-color: #ff00ff;
  color: black;
  box-shadow: 0 0 10px #ff00ff;
}

#keno-board button.bonus {
  background-color: #0044ff;
  color: #fff;
  border-color: #00ccff;
  box-shadow: 0 0 10px #00ccff, 0 0 20px #0044ff;
}

#controls {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

#controls button,
#controls select {
  padding: 0.5rem 1rem;
  background-color: #ff00ff;
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

#controls button:hover {
  background-color: #aa00aa;
}

#payout-message {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #00ffcc;
  text-shadow: 0 0 4px #00ffcc;
  text-align: center;
}

#payout-table table,
#leaderboard-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

#payout-table th,
#payout-table td,
#leaderboard-table th,
#leaderboard-table td {
  border: 1px solid #333;
  padding: 4px;
  text-align: center;
}

#leaderboard-table td:first-child {
  font-weight: bold;
  text-shadow: 0 0 3px #ff00ff;
}

#leaderboard-table td:nth-child(2) {
  color: #00ffcc;
  text-shadow: 0 0 3px #00ffcc;
}

#leaderboard-table td:nth-child(3),
#leaderboard-table td:nth-child(4) {
  color: #ffcc00;
  text-shadow: 0 0 2px #ffaa00;
}

footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
  background-color: #1a0033;
  padding: 1rem;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

#drawn-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

#drawn-list span {
  display: inline-block;
  margin: 3px;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: #222;
  color: #ccc;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid #555;
}

#drawn-list span.match {
  background-color: #8b00ff;
  color: #fff;
  border-color: #ff00ff;
  box-shadow: 0 0 10px #ff00ff, 0 0 20px #8b00ff;
}

#drawn-list span.bonus {
  background-color: #0044ff;
  color: #fff;
  border-color: #00ccff;
  box-shadow: 0 0 10px #00ccff, 0 0 20px #0044ff;
}

#season-summary {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #220044;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 12px #ff00ff;
}

#season-summary.hidden {
  display: none;
}

#season-summary.visible {
  display: block;
}

#season-summary h2 {
  color: #ff66ff;
  margin-bottom: 1rem;
}

#season-summary p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

#restart-button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  background-color: #00ffcc;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffcc;
}

#restart-button:hover {
  background-color: #00ccaa;
}

.hidden {
  display: none;
}

.positive-score {
  color: #00ff00;
}

.negative-score {
  color: #ff3333;
}
