:root {
  --bg: #0b0d10;
  --surface: #14171b;
  --gold: #d8b46a;
  --gold-soft: #e8cd9a;
  --cream: #f2ede2;
  --dim: #9aa0a6;
  --tile-bg: #15181c;
  --tile-border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Banner ── */

.banner {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(45%) brightness(0.4);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.65) 55%, rgba(11,13,16,0.35) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
}

.eyebrow {
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.banner-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--cream);
}

/* ── Grid ── */

.grid-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 70px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

.tile {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tile.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.tile.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}

.card-desc {
  font-size: 0.78rem;
  color: var(--dim);
  margin: 0 0 12px;
  line-height: 1.45;
}

.tile-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tile-icon {
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216,180,106,0.12);
  border-radius: 8px;
  flex-shrink: 0;
}

.tile-head h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
}

.wc-board {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.wc-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 7px;
  font-size: 0.76rem;
}

.wc-rank { font-weight: 700; }
.wc-name { font-weight: 500; }
.wc-pts { font-weight: 700; }

.wc-loading {
  color: var(--dim);
  font-size: 0.82rem;
  padding: 8px 0;
}

.tile-link {
  display: inline-block;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  margin-top: auto;
  padding-top: 2px;
}

.tile-link:hover {
  border-color: var(--gold-soft);
}

.site-footer {
  text-align: center;
  padding: 22px;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255,255,255,0.05);
}
