table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  background-color: #14421e; /* deep green */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.45);
  border: 4px solid #c62828; /* Christmas red border */
  position: relative;
}

th, td {
  padding: 16px 28px;
  text-align: left;
}

th {
  background: linear-gradient(90deg, #c62828 0%, #ffd700 50%, #388e3c 100%);
  color: #fff;
  font-size: 1.4em;
  border-bottom: 2px solid #c62828;
  text-shadow: 0 2px 8px #333;
}

td {
  background: rgba(255,255,255,0.07);
  color: #fffbe7;
  font-size: 1.2em;
  border-bottom: 1px solid #388e3c;
  transition: background 0.2s;
}

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

tr:hover td {
  background-color: #ffd700;
  color: #c62828;
}

th:first-child, td:first-child {
  border-top-left-radius: 16px;
}
th:last-child, td:last-child {
  border-top-right-radius: 16px;
}

/* Add a subtle snow overlay (desktop only) */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: url('https://pngimg.com/uploads/snowflakes/snowflakes_PNG7582.png');
  opacity: 0.08;
  z-index: 0;
}

/* Rating Title with a Christmas emoji */
.rating-h1 {
  font-size: xx-large;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
  gap: 10px;
}
.rating-h1::before {
  content: "🎄";
  font-size: 1.5em;
  margin-right: 12px;
}
.rating-h1::after {
  content: "🎅";
  font-size: 1.5em;
  margin-left: 12px;
}

/* Rating Class: Festive highlight */
.rating {
  font-size: x-large;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #388e3c;
  text-shadow: 0 0 6px #ffd700;
  margin-bottom: 12px;
}

/* Add twinkling stars to the page corners */
body::after {
  content: "✨";
  position: fixed;
  top: 12px;
  right: 16px;
  font-size: 2em;
  z-index: 2;
  pointer-events: none;
  animation: twinkle 2s infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Make the page background a gentle gradient with holiday colors */
body {
  background: linear-gradient(135deg, #0d1c2b 0%, #14421e 70%);
  color: #fffbe7;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
