:root {
  --bg: #050814;
  --bg-soft: #0b1020;
  --card-bg: #101628;
  --accent: #ffd54a;
  --accent-soft: rgba(255, 213, 74, 0.1);
  --text-main: #f5f5ff;
  --text-muted: #a0a4c0;
  --border-soft: #272c45;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #182145 0%, #050814 55%);
  color: var(--text-main);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(6, 12, 35, 0.95), rgba(20, 31, 68, 0.98));
  border-radius: 28px;
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  margin-bottom: 28px;
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 40px;
  width: auto;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 6px;
}

.hero-text { flex: 1; min-width: 260px; }

.hero h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.hero-subtitle {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  font-size: 0.75rem;
}

.disclaimer-box {
  background: #fff3cd;
  color: #3b2f06;
  padding: 18px 20px;
  border-left: 6px solid #ffca2c;
  border-radius: 10px;
  margin: 20px 0 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.disclaimer-box h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.disclaimer-box p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.info-cards {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 18px;
  margin-bottom: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

#prize-summary p { margin: 4px 0; }

.table-section {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 16px 18px 12px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.table-header h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.table-subtitle {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.table-container {
  max-height: 520px;
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.25);
}

.loading {
  padding: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15,25,58,0.98), rgba(35,30,50,0.98));
}

th, td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

th:first-child, td:first-child { text-align: left; }
th:nth-child(2), td:nth-child(2) { text-align: left; }

th {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

tbody tr:nth-child(odd)  { background: rgba(255, 255, 255, 0.01); }
tbody tr:nth-child(even) { background: rgba(0, 0, 0, 0.18); }

tbody tr.top-1 {
  background: linear-gradient(90deg, rgba(255, 215, 64, 0.22), rgba(0, 0, 0, 0.3));
}
tbody tr.top-2 {
  background: linear-gradient(90deg, rgba(200, 220, 255, 0.2), rgba(0, 0, 0, 0.3));
}
tbody tr.top-3 {
  background: linear-gradient(90deg, rgba(255, 184, 120, 0.22), rgba(0, 0, 0, 0.3));
}

td.amount { font-variant-numeric: tabular-nums; }

.footer {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.disclaimer { margin: 3px 0; }

@media (max-width: 768px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .info-cards { grid-template-columns: minmax(0, 1fr); }
  .logo { height: 32px; }
  th, td { padding: 6px 8px; }
}


.links-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.8rem;
  text-decoration: none;
  color: #f5f5ff;
  background: radial-gradient(circle at top, rgba(255,213,74,0.12), rgba(0,0,0,0.7));
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
  white-space: nowrap;
}

.link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  background: radial-gradient(circle at top, rgba(255,213,74,0.22), rgba(0,0,0,0.7));
}

.link-button.secondary {
  background: radial-gradient(circle at top, rgba(115, 152, 255, 0.1), rgba(0,0,0,0.7));
}

.link-button.secondary:hover {
  background: radial-gradient(circle at top, rgba(115, 152, 255, 0.2), rgba(0,0,0,0.7));
}

.link-button span {
  margin-left: 4px;
}
