:root {
  --bg: #020814;
  --bg2: #061b38;
  --panel: rgba(4, 16, 36, .82);
  --panel2: rgba(7, 30, 62, .72);
  --blue: #0aa8ff;
  --blue2: #00d5ff;
  --cyan: #42efff;
  --text: #f5f8ff;
  --muted: #a7b8d2;
  --border: rgba(0, 170, 255, .22);
  --border2: rgba(0, 213, 255, .34);
  --danger: #ff2d5f;
  --green: #61ff54;
  --gold: #d7b36f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 205, 255, .16), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(28, 95, 255, .18), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(0, 180, 255, .08), transparent 38%),
    linear-gradient(135deg, #03101f 0%, #06172d 42%, #0b1d4a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 220, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 220, 255, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 20%, #000, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 15%, transparent 0 26%, rgba(0, 213, 255, .08) 26.2%, transparent 26.6%),
    radial-gradient(circle at 14% 88%, transparent 0 32%, rgba(0, 213, 255, .06) 32.1%, transparent 32.5%);
}

a { color: inherit; text-decoration: none; }

.site-shell {
  width: min(1460px, calc(100% - 48px));
  margin: 14px auto 0;
  position: relative;
  z-index: 1;
}

/* Top bar */

.topbar {
  min-height: 44px;
  padding: 7px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(2, 10, 24, .9), rgba(4, 18, 42, .82));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.brand img {
  width: 170px;
  max-width: 30vw;
  display: block;
}

.top-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-pill,
.btn {
  border: 1px solid var(--border2);
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 1.25px;
  padding: 9px 18px;
  transition: .22s ease;
  white-space: nowrap;
}

.nav-pill {
  background: rgba(3, 14, 32, .72);
}

.nav-pill-primary,
.btn-primary {
  background: linear-gradient(135deg, #1bc7ff, #087dff);
  border-color: rgba(0, 180, 255, .8);
  color: white;
  box-shadow: 0 14px 34px rgba(0, 150, 255, .22);
}

.nav-pill:hover,
.btn:hover,
.text-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

/* Hero */

.hero-panel {
  min-height: 545px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 76% 50%, rgba(13, 111, 203, .26), transparent 36%),
    linear-gradient(135deg, rgba(2, 10, 24, .92), rgba(6, 26, 55, .72));
  box-shadow: 0 26px 90px rgba(0, 0, 0, .32);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 41% 59%;
  align-items: center;
  padding: 56px 54px;
  margin-bottom: 26px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 204, 255, .08), transparent 22%, transparent 72%, rgba(0, 119, 255, .12)),
    radial-gradient(circle at 83% 64%, transparent 0 34%, rgba(0, 213, 255, .13) 34.2%, transparent 34.6%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  color: var(--blue2);
  letter-spacing: 4px;
  font-weight: 900;
  font-size: .78rem;
  margin-bottom: 18px;
}

.live-kicker {
  color: white;
  letter-spacing: 4px;
  font-weight: 900;
  font-size: .82rem;
  margin-bottom: 8px;
}

.live-kicker span {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--danger);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 16px rgba(255, 45, 95, .8);
}

h1 {
  font-size: clamp(4.4rem, 7vw, 7.8rem);
  line-height: .91;
  letter-spacing: -5px;
  margin-bottom: 28px;
  text-shadow: 0 5px 0 rgba(0, 170, 255, .22);
}

h1 span {
  color: var(--blue);
}

.hero-text {
  max-width: 520px;
  color: #d6e4f7;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn-secondary {
  background: rgba(2, 12, 30, .62);
}

/* Bracket illustration */

.bracket-showcase {
  position: relative;
  z-index: 1;
  height: 420px;
  opacity: .82;
}

.round-label {
  position: absolute;
  color: #7defff;
  letter-spacing: 4px;
  font-size: .7rem;
  font-weight: 900;
  opacity: .65;
}

.round-label.qf { left: 10%; top: 3%; }
.round-label.sf { left: 48%; top: 13%; }
.round-label.gf { right: 4%; top: 23%; }

.bracket-match {
  position: absolute;
  width: 230px;
  border: 1px solid rgba(0, 207, 255, .28);
  border-radius: 12px;
  background: rgba(3, 14, 33, .72);
  box-shadow: inset 0 0 40px rgba(0, 160, 255, .05), 0 0 25px rgba(0, 160, 255, .08);
  padding: 11px;
}

.bracket-match div {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b9cbe5;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.bracket-match div:last-child { border-bottom: 0; }
.bracket-match span { font-size: .84rem; opacity: .8; }
.bracket-match strong { color: white; font-size: 1rem; }

.match-a { left: 9%; top: 45px; }
.match-b { left: 9%; top: 140px; }
.match-c { left: 9%; top: 235px; }
.match-d { left: 9%; top: 330px; }
.match-e { left: 47%; top: 108px; }
.match-f { left: 47%; top: 285px; }
.match-g { right: 0; top: 200px; }

.connector {
  position: absolute;
  border-color: rgba(112, 225, 255, .6);
  filter: drop-shadow(0 0 8px rgba(0, 200, 255, .45));
}

.c1 { left: 37%; top: 89px; width: 70px; height: 94px; border-top: 2px solid; border-right: 2px solid; }
.c2 { left: 37%; top: 183px; width: 70px; border-top: 2px solid; }
.c3 { left: 37%; top: 279px; width: 70px; height: 94px; border-top: 2px solid; border-right: 2px solid; }
.c4 { left: 37%; top: 373px; width: 70px; border-top: 2px solid; }
.c5 { left: 76%; top: 152px; width: 72px; height: 91px; border-top: 2px solid; border-right: 2px solid; }
.c6 { left: 76%; top: 331px; width: 72px; height: 0; border-top: 2px solid; }

/* Live section */

.live-panel,
.list-card,
.capability-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(2, 10, 24, .9), rgba(5, 23, 52, .74));
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

.live-panel {
  border-radius: 24px;
  padding: 34px 34px 28px;
  margin-bottom: 26px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}

.section-head h2,
.list-card h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  line-height: 1.05;
}

.section-arrows {
  display: flex;
  gap: 10px;
}

.section-arrows button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  background: rgba(0, 137, 255, .14);
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stream-card {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(6, 20, 44, .9);
  transition: .22s ease;
}

.stream-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 213, 255, .48);
  box-shadow: 0 22px 55px rgba(0, 153, 255, .14);
}

.stream-art {
  height: 165px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    radial-gradient(circle at 50% 40%, rgba(0, 210, 255, .35), transparent 23%),
    linear-gradient(135deg, #142d5e, #071321 62%, #231449);
  overflow: hidden;
}

.stream-art::before {
  content: "";
  position: absolute;
  inset: 20% -20%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 36px),
    linear-gradient(130deg, transparent 35%, rgba(0, 213, 255, .28), transparent 65%);
  transform: skewY(-7deg);
}

.art-two {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    radial-gradient(circle at 52% 36%, rgba(255, 158, 42, .34), transparent 26%),
    linear-gradient(135deg, #24325d, #071321 62%, #052b50);
}
.art-three {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    radial-gradient(circle at 54% 38%, rgba(187, 63, 255, .38), transparent 28%),
    linear-gradient(135deg, #27315e, #071321 62%, #421459);
}

.live-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--danger);
  color: white;
  font-weight: 900;
  font-size: .78rem;
  border-radius: 9px;
  padding: 8px 12px;
}

.viewer-count {
  position: absolute;
  right: 16px;
  top: 16px;
  color: white;
  background: rgba(0,0,0,.42);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 800;
  font-size: .8rem;
}

.stream-body { padding: 20px; }

.event-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
}

.event-row img,
.mini-row img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(0, 160, 255, .1);
  border: 1px solid var(--border);
  padding: 7px;
}

.event-row h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.event-row p,
.stream-meta span,
.mini-row span,
.capability-card p {
  color: var(--muted);
}

.stream-meta {
  display: grid;
  gap: 8px;
  font-size: 1rem;
}

/* Capability cards */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.capability-card {
  border-radius: 22px;
  min-height: 315px;
  padding: 34px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .22s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 213, 255, .44);
  box-shadow: 0 26px 60px rgba(0, 174, 255, .13);
}

.cap-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(84, 215, 255, .26), rgba(8, 88, 190, .34)),
    rgba(2, 14, 34, .82);
  border: 1px solid rgba(84, 215, 255, .34);
  box-shadow: 0 18px 45px rgba(0, 170, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
  position: relative;
  overflow: hidden;
}

.cap-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .28), transparent 34%);
  pointer-events: none;
}

.cap-icon::after {
  content: none;
}

.cap-icon svg {
  position: relative;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #f5fbff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .28));
}

.cap-icon.bracket-icon svg {
  stroke-width: 3.5;
}

.cap-icon.org-icon svg {
  width: 44px;
  height: 44px;
  stroke-width: 3.6;
}

.cap-icon.discovery-icon svg {
  stroke-width: 3.8;
}

.capability-card h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.capability-card p {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 260px;
  margin-bottom: 28px;
}

.capability-card a,
.text-link {
  color: var(--blue2);
  font-weight: 900;
  letter-spacing: 1.5px;
}

.capability-card a {
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 12px 26px;
}

/* Lists */

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

.list-card {
  border-radius: 22px;
  padding: 30px 34px;
}

.mini-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(0, 170, 255, .15);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  margin-top: 12px;
}

.mini-row strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.mini-row b {
  text-align: right;
  font-size: 1.15rem;
}
.mini-row small {
  display: block;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: 1px;
}

.thumb {
  width: 72px;
  height: 50px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0, 213, 255, .35), rgba(0,0,0,.1)),
    linear-gradient(45deg, #083a69, #251449);
  border: 1px solid var(--border);
}
.thumb-two { background: linear-gradient(45deg, #1d4070, #1288c6); }
.thumb-three { background: linear-gradient(45deg, #3d1230, #e91d4f); }

.avatar-chip {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border2);
  color: var(--blue2);
  font-weight: 900;
  font-size: 1.2rem;
  background: rgba(0, 143, 255, .12);
}
.avatar-chip.small {
  width: 58px;
  height: 58px;
}

.status-live,
.status-progress {
  font-style: normal;
  font-weight: 900;
  font-size: .72rem;
  border-radius: 999px;
  padding: 8px 14px;
  letter-spacing: 1px;
}
.status-live {
  color: #ff4976;
  border: 1px solid rgba(255, 45, 95, .6);
}
.status-progress {
  color: var(--green);
  border: 1px solid rgba(97, 255, 84, .45);
}

.text-link {
  display: inline-block;
  margin-top: 22px;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(0,170,255,.18);
  padding: 30px 32px 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand img {
  width: 190px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: .82rem;
}

.footer nav a {
  transition: color .2s ease, text-shadow .2s ease;
}

.footer nav a:hover,
.footer nav .support-development-link {
  color: var(--text);
}

.footer nav .support-development-link {
  text-shadow: 0 0 18px rgba(66, 239, 255, .38);
}

.footer p {
  text-align: right;
  color: rgba(167,184,210,.78);
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .bracket-showcase {
    min-height: 420px;
  }
  .live-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1460px);
    margin-top: 12px;
  }
  .topbar {
    padding: 14px 16px;
    border-radius: 14px;
  }
  .brand img {
    width: 175px;
    max-width: 44vw;
  }
  .nav-pill,
  .btn {
    padding: 11px 16px;
    font-size: .72rem;
  }
  .hero-panel {
    padding: 34px 24px;
    min-height: auto;
  }
  h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
    letter-spacing: -3px;
  }
  .hero-text {
    font-size: 1rem;
  }
  .bracket-showcase {
    transform: scale(.75);
    transform-origin: left center;
    width: 132%;
    margin-bottom: -70px;
  }
  .live-panel,
  .list-card {
    padding: 24px 18px;
  }
  .live-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
  }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer p {
    text-align: center;
  }
  .footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 12px;
    align-items: flex-start;
  }
  .top-actions {
    gap: 8px;
  }
  .bracket-showcase {
    display: none;
  }
  .hero-panel {
    display: block;
  }
  .mini-row {
    grid-template-columns: auto 1fr;
  }
  .mini-row b,
  .mini-row em {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

/* Viewer-first homepage */
body.home-page {
  background: #050a13;
}

.home-page::before {
  background:
    linear-gradient(rgba(45, 96, 150, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 96, 150, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.home-page::after { display: none; }

.home-shell {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.home-shell > .public-site-nav {
  min-height: 76px;
  margin: 0;
  padding: 0 4.8%;
  border: 0;
  border-bottom: 1px solid rgba(53, 93, 137, .36);
  border-radius: 0;
  background: rgba(4, 9, 17, .96);
  box-shadow: none;
}

.home-shell > .public-site-nav .brand img { width: 148px; }

.home-shell > .public-site-nav .site-links {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  margin-left: 28px;
}

.home-shell > .public-site-nav .site-links a {
  min-width: 88px;
  display: grid;
  place-items: center;
  border-bottom: 2px solid transparent;
  color: #cbd5e4;
  font-size: .92rem;
}

.home-shell > .public-site-nav .site-links a:hover,
.home-shell > .public-site-nav .site-links a.is-active {
  border-bottom-color: #1fa8ff;
  color: #fff;
}

.home-main {
  width: min(1780px, calc(100% - 64px));
  margin: 0 auto;
  padding: 16px 0 8px;
}

.home-hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  align-items: center;
  gap: 7%;
  padding: 58px 54px;
  margin-bottom: 18px;
  border: 1px solid rgba(53, 93, 137, .5);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(5, 10, 19, .98) 0%, rgba(7, 15, 28, .88) 48%, rgba(7, 16, 31, .48) 100%),
    url("/public/assets/rocket-league/match-center-access-bg.png") center / cover;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .32);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 9, 17, .56));
}

.home-hero > * { position: relative; z-index: 1; }

.home-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3.7rem, 6vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: none;
}

.home-hero h1 span { color: #1fa8ff; }

.home-hero .hero-text {
  max-width: 710px;
  margin-bottom: 28px;
  color: #d6dfec;
  font-size: 1.12rem;
  line-height: 1.55;
}

.home-hero .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 7px;
  font-size: .76rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.home-hero .btn-secondary {
  border-color: rgba(91, 132, 182, .72);
  background: rgba(8, 17, 30, .78);
}

.home-hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.home-hero-paths span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(69, 103, 143, .56);
  border-radius: 6px;
  background: rgba(7, 15, 27, .72);
  color: #d7e2f0;
  font-size: .74rem;
}

.home-hero-paths b { color: #23aaff; font-size: .66rem; }

.home-match-preview {
  padding: 22px;
  border: 1px solid rgba(62, 117, 174, .66);
  border-radius: 8px;
  background: rgba(5, 12, 23, .92);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .42);
}

.preview-top,
.preview-round,
.preview-team,
.preview-status,
.preview-tabs {
  display: flex;
  align-items: center;
}

.preview-top {
  justify-content: space-between;
  padding-bottom: 16px;
  color: #fff;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.preview-top strong { color: #1fa8ff; font-size: .66rem; }
.preview-round { justify-content: space-between; padding: 15px 0 10px; border-top: 1px solid rgba(67, 101, 140, .4); color: #98aac0; font-size: .76rem; }
.preview-round span { color: #6f829a; }
.preview-team { min-height: 64px; gap: 14px; padding: 0 16px; margin-top: 7px; border: 1px solid rgba(54, 91, 133, .58); background: #081321; }
.preview-team b { flex: 1; font-size: .95rem; }
.preview-team strong { color: #fff; font-size: 1.35rem; }
.preview-seed { color: #71849c; font-size: .72rem; }
.preview-status { gap: 9px; margin: 16px 0; color: #9fb0c4; font-size: .74rem; }
.preview-status i { width: 7px; height: 7px; border-radius: 50%; background: #25d984; box-shadow: 0 0 12px rgba(37, 217, 132, .65); }
.preview-tabs { border-top: 1px solid rgba(67, 101, 140, .4); }
.preview-tabs span { flex: 1; padding-top: 16px; color: #71849c; font-size: .68rem; text-align: center; text-transform: uppercase; }
.preview-tabs span.active { color: #24aaff; }

.home-section {
  margin-bottom: 18px;
  padding: 26px 30px 30px;
  border: 1px solid rgba(53, 93, 137, .5);
  border-top: 2px solid #1fa8ff;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 23, 40, .96), rgba(7, 15, 28, .96));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
}

.home-live-section { border-top-color: #ff3d67; }
.home-section .section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.home-section .section-head h2 { margin: 0; font-size: 1.55rem; }
.home-section .eyebrow { margin-bottom: 8px; }
.section-link { color: #c9d8ea; font-size: .78rem; font-weight: 800; }
.section-link span, .home-path-card a span, .home-event-open span { color: #1fa8ff; }

.home-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-event-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(52, 94, 145, .52);
  border-radius: 8px;
  background: #08111f;
  transition: border-color .2s, transform .2s;
}

a.home-event-card:hover { transform: translateY(-2px); border-color: #1fa8ff; }
.home-event-card-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 18px; }
.home-event-logo { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(65, 105, 151, .6); border-radius: 7px; background: #050a13; }
.home-event-logo img, .home-event-logo .avatar-chip { width: 100%; height: 100%; object-fit: contain; display: grid; place-items: center; }
.home-event-state { padding: 6px 9px; border: 1px solid rgba(30, 162, 255, .45); border-radius: 5px; color: #43b7ff; font-size: .64rem; font-weight: 900; text-transform: uppercase; }
.home-event-card h3 { margin-bottom: 5px; font-size: 1.18rem; }
.home-event-card p { color: #91a3b9; font-size: .78rem; }
.home-event-next { display: grid; gap: 5px; margin-top: auto; padding: 15px 0; border-top: 1px solid rgba(56, 90, 129, .4); }
.home-event-next span { color: #6d829a; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-event-next strong { font-size: .8rem; }
.home-event-open { padding-top: 13px; border-top: 1px solid rgba(56, 90, 129, .4); color: #dce6f3; font-size: .75rem; font-weight: 800; }
.home-event-empty { justify-content: center; }
.home-event-empty a { margin-top: 15px; color: #29aaff; font-weight: 800; }

.home-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.home-path-card { min-height: 260px; padding: 34px; border: 1px solid rgba(53, 93, 137, .5); border-radius: 8px; background: linear-gradient(135deg, #0a1728, #07101d); }
.home-path-card.viewer-path { background: linear-gradient(110deg, rgba(7, 18, 34, .96), rgba(8, 47, 80, .8)), url("/public/assets/rocket-league/match-center-access-bg.png") center / cover; }
.home-path-card h2 { max-width: 520px; margin: 4px 0 12px; font-size: clamp(1.7rem, 2.7vw, 2.6rem); }
.home-path-card p:not(.eyebrow) { max-width: 620px; color: #a9b7c9; line-height: 1.55; }
.home-path-card a { display: inline-block; margin-top: 26px; color: #e4edf8; font-size: .8rem; font-weight: 900; }

.home-shell .footer {
  width: min(1780px, calc(100% - 64px));
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-match-preview { max-width: 620px; }
  .home-event-grid { grid-template-columns: 1fr 1fr; }
  .home-event-grid > :nth-child(3) { display: none; }
}

@media (max-width: 700px) {
  .home-main, .home-shell .footer { width: min(100% - 24px, 1780px); }
  .home-shell > .public-site-nav { padding: 0 12px; }
  .home-shell > .public-site-nav .brand img { width: 124px; }
  .home-shell > .public-site-nav .site-links { margin-left: 8px; }
  .home-shell > .public-site-nav .site-links a { min-width: 70px; font-size: .8rem; }
  .home-hero { padding: 34px 22px; gap: 34px; }
  .home-hero h1 { font-size: clamp(2.9rem, 14vw, 4.6rem); }
  .home-hero-paths { display: grid; }
  .home-match-preview { padding: 16px; }
  .home-section { padding: 22px 18px; }
  .home-event-grid, .home-path-grid { grid-template-columns: 1fr; }
  .home-event-grid > :nth-child(3) { display: flex; }
  .home-path-card { min-height: 230px; padding: 26px 22px; }
}

/* Classic homepage composition using the viewer-page visual system */
.classic-home-main {
  width: min(1780px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.home-page-classic .classic-viewer-hero {
  min-height: 520px;
  grid-template-columns: 43% 57%;
  margin-bottom: 18px;
  padding: 52px 54px;
  border: 1px solid rgba(53, 93, 137, .5);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(5, 10, 19, .98) 0%, rgba(7, 15, 28, .86) 48%, rgba(7, 16, 31, .54) 100%),
    url("/public/assets/images/bracketr-esports-crowd-hero.png") center / cover;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
}

.home-page-classic .classic-viewer-hero::before {
  background: linear-gradient(180deg, transparent 55%, rgba(4, 9, 17, .52));
}

.home-page-classic .classic-viewer-hero h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(4rem, 6.3vw, 7rem);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: none;
  text-shadow: none;
}

.home-page-classic .classic-viewer-hero h1 span { color: #1fa8ff; }

.home-page-classic .classic-viewer-hero .hero-text {
  max-width: 600px;
  color: #d6dfec;
  font-size: 1.12rem;
}

.home-page-classic .classic-viewer-hero .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 7px;
  font-size: .74rem;
  letter-spacing: .04em;
}

.home-page-classic .classic-viewer-hero .btn-secondary {
  border-color: rgba(91, 132, 182, .72);
  background: rgba(8, 17, 30, .82);
}

.home-page-classic .clean-bracket .bracket-match {
  border-radius: 7px;
  border-color: rgba(62, 117, 174, .66);
  background: rgba(5, 12, 23, .9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

.home-page-classic .clean-bracket .bracket-lines path {
  stroke: rgba(31, 168, 255, .7);
  filter: none;
}

.home-page-classic .round-label { color: #35afff; opacity: .9; }

.home-page-classic .clean-bracket .round-label.sf { left: 44%; top: 42px; }
.home-page-classic .clean-bracket .round-label.gf { top: 126px; }
.home-page-classic .clean-bracket .match-e,
.home-page-classic .clean-bracket .match-f { left: 42%; }

.home-page-classic .live-panel {
  border: 1px solid rgba(53, 93, 137, .5);
  border-top: 2px solid #ff3d67;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 23, 40, .96), rgba(7, 15, 28, .96));
}

.home-page-classic .stream-card,
.home-page-classic .capability-card {
  border: 1px solid rgba(52, 94, 145, .52);
  border-radius: 8px;
  background: #08111f;
  box-shadow: none;
}

.home-page-classic .capability-grid {
  gap: 18px;
  margin-bottom: 18px;
}

.home-page-classic .compact-capabilities .capability-card {
  min-height: 260px;
  padding: 28px 24px;
}

.home-page-classic .compact-capabilities .cap-icon {
  border-radius: 8px;
  border-color: rgba(62, 117, 174, .66);
  background: linear-gradient(145deg, rgba(17, 55, 91, .94), rgba(7, 24, 44, .96));
  box-shadow: none;
}

.home-page-classic .compact-capabilities .capability-card h3 {
  color: #fff;
  letter-spacing: .06em;
}

.home-page-classic .compact-capabilities .capability-card p { color: #91a3b9; }

@media (max-width: 1000px) {
  .home-page-classic .classic-viewer-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .classic-home-main { width: min(100% - 24px, 1780px); }
  .home-page-classic .classic-viewer-hero { padding: 34px 22px; }
  .home-page-classic .classic-viewer-hero h1 { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  .home-page-classic .clean-bracket { margin-top: 12px; }
  .home-page-classic .capability-grid { grid-template-columns: 1fr; }
}


/* Home page refinement: compact shell, clean bracket, real live data cards */

[hidden] { display: none !important; }

.site-shell {
  margin-top: 16px;
}

.topbar {
  min-height: 56px;
  padding: 10px 26px;
  border-radius: 16px;
  margin-bottom: 22px;
}

.brand img {
  width: 190px;
}

.nav-pill,
.btn {
  padding: 11px 22px;
  border-radius: 12px;
}

.hero-panel {
  min-height: 470px;
  padding: 44px 46px;
  margin-bottom: 22px;
}

.hero-text {
  margin-bottom: 26px;
}

.clean-bracket {
  height: 360px;
  opacity: .9;
  transform: translateY(4px);
}

.clean-bracket .bracket-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.clean-bracket .bracket-lines path {
  fill: none;
  stroke: rgba(105, 226, 255, .6);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(0, 213, 255, .42));
}

.clean-bracket .round-label.qf { left: 6%; top: 0; }

/* Semi Final and Grand Final labels use the base .round-label.sf/.gf positions. */

.clean-bracket .bracket-match {
  width: 205px;
  min-height: 66px;
  border-color: rgba(0, 213, 255, .28);
  background: rgba(2, 11, 27, .74);
}

.clean-bracket .match-a { left: 2%; top: 38px; }
.clean-bracket .match-b { left: 2%; top: 130px; }
.clean-bracket .match-c { left: 2%; top: 206px; }
.clean-bracket .match-d { left: 2%; top: 298px; }
.clean-bracket .match-e { left: 40%; top: 84px; }
.clean-bracket .match-f { left: 40%; top: 252px; }
.clean-bracket .match-g { right: 0; top: 168px; }

/* Final landing bracket alignment tune */
.clean-bracket .round-label.sf { left: 43%; top: 34px; }
.clean-bracket .round-label.gf { right: 4%; top: 112px; }
.clean-bracket .match-e { left: 40%; top: 72px; }
.clean-bracket .match-f { left: 40%; top: 236px; }
.clean-bracket .match-g { right: 5%; top: 150px; }


.connector {
  display: none;
}

.live-panel {
  padding: 26px;
  margin-bottom: 22px;
}

.section-head {
  margin-bottom: 20px;
}

.section-arrows {
  display: none;
}

.stream-card {
  min-height: 310px;
}

.stream-card-link {
  color: inherit;
  display: block;
  height: 100%;
}

.real-stream-card .stream-art {
  height: 122px;
}

.real-stream-card .event-row img,
.real-stream-card .event-row .avatar-chip {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.real-stream-card .stream-meta small {
  color: #d5e8ff;
  font-size: .95rem;
}

.art-1 {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    radial-gradient(circle at 50% 40%, rgba(0, 210, 255, .35), transparent 23%),
    linear-gradient(135deg, #142d5e, #071321 62%, #231449);
}
.art-2 {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    radial-gradient(circle at 52% 36%, rgba(255, 158, 42, .34), transparent 26%),
    linear-gradient(135deg, #24325d, #071321 62%, #052b50);
}
.art-3 {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    radial-gradient(circle at 54% 38%, rgba(187, 63, 255, .38), transparent 28%),
    linear-gradient(135deg, #27315e, #071321 62%, #421459);
}

.compact-capabilities {
  margin-bottom: 22px;
}

.compact-capabilities .capability-card {
  min-height: 230px;
  padding: 26px 22px;
}

.compact-capabilities .cap-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
}

.compact-capabilities .cap-icon svg {
  width: 38px;
  height: 38px;
}

.compact-capabilities .capability-card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.compact-capabilities .capability-card p {
  margin-bottom: 0;
  font-size: .93rem;
}

.compact-capabilities .capability-card a {
  display: none;
}

.compact-footer {
  padding-top: 24px;
}

.footer-launch-date { color: #8295aa; }

.bracketr-birthday {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 11px 18px;
  border: 1px solid rgba(56, 189, 248, .38);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(8, 47, 73, .92), rgba(30, 64, 175, .82), rgba(8, 47, 73, .92));
  box-shadow: 0 12px 30px rgba(2, 132, 199, .12);
  color: #f8fbff;
}

.bracketr-birthday > span { font-size: 1.25rem; }
.bracketr-birthday strong { color: #67e8f9; }
.bracketr-birthday small { color: #b9c9dc; }

@media (max-width: 1120px) {
  .clean-bracket {
    transform: none;
  }
}

@media (max-width: 760px) {
  .bracketr-birthday {
    flex-wrap: wrap;
    gap: 4px 8px;
    text-align: center;
  }

  .bracketr-birthday small { flex-basis: 100%; }

  .topbar {
    min-height: 52px;
    padding: 10px 14px;
  }

  .brand img {
    width: 160px;
  }

  .hero-panel {
    padding: 28px 20px;
  }

  .hero-actions .btn {
    flex: 1 1 165px;
    text-align: center;
  }

  .clean-bracket {
    transform: scale(.76);
    transform-origin: left center;
    width: 132%;
    margin-bottom: -64px;
  }
}


/* Final staging polish: compact nav + corrected bracket alignment */
.site-shell {
  margin-top: 14px;
}

.topbar {
  min-height: 40px;
  padding: 6px 22px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.brand img {
  width: 150px;
}

.top-actions {
  gap: 9px;
}

.nav-pill {
  padding: 7px 16px;
  border-radius: 10px;
  font-size: .68rem;
  letter-spacing: 1.2px;
}

.clean-bracket {
  height: 335px;
  transform: translateY(-4px);
}

.clean-bracket .round-label.qf { left: 4%; top: -2px; }
.clean-bracket .round-label.sf { left: 42%; top: 3px; }
.clean-bracket .round-label.gf { right: 2%; top: 10%; }

.clean-bracket .match-a { left: 2%; top: 30px; }
.clean-bracket .match-b { left: 2%; top: 118px; }
.clean-bracket .match-c { left: 2%; top: 204px; }
.clean-bracket .match-d { left: 2%; top: 292px; }
.clean-bracket .match-e { left: 40%; top: 74px; }
.clean-bracket .match-f { left: 40%; top: 248px; }
.clean-bracket .match-g { right: 0; top: 158px; }

@media (max-width: 760px) {
  .topbar {
    min-height: 38px;
    padding: 6px 12px;
  }

  .brand img {
    width: 132px;
  }

  .nav-pill {
    padding: 7px 10px;
    font-size: .62rem;
  }

  .hero-panel {
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.3rem);
    letter-spacing: -2px;
    margin-bottom: 22px;
  }

  .eyebrow {
    letter-spacing: 3px;
    font-size: .7rem;
  }
}

@media (max-width: 520px) {
  .hero-panel {
    padding: 26px 20px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex-basis: 100%;
    padding: 11px 12px;
  }

  .compact-capabilities .capability-card {
    min-height: 210px;
    padding: 24px 20px;
  }
}
