/* home page (index.html): hero, feature strip, match cards, players teaser. Tokens in theme.css. */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; padding: 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 90% at 78% 30%, var(--hero-glow), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.kicker { margin: 0 0 18px; font: 700 12.5px/1.2 var(--font); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-on-dark); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--accent-on-dark); flex: none; }
.hero h1 { font-size: 54px; line-height: 1.04; color: var(--hero-ink); }
.hero-lede { color: var(--hero-ink-2); font-size: 18px; line-height: 1.55; margin: 20px 0 30px; max-width: 34em; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; margin: 40px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { font: 800 30px/1 var(--font-head); color: var(--hero-ink); letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--hero-ink-2); }
.hero-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08); transform: perspective(1600px) rotateY(-4deg); transition: transform 0.4s ease; }
.hero-media:hover { transform: perspective(1600px) rotateY(0deg); }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: var(--radius-pill);
  background: rgba(2, 8, 23, 0.72); color: #fff; font-size: 12.5px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 52px; }
  .hero-media { transform: none; }
  .hero h1 { font-size: 46px; }
}
@media (max-width: 600px) {
  .hero-grid { padding-top: 32px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-lede { font-size: 16px; margin: 16px 0 24px; }
  .hero-stats { gap: 12px 28px; margin-top: 28px; padding-top: 18px; }
  .hero-stats b { font-size: 24px; }
  .hero-cta .cta { flex: 1 1 auto; justify-content: center; }
}

/* feature strip: overlaps the hero's bottom edge */
#features { padding-top: 0; margin-top: -28px; position: relative; z-index: 2; }
.feats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.feat { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-2); text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.feat:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.feat svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.feat b { font: 700 15.5px/1.25 var(--font-head); text-transform: var(--title-transform); }
.feat span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 1100px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } #features { margin-top: -20px; } }
@media (max-width: 420px) { .feats { grid-template-columns: minmax(0, 1fr); } .feat { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .feat svg { margin: 0; } .feat span { flex-basis: 100%; } }

/* match cards */
#matches { padding-top: 56px; }
.mgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.mcard.wide { grid-column: 1 / -1; flex-direction: row; }
.mimg { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1220; }
.mcard.wide .mimg { flex: 0 0 48%; aspect-ratio: auto; min-height: 100%; }
.mimg img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mcard:hover .mimg img { transform: scale(1.03); }
.mbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.mvenue { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.mbody h3 { font-size: 22px; letter-spacing: -0.015em; margin: 2px 0 0; }
.mbody h3 a { text-decoration: none; color: inherit; }
.mbody h3 a:hover { color: var(--accent-ink); }
.mmeta { margin: 0; color: var(--ink-2); font-size: 14px; }
.mres { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; font-size: 14px; flex-wrap: wrap; }
.mres b { font: 800 26px/1 var(--font-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mres .tm { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.mres .tm.lost { color: var(--muted); font-weight: 500; }
.mres .tm i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 4px; }
.games a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; color: inherit;
  background: var(--surface-2); transition: border-color 0.15s, background-color 0.15s; }
.games a:hover { border-color: var(--brand); background: var(--brand-tint); }
.games span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.games b { font: 800 20px/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.mlinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.mlinks a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  transition: border-color 0.15s, color 0.15s, background-color 0.15s; }
.mlinks a:first-child { background: var(--sel); border-color: var(--sel); color: var(--sel-ink); }
.mlinks a:hover { border-color: var(--brand); color: var(--accent-ink); }
.mlinks a:first-child:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
@media (max-width: 860px) {
  .mgrid { grid-template-columns: minmax(0, 1fr); }
  .mcard.wide { flex-direction: column; }
  .mcard.wide .mimg { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 420px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mbody { padding: 16px 16px 18px; } }

/* players teaser */
.pteaser { display: flex; align-items: center; gap: 24px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.pteaser::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand-grad); }
.pteaser:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); box-shadow: var(--shadow-2); }
.pavs { display: flex; flex: none; }
.pavs img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--border); margin-left: -14px; background: var(--surface-2); }
.pavs img:first-child { margin-left: 0; }
.ptx { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ptx b { font: 700 18px/1.25 var(--font-head); text-transform: var(--title-transform); }
.ptx span { color: var(--ink-2); font-size: 14px; }
.pteaser .cta { flex: none; }
@media (max-width: 760px) { .pteaser { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; } }
