body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
/* 🥇 GOLD — 1st place */
tbody tr:nth-child(1) {
  border-left: 3px solid gold;
  font-weight: bolder;
  color: gold;
}
/* 🥈 SILVER — 2nd place */
tbody tr:nth-child(2) {
  border-left: 3px solid #c0c0c0;
  font-weight: 600;
}

/* 🥉 BRONZE — 3rd place */
tbody tr:nth-child(3) {
  border-left: 3px solid #cd7f32;
  font-weight: 600;
}

/* ---------------- HERO SECTION ---------------- */
.hero-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 120px;
}
.hero-logo {
  display: block;
  margin: 0 auto 20px auto; /* center + spacing */
  width: 560px;             /* adjust to taste */
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0px 80px 80px rgb(134, 134, 134));

}

/* The dice positioned bottom-left of the title */
.dice-title-icon {
  position: absolute;
  bottom: -100px;     /* adjust to taste */
    /* adjust so it tucks under the title */
  width: 100px;    
  left:50px;  /* resize to whatever looks best */
  opacity: 0.9;
  user-select: none;
  pointer-events: none;
  margin-top: 50px;
}
.total-wager {
  border-top: 1px solid rgba(255,255,255,0.06);

  margin-top: -30px;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #cbd5e1; /* soft indigo */
}
#total-wager-value {
  
  color: #fbbf24; /* soft indigo */
}

.hero {
  text-align: center;
  margin-bottom: 30px;
  padding: 10px 20px;
}

.hero-title {
  filter: drop-shadow(0px 80px 80px rgba(255, 255, 255, 0.55));

  font-size: 7rem;
  font-weight: 900;
  margin: 0 0 10px;
}
.section-title{
  border-top: 1px solid rgba(255,255,255,0.06);

  font-weight: bold;
  font-size: 3rem;
  margin-top:25px;
  padding: 20px;
}

.hero-subtitle {
  margin-top: -70px;
  font-size: 1rem;
  color: #d1d5db;
}

.hero-subtitle a {
  color: #60a5fa;
  text-decoration: none;
}
.hero-subtitle a:hover {
  text-decoration: underline;
}

.code-inline {
  font-family: monospace;
  background: #111827;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fbbf24;
}

.dev-notice {
  margin-top: 12px;
  display: inline-block;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: #facc15;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}
/* ---------------- CUSTOM FOOTER ---------------- */
.custom-footer {
  margin-top: 40px;
  padding: 20px 10px;
  width: 100%;
  max-width: 900px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}
.footer-link:focus {
  text-decoration: none !important;
}
.footer-link:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.footer-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.footer-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.dev-by {
  margin-left: 6px;
  color: #9ca3af;
}

.dev-tag {
  font-family: monospace;
}

/* ---------------- CARD ---------------- */
#data-updated{
  margin: 20px;
}
.card {
  filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.55));
  background: #0f172a;
  border-radius: 16px;
  width: 90%;
  
  padding: 20px;
  border: 1px solid #1e293b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.meta {
  text-align: right;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* TABLE */


.table-wrapper {
  background: #020617;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #1e293b;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #9ca3af;
}

th, td {
  padding: 10px 6px;
}

tbody tr:nth-child(even) { background: rgba(30, 41, 59, 0.4); }
tbody tr:nth-child(odd) { background: rgba(30, 41, 59, 0.2); }

.right { text-align: right; }
.left { text-align: left; }

.center { text-align: center; }
.padded { padding: 18px 0; }

/* STATUS + BUTTON */

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.status-text {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4b5563;
  border-radius: 50%;
}

.refresh-btn {
  background: #2563eb;
  border: none;
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
.refresh-btn:hover {
  background: #1d4ed8;
}


.end-date {
  margin-top: -20px;
  font-size: 1.1rem;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.end-date span {
  color: #fbbf24; /* gold look */
  font-weight: 600;
}
