* { margin:0; padding:0; box-sizing:border-box; }
html,body { overflow-x:hidden; max-width:100%; }

:root {
  --navy: #060A14;
  --navy-mid: #0F1629;
  --navy-surface: #141D35;
  --blue: #2563EB;
  --blue-bright: #3B7BFF;
  --gold: #F5C842;
  --white: #fff;
  --off-white: #F7F8FC;
  --ink: #0A0E1A;
  --ink-soft: #4A5578;
  --muted: #8892AA;
  --border: #E4E8F0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
}


/* ── HERO — dark navy with tournament info ── */
.tourn-hero {
  background: linear-gradient(160deg, #060A14 0%, #0A1228 50%, #060A14 100%);
  padding: 100px 52px 80px;
  position: relative; overflow: hidden;
}
.tourn-hero::before {
  content:''; position:absolute;
  top:-20%; right:-5%; width:600px; height:600px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, transparent 65%);
  pointer-events:none;
}
.tourn-hero::after {
  content:''; position:absolute;
  bottom:-10%; left:-5%; width:400px; height:400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 65%);
  pointer-events:none;
}
/* Stars */
.hero-stars {
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,0.6) 0.5px, transparent 0.5px),
    radial-gradient(circle at 85% 10%, rgba(255,255,255,0.5) 0.5px, transparent 0.5px),
    radial-gradient(circle at 45% 8%,  rgba(255,255,255,0.4) 0.5px, transparent 0.5px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.5) 0.5px, transparent 0.5px),
    radial-gradient(circle at 22% 35%, rgba(255,255,255,0.35) 0.5px, transparent 0.5px),
    radial-gradient(circle at 92% 40%, rgba(255,255,255,0.4) 0.5px, transparent 0.5px),
    radial-gradient(circle at 55% 28%, rgba(255,255,255,0.3) 0.5px, transparent 0.5px),
    radial-gradient(circle at 8%  55%, rgba(255,255,255,0.35) 0.5px, transparent 0.5px),
    radial-gradient(circle at 78% 60%, rgba(255,255,255,0.3) 0.5px, transparent 0.5px);
}
.hero-inner {
  max-width: 1200px; margin:0 auto;
  position: relative; z-index:5;
  display: flex; align-items: flex-start; gap: 60px;
}
.hero-left { flex:1; min-width:0; }

/* Breadcrumb */
.breadcrumb {
  display:flex; align-items:center; gap:6px;
  font-size:12px; color:rgba(255,255,255,0.35);
  margin-bottom:24px; font-weight:500;
}
.breadcrumb a { color:rgba(255,255,255,0.35); text-decoration:none; transition:color 0.15s; }
.breadcrumb a:hover { color:rgba(255,255,255,0.7); }
.breadcrumb-sep { color:rgba(255,255,255,0.2); }

/* Status badge */
.status-badge {
  display:inline-flex; align-items:center; gap:6px;
  padding: 4px 12px; border-radius:100px;
  font-size:11px; font-weight:700; letter-spacing:0.5px;
  margin-bottom:16px;
}
.status-badge.upcoming { background:rgba(245,200,66,0.12); border:1px solid rgba(245,200,66,0.25); color:var(--gold); }
.status-badge.live     { background:rgba(16,185,129,0.12); border:1px solid rgba(16,185,129,0.25); color:#10b981; }
.status-dot { width:5px; height:5px; border-radius:50%; background:currentColor; animation:pulse 1.3s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.tourn-name {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; color:#fff;
  letter-spacing: -1.5px; line-height:1.05;
  margin-bottom: 16px;
}

/* Meta pills row */
.meta-pills {
  display:flex; flex-wrap:wrap; gap:8px;
  margin-bottom: 36px;
}
.meta-pill {
  display:flex; align-items:center; gap:7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius:9px; padding:8px 14px;
  font-size:13px; font-weight:500; color:rgba(255,255,255,0.75);
}
.meta-pill-icon { font-size:14px; opacity:0.8; }
.meta-pill-label { font-size:10px; color:rgba(255,255,255,0.3); display:block; margin-bottom:1px; font-weight:500; text-transform:uppercase; letter-spacing:1px; }

/* CTA buttons */
.hero-btns { display:flex; gap:10px; flex-wrap:wrap; }
.btn-hero-primary {
  padding:12px 28px; background:var(--blue); border:none; border-radius:10px;
  color:#fff; font-size:14px; font-weight:700; cursor:pointer;
  font-family:'Inter'; transition:all 0.2s;
  box-shadow:0 4px 20px rgba(37,99,235,0.4);
}
.btn-hero-primary:hover { background:var(--blue-bright); transform:translateY(-1px); box-shadow:0 8px 28px rgba(37,99,235,0.5); }
.btn-hero-secondary {
  padding:12px 24px; background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18); border-radius:10px;
  color:#fff; font-size:14px; font-weight:500; cursor:pointer;
  font-family:'Inter'; transition:all 0.2s;
}
.btn-hero-secondary:hover { background:rgba(255,255,255,0.13); }

/* Right: tournament logo */
.hero-right {
  flex-shrink:0;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.tourn-logo-frame {
  width: 160px; height:160px;
  border-radius:24px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  box-shadow: 0 0 40px rgba(37,99,235,0.12), 0 20px 40px rgba(0,0,0,0.4);
}
.tourn-logo-frame img { width:100%; height:100%; object-fit:cover; }

/* Stats strip */
.stats-strip {
  display:flex; gap:0; border-radius:14px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  width:100%;
}
.strip-stat {
  flex:1; padding:12px 8px; text-align:center;
  border-right:1px solid rgba(255,255,255,0.06);
}
.strip-stat:last-child { border-right:none; }
.strip-val {
  font-size:20px; font-weight:900; color:#fff;
  font-family:'JetBrains Mono', monospace; letter-spacing:-1px; line-height:1;
}
.strip-label {
  font-size:8.5px; color:rgba(255,255,255,0.3); text-transform:uppercase;
  letter-spacing:1.5px; font-weight:600; margin-top:4px;
}

/* ── PLAYER STATS BAND ── */
.player-stats-band {
  background: var(--white);
  padding: 0 52px;
  border-bottom: 1px solid var(--border);
}
.player-stats-inner {
  max-width:1200px; margin:0 auto;
  display:flex; gap:0; transform:translateY(-28px);
}
.pstat-card {
  flex:1; background:var(--white);
  border:1.5px solid var(--border);
  border-radius:16px; padding:20px 24px;
  display:flex; align-items:center; gap:14px;
  margin:0 6px; cursor:pointer; text-decoration:none;
  box-shadow:0 4px 20px rgba(10,14,26,0.08);
  transition:all 0.22s;
}
.pstat-card:first-child { margin-left:0; }
.pstat-card:last-child  { margin-right:0; }
.pstat-card:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(37,99,235,0.12); border-color:rgba(37,99,235,0.25); }
.pstat-icon {
  width:48px; height:48px; border-radius:13px;
  display:flex; align-items:center; justify-content:center; font-size:20px;
  flex-shrink:0;
}
.pstat-icon.sold     { background:rgba(16,185,129,0.1); border:1.5px solid rgba(16,185,129,0.2); }
.pstat-icon.unsold   { background:rgba(239,68,68,0.08); border:1.5px solid rgba(239,68,68,0.15); }
.pstat-icon.available{ background:rgba(37,99,235,0.08); border:1.5px solid rgba(37,99,235,0.15); }
.pstat-num {
  font-size:32px; font-weight:900; color:var(--ink);
  font-family:'JetBrains Mono',monospace; letter-spacing:-2px; line-height:1;
}
.pstat-label { font-size:12px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:1.5px; margin-top:2px; }

/* ── BODY CONTENT ── */
.page-body {
  max-width:1200px; margin:0 auto;
  padding: 0 52px 80px;
}

/* Section heading */
.section-heading {
  font-size:24px; font-weight:800; color:var(--ink);
  letter-spacing:-0.8px; margin-bottom:6px;
}
.section-sub {
  font-size:14px; color:var(--muted); margin-bottom:32px;
}
.section-eyebrow {
  font-size:10.5px; font-weight:700; text-transform:uppercase;
  letter-spacing:2.5px; color:var(--blue);
  display:flex; align-items:center; gap:8px; margin-bottom:10px;
}
.section-eyebrow::before { content:''; width:16px; height:2px; background:var(--blue); border-radius:1px; }

/* ── TEAMS GRID ── */
.teams-section { padding-top: 48px; margin-bottom:64px; }
.teams-grid {
  display:grid; grid-template-columns:repeat(4, 1fr); gap:16px;
}
.team-card {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:20px; padding:24px 20px 20px;
  display:flex; flex-direction:column; align-items:center;
  text-decoration:none; cursor:pointer;
  position:relative; overflow:hidden;
  transition:all 0.28s cubic-bezier(0.23,1,0.32,1);
  box-shadow:0 2px 8px rgba(10,14,26,0.05);
}
.team-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--blue), #6366f1);
  opacity:0; transition:opacity 0.28s;
}
.team-card:hover { transform:translateY(-5px); border-color:rgba(37,99,235,0.25); box-shadow:0 20px 48px rgba(37,99,235,0.1); }
.team-card:hover::before { opacity:1; }

.team-logo-wrap {
  width:72px; height:72px; border-radius:50%;
  background:var(--off-white); border:2px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; margin-bottom:16px;
  transition:border-color 0.2s;
}
.team-card:hover .team-logo-wrap { border-color:rgba(37,99,235,0.3); }
.team-logo-wrap img { width:100%; height:100%; object-fit:cover; border-radius:50%; }

.team-name {
  font-size:14px; font-weight:700; color:var(--ink);
  text-align:center; letter-spacing:-0.3px; margin-bottom:14px;
  line-height:1.3;
}
.team-stats {
  display:flex; gap:12px; width:100%; margin-bottom:16px;
}
.tstat {
  flex:1; text-align:center; padding:8px 4px;
  background:var(--off-white); border-radius:10px;
}
.tstat-val {
  font-size:16px; font-weight:800; color:var(--ink);
  font-family:'JetBrains Mono',monospace; letter-spacing:-0.5px;
}
.tstat-label { font-size:9px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; font-weight:600; margin-top:2px; }

.team-view-btn {
  width:100%; padding:9px 16px;
  background:transparent; border:1.5px solid var(--border); border-radius:10px;
  color:var(--ink-soft); font-size:13px; font-weight:600;
  cursor:pointer; font-family:'Inter'; transition:all 0.18s;
  text-align:center; text-decoration:none; display:block;
}
.team-card:hover .team-view-btn { background:var(--blue); border-color:var(--blue); color:#fff; }

/* ── SPONSORS ── */
.sponsors-section { margin-bottom:64px; }
.sponsors-grid {
  display:grid; grid-template-columns:repeat(4, 1fr); gap:16px;
}
.sponsor-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:16px; padding:20px;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  box-shadow:0 2px 8px rgba(10,14,26,0.04);
  transition:all 0.22s;
}
.sponsor-card:hover { transform:translateY(-3px); border-color:rgba(37,99,235,0.2); box-shadow:0 12px 32px rgba(37,99,235,0.08); }
.sponsor-logo-wrap {
  width:80px; height:80px; border-radius:50%;
  background:var(--off-white); border:2px solid var(--border);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.sponsor-logo-wrap img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.sponsor-name { font-size:13px; font-weight:700; color:var(--ink); text-align:center; line-height:1.3; }
.sponsor-type {
  font-size:10px; font-weight:700; color:var(--blue);
  background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.15);
  border-radius:100px; padding:2px 10px;
  text-transform:uppercase; letter-spacing:1px;
}

/* ── PLAYER SPOTLIGHT ── */
.spotlight-section { margin-bottom:64px; }
.spotlight-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.spotlight-card {
  background: linear-gradient(160deg, #0B1020 0%, #131C38 100%);
  border:1.5px solid rgba(255,255,255,0.07);
  border-radius:24px; padding:28px 22px 24px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  position:relative; overflow:hidden;
  transition:transform 0.28s cubic-bezier(0.23,1,0.32,1), box-shadow 0.28s, border-color 0.28s;
}
.spotlight-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, rgba(37,99,235,0.6), transparent);
  opacity:0; transition:opacity 0.28s;
}
.spotlight-card::after {
  content:''; position:absolute; top:-30%; right:-20%;
  width:260px; height:260px;
  background:radial-gradient(ellipse, rgba(37,99,235,0.09) 0%, transparent 65%);
  pointer-events:none;
}
.spotlight-card:hover { transform:translateY(-6px); border-color:rgba(37,99,235,0.25); box-shadow:0 24px 56px rgba(37,99,235,0.13); }
.spotlight-card:hover::before { opacity:1; }

/* Gold treatment for top player */
.spotlight-card.rank-gold { border-color:rgba(245,200,66,0.22); box-shadow:0 8px 32px rgba(245,200,66,0.08); }
.spotlight-card.rank-gold::before { background:linear-gradient(90deg, transparent, rgba(245,200,66,0.65), transparent); opacity:1; }
.spotlight-card.rank-gold::after { background:radial-gradient(ellipse, rgba(245,200,66,0.08) 0%, transparent 65%); }
.spotlight-card.rank-gold:hover { border-color:rgba(245,200,66,0.38); box-shadow:0 24px 56px rgba(245,200,66,0.13); }

/* Rank badge */
.spotlight-rank {
  position:absolute; top:14px; left:14px;
  width:26px; height:26px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:900; font-family:'JetBrains Mono',monospace; line-height:1; z-index:3;
}
.spotlight-rank.r1 { background:rgba(245,200,66,0.15); border:1px solid rgba(245,200,66,0.3); color:#F5C842; }
.spotlight-rank.r2 { background:rgba(148,163,184,0.1); border:1px solid rgba(148,163,184,0.2); color:#94a3b8; }
.spotlight-rank.r3 { background:rgba(205,127,50,0.1); border:1px solid rgba(205,127,50,0.2); color:#cd7f32; }

.spotlight-photo {
  width:86px; height:86px; border-radius:50%;
  background:rgba(255,255,255,0.08); border:2.5px solid rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; margin-bottom:18px; flex-shrink:0; z-index:2;
}
.spotlight-card.rank-gold .spotlight-photo { border-color:rgba(245,200,66,0.35); box-shadow:0 0 20px rgba(245,200,66,0.18); }
.spotlight-photo img { width:100%; height:100%; object-fit:cover; }

.spotlight-info { flex:1; display:flex; flex-direction:column; align-items:center; z-index:2; width:100%; }
.spotlight-label { font-size:9.5px; color:rgba(255,255,255,0.3); letter-spacing:2.5px; text-transform:uppercase; font-weight:700; margin-bottom:6px; }
.spotlight-name { font-size:18px; font-weight:900; color:#fff; letter-spacing:-0.4px; line-height:1.2; margin-bottom:12px; }

.spotlight-price {
  font-size:22px; font-weight:900; color:var(--gold);
  font-family:'JetBrains Mono',monospace; letter-spacing:-1px; line-height:1; margin-bottom:4px;
}
.spotlight-price-label { font-size:9px; color:rgba(255,255,255,0.25); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:14px; }

.spotlight-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-bottom:20px; }
.spotlight-tag {
  font-size:10.5px; font-weight:600; color:rgba(255,255,255,0.45);
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.09);
  border-radius:6px; padding:3px 9px;
}
.spotlight-replay {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  padding:10px 20px; background:var(--blue); border:none; border-radius:10px;
  color:#fff; font-size:12.5px; font-weight:700; cursor:pointer; font-family:'Inter';
  transition:all 0.2s; text-decoration:none; width:100%; margin-top:auto;
  box-shadow:0 4px 16px rgba(37,99,235,0.35);
}
.spotlight-replay:hover { background:var(--blue-bright); box-shadow:0 8px 28px rgba(37,99,235,0.5); color:#fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tourn-hero { padding: 88px 28px 64px; }
  .hero-inner { gap: 36px; }
  .page-body { padding: 0 28px 64px; }
  .player-stats-band { padding: 0 28px; }
  .teams-grid { grid-template-columns: repeat(3, 1fr); }
  .sponsors-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .tourn-hero { padding: 76px 20px 56px; }
  .hero-inner { flex-direction: column-reverse; gap: 28px; }
  .hero-right { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .tourn-logo-frame { width: 90px; height: 90px; }
  .stats-strip { flex: 1; }
  .page-body { padding: 0 20px 56px; }
  .player-stats-band { padding: 0 20px; }
  .player-stats-inner { flex-direction: column; transform: translateY(-20px); gap: 8px; }
  .pstat-card { margin: 0; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .teams-grid { grid-template-columns: 1fr 1fr; }
  .sponsors-grid { grid-template-columns: 1fr 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
}
