:root {
  --navy: #071c2c;
  --navy2: #0d2c43;
  --ink: #0b2032;
  --paper: #f4f7f8;
  --gold: #ffc74e;
  --teal: #31d1bc;
  --line: #cfdae1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  min-height: 76px;
  padding: 0 max(22px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand span {
  color: #2a91ec;
}
nav {
  display: flex;
  gap: 28px;
  font-weight: 800;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 22px;
}
.hero {
  height: min(650px, 72vh);
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: var(--navy);
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 16, 28, 0.96),
    rgba(2, 16, 28, 0.72) 42%,
    rgba(2, 16, 28, 0.08) 76%
  );
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: clamp(32px, 6vw, 84px);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  font-weight: 950;
  color: #147ddc;
  margin: 0 0 12px;
}
.hero .eyebrow,
.identity .eyebrow {
  color: var(--gold);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}
.hero-copy > p:not(.eyebrow) {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 58ch;
  color: #e9f1f6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-actions a,
.identity > a {
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  padding: 15px 22px;
  border-radius: 12px;
}
.hero-actions .secondary {
  background: #fff;
  color: var(--navy);
}
section:not(.hero) {
  margin-top: 76px;
}
.sport-strip h2,
.section-heading h2,
.operations h2,
.bracket-lab h2,
.identity h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}
.sport-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.sport-grid button {
  border: 2px solid transparent;
  background: #372b73;
  color: #fff;
  border-radius: 18px;
  padding: 18px 10px;
  min-height: 112px;
  font-weight: 850;
  cursor: pointer;
}
.sport-grid button span {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}
.sport-grid button.active {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--gold);
}
.search {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr 1.2fr auto;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 40px #17324a10;
}
.search label {
  font-size: 0.78rem;
  font-weight: 900;
}
.search input,
.search select {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #bfd0dc;
  border-radius: 10px;
  padding: 0 12px;
  margin-top: 7px;
  background: #fff;
}
.search input:disabled,
.search select:disabled {
  background: #edf1f3;
  color: #788a96;
  cursor: not-allowed;
}
.search-note {
  color: #536b7b;
  font-size: 0.86rem;
  margin: 10px 4px 0;
}
.search button {
  align-self: end;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #248ff0;
  color: #fff;
  font-weight: 900;
  padding: 0 24px;
  cursor: pointer;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.section-heading strong {
  color: #218ae8;
  margin-bottom: 24px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tournament-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px #0c29400d;
}
.card-visual {
  min-height: 190px;
  background: linear-gradient(
    145deg,
    var(--navy2),
    color-mix(in srgb, var(--accent), #10283a 58%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card-icon {
  font-size: 5rem;
  filter: drop-shadow(0 12px 18px #0006);
}
.live-label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.card-copy {
  padding: 24px;
  display: grid;
  gap: 10px;
}
.card-copy > * {
  margin: 0;
}
.sport-name {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 950;
}
.card-copy h3 {
  font-size: 1.45rem;
}
.card-copy b {
  font-size: 0.9rem;
}
.card-copy p {
  color: #5b6f7e;
  line-height: 1.5;
}
.card-copy .meta {
  font-weight: 700;
}
.card-action {
  margin-top: 8px;
  font-weight: 900;
  color: #147ddc;
}
.operations {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 72px);
}
.operations > div:first-child {
  max-width: 850px;
}
.operations > div:first-child > p:not(.eyebrow) {
  color: #cddbe5;
  font-size: 1.08rem;
  line-height: 1.7;
}
.operation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.operation-grid article {
  background: #102f46;
  border: 1px solid #31526a;
  border-radius: 18px;
  padding: 24px;
}
.operation-grid span {
  color: var(--teal);
  font-weight: 950;
}
.operation-grid h3 {
  font-size: 1.3rem;
  margin: 14px 0 8px;
}
.operation-grid p {
  color: #cddbe5;
  line-height: 1.6;
}
.bracket-lab {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  background: #e9f1f4;
  border-radius: 28px;
  padding: clamp(26px, 5vw, 64px);
}
.bracket-intro > p:not(.eyebrow) {
  line-height: 1.7;
  color: #536b7b;
}
.format-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.format-buttons button {
  border: 1px solid #9db2c0;
  background: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 850;
  cursor: pointer;
}
.format-buttons button.active {
  background: var(--navy);
  color: #fff;
}
.bracket {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: center;
}
.match {
  background: #fff;
  border: 1px solid #c0d0da;
  border-left: 6px solid var(--teal);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 24px #0c29400d;
}
.match small {
  display: block;
  color: #6a7c89;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.match b {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  background: #eef4f6;
  margin-top: 6px;
}
.match .bye {
  color: #8b6500;
  background: #fff2bf;
}
.pool-command {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 54px);
}
.qualifier-flow > p:not(.eyebrow) {
  color: #536b7b;
  line-height: 1.7;
}
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.flow b {
  background: #e9f5f4;
  border: 2px solid #8ad9ce;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
}
.flow b span {
  font-size: 0.78rem;
  color: #536b7b;
}
.flow .final {
  background: var(--navy);
  color: #fff;
  border-color: var(--gold);
}
.flow .final span {
  color: #d9e4eb;
}
.flow i {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
  color: #147ddc;
}
.score-station {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 22px;
}
.station-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #365064;
  padding-bottom: 14px;
}
.station-head span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 950;
}
.station-head b {
  font-size: 0.82rem;
}
.score-station > p {
  color: var(--gold);
  font-weight: 900;
  margin: 16px 0;
}
.player-score {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  background: #102f46;
  border: 1px solid #31526a;
  border-radius: 14px;
  padding: 13px;
  margin-top: 10px;
}
.player-score small {
  display: block;
  color: #a9bdca;
  font-weight: 800;
}
.player-score strong {
  font-size: 1.15rem;
}
.player-score output {
  font-size: 2rem;
  font-weight: 950;
  min-width: 32px;
  text-align: center;
}
.player-score button,
.dead-ball button,
.reset-score {
  border: 0;
  border-radius: 9px;
  padding: 10px 13px;
  font-weight: 900;
  cursor: pointer;
}
.player-score button {
  background: var(--gold);
  color: var(--navy);
}
.player-score button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.dead-ball {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.dead-ball span {
  margin-right: auto;
  color: #bcd0dc;
}
.dead-ball button {
  background: #e9f1f4;
  color: var(--navy);
}
.reset-score {
  background: transparent;
  color: #fff;
  border: 1px solid #587186;
}
.security-note {
  display: block;
  color: #9fb4c1;
  line-height: 1.5;
  margin-top: 14px;
}
.identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #142d45, #0b1c2b);
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 66px);
}
.event-day { background:linear-gradient(145deg,#071c2c,#0d2c43); color:#fff; border-radius:28px; padding:clamp(26px,5vw,64px); }
.event-day-heading { display:grid; grid-template-columns:1.1fr .9fr; gap:38px; align-items:end; margin-bottom:28px; }
.event-day-heading h2 { font-size:clamp(2.2rem,4.2vw,4.4rem); line-height:1; letter-spacing:-.05em; margin-bottom:0; }
.event-day-heading>p { color:#c8d9e4; line-height:1.7; margin:0; }
.event-day-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:14px; }
.day-panel { grid-column:span 4; background:#fff; color:var(--ink); border-radius:20px; padding:22px; }
.live-match { grid-column:span 5; }.match-access { grid-column:span 3; }.audit-board { grid-column:span 4; }
.panel-kicker { color:#147ddc; font-size:.68rem; font-weight:950; letter-spacing:.14em; margin-bottom:8px; }
.day-panel h3 { font-size:1.45rem; margin-bottom:16px; }
.day-panel label { display:grid; gap:6px; color:#536b7b; font-size:.76rem; font-weight:900; margin-top:11px; }
.day-panel input,.day-panel select { width:100%; min-height:44px; border:1px solid #bfd0dc; border-radius:10px; padding:0 11px; background:#fff; }
.day-panel button { border:0; border-radius:10px; background:#248ff0; color:#fff; font-weight:900; padding:11px 14px; cursor:pointer; }
.day-panel button:disabled { opacity:.58; cursor:not-allowed; }
.match-access>button { width:100%; margin-top:16px; background:var(--navy); }
.panel-status { min-height:42px; margin:13px 0 0; color:#28715f; font-size:.82rem; font-weight:750; line-height:1.45; }
.live-match-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }.live-match-title h3 { margin:0; }.live-match-title span { padding:6px 10px; border-radius:999px; background:#fff1c8; color:#785500; font-size:.72rem; font-weight:900; text-transform:capitalize; }
.live-score-row { display:grid; grid-template-columns:1fr auto 48px auto; gap:9px; align-items:center; padding:12px 0; border-bottom:1px solid #dce5eb; }
.live-score-row span { font-weight:800; }.live-score-row output { text-align:center; font-size:1.6rem; font-weight:950; }.live-score-row button { width:38px; height:38px; padding:0; }
.live-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }.live-actions button:first-child { background:#0e8f78; }.live-actions button:last-child { background:var(--navy); }.day-panel .correct-score { width:100%; margin-top:10px; background:#7351c7; }
.resource-row,.check-in-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid #dce5eb; }.resource-row div,.check-in-row div { display:grid; gap:3px; }.resource-row small,.check-in-row small { color:#677b89; }.resource-row button,.check-in-row button { min-width:82px; background:#647888; }.resource-row button.paused { background:#b86b22; }.check-in-row button.checked { background:#16886f; }
.audit-board ol { margin:0; padding:0; list-style:none; display:grid; gap:8px; }.audit-board li { display:flex; justify-content:space-between; gap:12px; padding:10px 11px; border-radius:10px; background:#eef4f6; text-transform:capitalize; }.audit-board li span { color:#5a7080; font-size:.82rem; }
.dispute-board { grid-column:span 6; }.dispute-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }.dispute-actions button:first-child { background:#607585; }.dispute-actions button:last-child { background:#7351c7; }.notification-history { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:7px; }.notification-history li { padding:9px 11px; border-radius:10px; background:#eef4f6; color:#435d6f; text-transform:capitalize; font-size:.84rem; }
.identity > div {
  max-width: 850px;
}
.identity h2 {
  margin-bottom: 16px;
}
.identity p:not(.eyebrow) {
  color: #d5e2eb;
  line-height: 1.7;
}
.identity > a {
  white-space: nowrap;
}
.roadmap-note {
  margin-bottom: 70px !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.roadmap-note b {
  color: #147ddc;
  white-space: nowrap;
}
.roadmap-note span {
  color: #526b7c;
}
.empty {
  grid-column: 1/-1;
  background: #fff;
  border-radius: 18px;
  padding: 30px;
}
@media (max-width: 1050px) {
  .sport-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .operation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search {
    grid-template-columns: repeat(2, 1fr);
  }
  .search button {
    grid-column: 1/-1;
  }
  .bracket-lab {
    grid-template-columns: 1fr;
  }
  .pool-command {
    grid-template-columns: 1fr;
  }
  .event-day-heading { grid-template-columns:1fr; }
  .day-panel,.live-match,.match-access,.audit-board,.dispute-board { grid-column:span 6; }
}
@media (max-width: 680px) {
  header {
    min-height: 68px;
    padding: 12px 16px;
    align-items: flex-start;
    gap: 12px;
    position: static;
  }
  .brand span {
    display: block;
    margin-left: 22px;
  }
  nav {
    gap: 14px;
    font-size: 0.86rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  main {
    padding: 10px;
  }
  .hero {
    min-height: 640px;
    height: auto;
    border-radius: 20px;
  }
  .hero > img {
    height: 260px;
    object-position: 68% center;
  }
  .shade {
    background: linear-gradient(180deg, transparent 0 210px, var(--navy) 290px);
  }
  .hero-copy {
    position: relative;
    inset: auto;
    padding: 245px 24px 28px;
    margin-top: -245px;
    max-width: none;
  }
  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
    margin-top: 8px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }
  .hero-actions {
    display: grid;
  }
  .hero-actions a {
    text-align: center;
  }
  .sport-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sport-grid button {
    min-height: 100px;
  }
  .search {
    grid-template-columns: 1fr;
  }
  .search button {
    grid-column: auto;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading strong {
    margin: 0;
  }
  .cards,
  .operation-grid,
  .bracket {
    grid-template-columns: 1fr;
  }
  .bracket-lab {
    padding: 26px 18px;
  }
  .identity {
    align-items: stretch;
    flex-direction: column;
  }
  .identity > a {
    text-align: center;
  }
  .roadmap-note {
    align-items: flex-start;
    flex-direction: column;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow i {
    text-align: center;
  }
  .player-score {
    grid-template-columns: 1fr auto;
  }
  .player-score button {
    grid-column: 1 / -1;
  }
  .station-head {
    flex-direction: column;
  }
  .event-day { padding:26px 16px; }
  .event-day-grid { grid-template-columns:1fr; }
  .day-panel,.live-match,.match-access,.audit-board,.dispute-board { grid-column:auto; }
  .dispute-actions { grid-template-columns:1fr; }
  .live-actions { grid-template-columns:1fr; }
  section:not(.hero) {
    margin-top: 54px;
  }
}
