/* ----------------------------------------------
BASE LAYOUT
---------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #0A0A0A; /* ✅ Premium dark background */
  color: white;
  overflow-x: hidden;
}

/* ----------------------------------------------
HEADER
---------------------------------------------- */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background-color: rgba(30, 58, 138, 0.85);
}

.logo img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: #FBBF24;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

nav a:hover {
  text-decoration: underline;
}

/* ----------------------------------------------
HOMEPAGE TITLE (ONLY THIS GLOWS)
---------------------------------------------- */
#title {
  text-align: center;
  font-size: 3em;
  margin-top: 40px;
  background: linear-gradient(90deg, #ff00cc, #3333ff, #00ffcc, #ffcc00);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmer 3s linear infinite, glow 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px #fff, 0 0 20px #ff00cc, 0 0 30px #3333ff; }
  50% { text-shadow: 0 0 20px #fff, 0 0 30px #00ffcc, 0 0 40px #ffcc00; }
}

/* ----------------------------------------------
LEGAL PAGE TITLES (NO GLOW)
---------------------------------------------- */
.legal-title {
  text-align: center;
  font-size: 2.5em;
  margin-top: 40px;
  color: #FBBF24;
  text-shadow: none !important;
  animation: none !important;
}

/* ----------------------------------------------
MAIN SCORE
---------------------------------------------- */
.main-score {
  text-align: center;
  font-size: 2.5em;
  font-weight: 900;
  color: gold;
  margin-top: 20px;
  text-shadow:
      0 0 10px gold,
      0 0 20px #ffcc00,
      0 0 30px #ffaa00;
}

/* ----------------------------------------------
CIRCLE LAYOUT
---------------------------------------------- */
.circle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ADD8E6;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
}

.circle:hover {
  transform: scale(1.1);
}

.score {
  font-size: 20px;
  font-weight: 900;
  margin-top: 5px;
}

/* ----------------------------------------------
DATE
---------------------------------------------- */
#current-date {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: gold;
  margin-top: 60px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px gold;
}

/* ----------------------------------------------
PREMIUM TABLE STYLING
---------------------------------------------- */
#chart-data table {
  width: 90%;
  margin: 40px auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

#chart-data th, 
#chart-data td {
  padding: 14px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #f1f1f1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#chart-data th {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

#chart-data tr:hover {
  background: rgba(255, 215, 0, 0.1);
  transition: background 0.3s ease;
}

#chart-data tr:last-child td {
  border-bottom: none;
}

/* ----------------------------------------------
CHART + DROPDOWN CONTROLS
---------------------------------------------- */
.chart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px auto;
}

.chart-label {
  font-size: 18px;
  font-weight: 600;
  color: #FFD700;
  text-transform: uppercase;
}

/* SIMPLE DROPDOWN */
select {
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  background: #fff; /* plain white */
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: none; /* remove glow/fancy effects */
}

select:hover {
  background: #f9f9f9; /* subtle hover */
}

/* ----------------------------------------------
RESPONSIVE
---------------------------------------------- */
@media (max-width: 600px) {
  #title {
    font-size: 2em;
    margin-top: 20px;
  }

  .circle {
    width: 90px;
    height: 90px;
    font-size: 12px;
  }

  .score {
    font-size: 16px;
  }

  .main-score {
    font-size: 2em;
  }

  #current-date {
    font-size: 24px;
  }

  #chart-data table {
    width: 100%;
    font-size: 14px;
  }

  #chart-data th, 
  #chart-data td {
    padding: 10px;
  }

  .chart-label {
    font-size: 16px;
  }

  select {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* ----------------------------------------------
FIREWORK PARTICLES
---------------------------------------------- */
.firework {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  animation: burst 1s ease-out forwards;
}

@keyframes burst {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.firework::after {
  content: "✦";
  position: absolute;
  top: -6px;
  left: -6px;
  font-size: 12px;
  color: gold;
  animation: sparkle 1s ease-out forwards;
}

@keyframes sparkle {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2); }
}
