/* =====================
   RESET & BASE
===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(
    ellipse at top,
    #0f2a3a 0%,
    #0b1623 40%,
    #070d16 100%
  );
  color: #ffffff;
  line-height: 1.6;
}

/* =====================
   NAVIGATION
===================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
}

.brand .name {
  font-weight: 600;
}

.brand .tagline {
  font-size: 0.8rem;
  opacity: 0.7;
}

.nav-right a {
  margin-left: 18px;
  text-decoration: none;
  color: #cfd8e3;
  font-size: 0.9rem;
}

.nav-right a.active {
  color: #ffffff;
  font-weight: 600;
}

/* =====================
   PAGE LAYOUT
===================== */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.section {
  margin-top: 56px;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.muted {
  opacity: 0.7;
}

/* =====================
   PILLS & TABS
===================== */
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.8rem;
}

.tabs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.tab {
  background: rgba(255,255,255,0.08);
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
  color: #000;
  font-weight: 600;
}

/* =====================
   MATCH LIST (Kalshi-style)
===================== */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
}

.match-row:hover {
  background: rgba(255,255,255,0.08);
}

.match-teams {
  font-weight: 500;
}

.match-meta {
  font-size: 0.85rem;
  opacity: 0.6;
}

.arbscore {
  min-width: 46px;
  text-align: center;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5c542, #d49b1e);
  color: #000;
}

/* =====================
   ARBCARD PREVIEW
===================== */
.arbcard-preview {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.arbcard-preview img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

/* =====================
   FOOTER
===================== */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* PREMIUM TABLE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.compare-table th {
  color: #9ccfd8;
  font-weight: 600;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
  width: 120px;
}

.arbcard {
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.2));
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.arbcard:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}

.arbcard-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arbcard-teams {
  font-size: 18px;
}

.arbcard-meta {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}

.arbcard-score {
  background: #b08a1c;
  color: #000;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  min-width: 64px;
}

.arbcard-score .score {
  font-size: 20px;
  font-weight: 700;
}

.arbcard-score .label {
  font-size: 11px;
}

.arbcard-details {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.85;
}

.arbcard-details ul {
  padding-left: 18px;
}
