:root {
  --btm-green: #213c1e;
  --btm-gold: #f1cf81;
  --btm-red: #c30808;
  --text-white: #ffffff;
}

.stage.theme-dark {
  --bg-color: var(--btm-green);
  --border-color: var(--btm-gold);
  --heading-color: var(--btm-gold);
  --text-color: var(--text-white);
}

.stage.theme-light {
  --bg-color: var(--btm-gold);
  --border-color: var(--btm-green);
  --heading-color: var(--btm-green);
  --text-color: var(--btm-green);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #000000;
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.stage {
  width: 100vw;
  height: calc(100vw * 9 / 16);
  max-height: 100vh;
  max-width: calc(100vh * 16 / 9);
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: var(--bg-color, #213c1e);
  border: 4px solid var(--border-color, #f1cf81);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 4vw 4vw 8vw 4vw;
  text-align: left;
}

/* Force Active Slide Visibility */
.slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10;
}

.slide h1 {
  color: var(--heading-color, #f1cf81);
  font-size: 3.8vw;
  margin-bottom: 2vw;
  line-height: 1.1;
  max-width: 75%;
}

.slide-content {
  font-size: 2vw;
  color: var(--text-color, #ffffff);
  max-width: 90%;
}

.slide-badge {
  position: absolute;
  top: 2vw;
  right: 2vw;
  background-color: var(--btm-red);
  color: var(--text-white);
  padding: 0.5vw 1.5vw;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.2vw;
  text-transform: uppercase;
  z-index: 15;
}

.logo {
  position: absolute;
  bottom: 2vw;
  left: 2vw;
  height: 4.5vw;
  max-height: 80px;
  width: auto;
  z-index: 20;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  background-color: var(--btm-red);
  width: 0%;
  z-index: 30;
  transition: width linear;
}

table {
  border-collapse: separate;
  /* 0px horizontal spacing, 10px vertical margin between rows */
  border-spacing: 0 2em; 
}

/* Optional: Clean card styling for each row */
tbody tr {
  background-color: #ffffff;
  opacity: 0.3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Add rounded corners to the ends of each row */
tbody td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

tbody td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}