.world-cup-hub {
  --wch-blue: #1d5bff;
  --wch-ink: #0d1b44;
  --wch-pink: #ff4677;
  --wch-red: #ff4b58;
  --wch-green: #149b63;
  --wch-orange: #f8a52b;
  --wch-line: #dfe7f6;
  --wch-soft: #f7faff;
  --wch-shadow: 0 24px 60px rgba(17, 40, 102, 0.12);
  background:
    radial-gradient(circle at top right, rgba(29, 91, 255, 0.14), transparent 22%),
    radial-gradient(circle at top left, rgba(255, 70, 119, 0.12), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  color: var(--wch-ink);
  padding: 34px 0 58px;
}

.world-cup-hub__shell {
  max-width: 1320px;
}

.world-cup-hub__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 28px;
  align-items: center;
  position: relative;
  padding: 18px 0 26px;
}

.world-cup-hub__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 2px solid rgba(248, 165, 43, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(29, 91, 255, 0.08);
}

.world-cup-hub__hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.world-cup-hub__hero-copy h1 span,
.world-cup-hub__hero-copy h1 strong {
  display: block;
}

.world-cup-hub__hero-copy h1 span {
  color: var(--wch-ink);
}

.world-cup-hub__hero-copy h1 strong {
  background: linear-gradient(90deg, var(--wch-red) 0%, var(--wch-pink) 32%, var(--wch-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.world-cup-hub__hero-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.world-cup-hub__hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #44506f;
  font-size: 1.08rem;
  line-height: 1.75;
}

.world-cup-hub__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.world-cup-hub__live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 75, 88, 0.32);
  border-radius: 999px;
  background: #fff;
  color: var(--wch-red);
  font-weight: 800;
}

.world-cup-hub__live-pill span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--wch-red);
  box-shadow: 0 0 0 8px rgba(255, 75, 88, 0.14);
}

.world-cup-hub__hero-note {
  color: #54627e;
  font-weight: 600;
}

.world-cup-hub__hero-sync,
.world-cup-hub__tabs,
.world-cup-hub__stat-card,
.world-cup-hub__day-panel,
.world-cup-hub__group-card,
.world-cup-hub__match-card,
.world-cup-hub__teams-card,
.world-cup-hub__sources,
.world-cup-hub__trust-item,
.world-cup-hub__cta,
.world-cup-hub__pulse-card,
.world-cup-hub__gantt-panel,
.world-cup-hub__stage-summary,
.world-cup-hub__bracket-launch {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--wch-line);
  box-shadow: var(--wch-shadow);
}

.world-cup-hub__hero-sync {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 22px;
}

.world-cup-hub__hero-sync strong {
  font-size: 1rem;
}

.world-cup-hub__hero-sync span {
  color: #56657e;
}

.world-cup-hub__hero-art {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at center, rgba(29, 91, 255, 0.12), transparent 58%),
    linear-gradient(145deg, #eef6ff 0%, #ffffff 46%, #edf5ff 100%);
  box-shadow: var(--wch-shadow);
}

.world-cup-hub__hero-stage {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 50% 0%, rgba(19, 41, 91, 0.16), transparent 60%);
}

.world-cup-hub__hero-trophy {
  position: absolute;
  right: 54px;
  bottom: 24px;
  width: 210px;
  filter: drop-shadow(0 32px 50px rgba(141, 88, 18, 0.28));
}

.world-cup-hub__hero-ribbons {
  position: absolute;
  inset: auto -30px 12px auto;
  width: 88%;
  height: 120px;
}

.world-cup-hub__hero-ribbons .ribbon {
  position: absolute;
  right: 0;
  left: 12%;
  border-radius: 999px 0 0 999px;
  transform-origin: right center;
}

.world-cup-hub__hero-ribbons .ribbon--red {
  height: 24px;
  bottom: 72px;
  background: linear-gradient(90deg, #ff3d54, #d91845);
  transform: rotate(-12deg);
}

.world-cup-hub__hero-ribbons .ribbon--green {
  height: 20px;
  bottom: 46px;
  background: linear-gradient(90deg, #159761, #0f7b50);
  transform: rotate(-8deg);
}

.world-cup-hub__hero-ribbons .ribbon--blue {
  height: 18px;
  bottom: 22px;
  background: linear-gradient(90deg, #2469ff, #133ccf);
  transform: rotate(-4deg);
}

.world-cup-hub__hero-ribbons .ribbon--gold {
  height: 14px;
  bottom: 4px;
  background: linear-gradient(90deg, #f1c45d, #dd9211);
}

.world-cup-hub__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.world-cup-hub__confetti::before,
.world-cup-hub__confetti::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(circle, #ff4b58 0 4px, transparent 5px),
    radial-gradient(circle, #1d5bff 0 4px, transparent 5px),
    radial-gradient(circle, #149b63 0 4px, transparent 5px),
    radial-gradient(circle, #f8a52b 0 4px, transparent 5px);
  background-size: 44px 44px;
  opacity: 0.38;
}

.world-cup-hub__confetti--one::before {
  top: 22px;
  left: 18px;
  transform: rotate(14deg);
}

.world-cup-hub__confetti--two::after {
  top: 38px;
  right: 28px;
  transform: rotate(-8deg);
}

.world-cup-hub__tabs {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.world-cup-hub__tabs::-webkit-scrollbar,
.world-cup-hub__card-rail::-webkit-scrollbar,
.world-cup-hub__day-rail::-webkit-scrollbar,
.world-cup-hub__gantt-scroll::-webkit-scrollbar,
.world-cup-hub__bracket-scroll::-webkit-scrollbar,
.world-cup-hub__modal-summary::-webkit-scrollbar {
  display: none;
}

.world-cup-hub__tab {
  flex: 0 0 auto;
  min-width: 148px;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--wch-ink);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.world-cup-hub__tab.is-active,
.world-cup-hub__tab:hover {
  background: rgba(29, 91, 255, 0.08);
  color: var(--wch-blue);
}

.world-cup-hub__section {
  margin-top: 28px;
}

.world-cup-hub__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.world-cup-hub__section-head h2 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.world-cup-hub__section-head p {
  margin: 6px 0 0;
  color: #5b6881;
}

.world-cup-hub__section-head a,
.world-cup-hub__meta-label,
.world-cup-hub__sources a {
  color: var(--wch-blue);
  font-weight: 700;
  text-decoration: none;
}

.world-cup-hub__ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(29, 91, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--wch-blue);
  font-weight: 800;
  transition: all 0.18s ease;
}

.world-cup-hub__ghost-button:hover {
  background: rgba(29, 91, 255, 0.06);
  color: var(--wch-blue);
}

.world-cup-hub__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.world-cup-hub__stat-card {
  border-radius: 28px;
  padding: 20px;
}

.world-cup-hub__stat-card span {
  display: block;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.world-cup-hub__stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.world-cup-hub__stat-card small {
  display: block;
  margin-top: 8px;
  color: #55627a;
}

.world-cup-hub__progress-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.world-cup-hub__progress-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d4dbea;
}

.world-cup-hub__progress-dots span.is-active {
  background: var(--wch-orange);
}

.world-cup-hub__day-panel,
.world-cup-hub__pulse-card,
.world-cup-hub__gantt-panel,
.world-cup-hub__bracket-launch {
  padding: 20px;
  border-radius: 28px;
}

.world-cup-hub__rail-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.world-cup-hub__rail-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--wch-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wch-blue);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(29, 91, 255, 0.08);
  transition: all 0.18s ease;
}

.world-cup-hub__rail-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(29, 91, 255, 0.12);
}

.world-cup-hub__rail-arrow.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.world-cup-hub__card-rail,
.world-cup-hub__day-rail,
.world-cup-hub__modal-summary {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.world-cup-hub__card-rail > *,
.world-cup-hub__day-rail > * {
  scroll-snap-align: start;
}

.world-cup-hub__day-card {
  flex: 0 0 190px;
  padding: 18px 16px;
  border: 1px solid var(--wch-line);
  border-radius: 22px;
  background: var(--wch-soft);
}

.world-cup-hub__day-card span,
.world-cup-hub__day-card small {
  display: block;
  color: #5b6881;
}

.world-cup-hub__day-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
}

.world-cup-hub__day-state {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.world-cup-hub__day-state em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #4e5b74;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
}

.world-cup-hub__day-card.is-today {
  border-color: rgba(29, 91, 255, 0.32);
  background: linear-gradient(180deg, rgba(29, 91, 255, 0.09), rgba(29, 91, 255, 0.02));
}

.world-cup-hub__analytics-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  gap: 18px;
}

.world-cup-hub__pulse-card {
  display: grid;
  gap: 16px;
}

.world-cup-hub__pulse-copy span,
.world-cup-hub__gantt-topline span,
.world-cup-hub__modal-header span {
  display: block;
  color: #6b7b96;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world-cup-hub__pulse-copy strong,
.world-cup-hub__gantt-topline strong,
.world-cup-hub__modal-header h2 {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.world-cup-hub__pulse-copy p,
.world-cup-hub__modal-header p {
  margin: 10px 0 0;
  color: #5c6882;
  line-height: 1.7;
}

.world-cup-hub__pulse-metrics,
.world-cup-hub__pulse-livebar {
  display: grid;
  gap: 12px;
}

.world-cup-hub__pulse-metrics {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.world-cup-hub__pulse-livebar {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.world-cup-hub__pulse-metric,
.world-cup-hub__pulse-chip {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(29, 91, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)),
    #fff;
}

.world-cup-hub__pulse-metric::before,
.world-cup-hub__pulse-chip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(29, 91, 255, 0.9), rgba(20, 155, 99, 0.88));
}

.world-cup-hub__pulse-metric span,
.world-cup-hub__pulse-chip span,
.world-cup-hub__pulse-chart-note {
  display: block;
  color: #6b7b96;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world-cup-hub__pulse-metric strong,
.world-cup-hub__pulse-chip strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.world-cup-hub__pulse-metric small,
.world-cup-hub__pulse-chip small,
.world-cup-hub__pulse-chip em {
  display: block;
  margin-top: 8px;
  color: #5b6881;
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: normal;
}

.world-cup-hub__pulse-chip em {
  color: #7a899f;
  font-size: 0.82rem;
}

.world-cup-hub__pulse-metric.is-live,
.world-cup-hub__pulse-chip.is-live {
  border-color: rgba(255, 75, 88, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 245, 246, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
}

.world-cup-hub__pulse-metric.is-live::before,
.world-cup-hub__pulse-chip.is-live::before {
  background: linear-gradient(180deg, rgba(255, 75, 88, 0.96), rgba(245, 158, 11, 0.9));
}

.world-cup-hub__pulse-chip.is-alert {
  border-color: rgba(248, 165, 43, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
}

.world-cup-hub__pulse-chip.is-alert::before {
  background: linear-gradient(180deg, rgba(248, 165, 43, 0.95), rgba(255, 75, 88, 0.88));
}

.world-cup-hub__pulse-chart {
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(29, 91, 255, 0.04), rgba(255, 255, 255, 0.98)),
    #fff;
  border: 1px solid rgba(29, 91, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.world-cup-hub__pulse-chart-note {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(29, 91, 255, 0.06);
  color: #45618b;
  letter-spacing: 0.04em;
  text-transform: none;
}

.world-cup-hub__pulse-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #53617d;
  font-size: 0.92rem;
  font-weight: 700;
}

.world-cup-hub__pulse-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.world-cup-hub__pulse-legend i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.world-cup-hub__pulse-legend i.is-primary {
  background: var(--wch-blue);
}

.world-cup-hub__pulse-legend i.is-secondary {
  background: var(--wch-green);
}

.world-cup-hub__pulse-chart svg {
  width: 100%;
  height: 240px;
  display: block;
  padding: 6px 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.9)),
    repeating-linear-gradient(
      180deg,
      rgba(29, 91, 255, 0.05) 0,
      rgba(29, 91, 255, 0.05) 1px,
      transparent 1px,
      transparent 52px
    );
}

.world-cup-hub__pulse-area {
  fill: url(#worldCupPulseFill);
}

.world-cup-hub__pulse-line {
  fill: none;
  stroke: var(--wch-blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 16px rgba(29, 91, 255, 0.16));
}

.world-cup-hub__pulse-line--secondary {
  stroke: var(--wch-green);
  stroke-width: 4;
  opacity: 0.72;
  filter: none;
}

.world-cup-hub__pulse-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #64748b;
  font-size: 0.82rem;
}

.world-cup-hub__pulse-labels span {
  flex: 1 1 0;
  min-width: 48px;
  text-align: center;
}

.world-cup-hub__gantt-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.world-cup-hub__gantt-topline small {
  color: #64748b;
  font-weight: 700;
}

.world-cup-hub__gantt-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.world-cup-hub__gantt-board {
  min-width: max(100%, calc(var(--timeline-days) * 104px + 300px));
  display: grid;
  gap: 14px;
}

.world-cup-hub__gantt-header,
.world-cup-hub__gantt-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}

.world-cup-hub__gantt-stage-col {
  min-height: 76px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--wch-soft);
  border: 1px solid rgba(29, 91, 255, 0.08);
}

.world-cup-hub__gantt-stage-col strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.world-cup-hub__gantt-stage-col span {
  display: block;
  margin-top: 8px;
  color: #5b6881;
  line-height: 1.5;
}

.world-cup-hub__gantt-days,
.world-cup-hub__gantt-track {
  display: grid;
  grid-template-columns: repeat(var(--timeline-days), minmax(92px, 1fr));
  gap: 10px;
}

.world-cup-hub__gantt-day {
  padding: 12px 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(29, 91, 255, 0.08);
  text-align: center;
}

.world-cup-hub__gantt-day span {
  display: block;
  color: #6d7d98;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.world-cup-hub__gantt-day strong {
  display: block;
  margin-top: 5px;
  font-size: 0.92rem;
  font-weight: 900;
}

.world-cup-hub__gantt-track {
  position: relative;
  align-items: center;
  min-height: 86px;
  padding: 8px 0;
}

.world-cup-hub__gantt-track::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  border-radius: 20px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(29, 91, 255, 0.04) 0,
      rgba(29, 91, 255, 0.04) calc((100% / var(--timeline-days)) - 2px),
      rgba(255, 255, 255, 0.88) calc((100% / var(--timeline-days)) - 2px),
      rgba(255, 255, 255, 0.88) calc(100% / var(--timeline-days))
    );
  border: 1px solid rgba(29, 91, 255, 0.06);
}

.world-cup-hub__gantt-bar {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--stage-color), var(--stage-color));
  color: #fff;
  display: grid;
  align-content: center;
  gap: 3px;
  box-shadow: 0 16px 30px rgba(17, 40, 102, 0.16);
}

.world-cup-hub__gantt-bar strong,
.world-cup-hub__gantt-bar span,
.world-cup-hub__gantt-bar em {
  color: inherit;
}

.world-cup-hub__gantt-bar strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.world-cup-hub__gantt-bar span,
.world-cup-hub__gantt-bar em {
  font-style: normal;
  font-size: 0.82rem;
  opacity: 0.96;
}

.world-cup-hub__gantt-bar.is-live::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.world-cup-hub__card-rail--groups > * {
  flex: 0 0 min(320px, calc(100vw - 120px));
}

.world-cup-hub__card-rail--matches > * {
  flex: 0 0 min(410px, calc(100vw - 120px));
}

.world-cup-hub__card-rail--teams > * {
  flex: 0 0 min(360px, calc(100vw - 120px));
}

.world-cup-hub__card-rail--cta > * {
  flex: 0 0 min(340px, calc(100vw - 120px));
}

.world-cup-hub__card-rail--trust > * {
  flex: 0 0 min(280px, calc(100vw - 120px));
}

.world-cup-hub__card-rail--summary > * {
  flex: 0 0 min(220px, calc(100vw - 120px));
}

.world-cup-hub__group-card,
.world-cup-hub__match-card,
.world-cup-hub__teams-card,
.world-cup-hub__trust-item,
.world-cup-hub__stage-summary {
  border-radius: 24px;
  padding: 18px;
}

.world-cup-hub__group-head,
.world-cup-hub__group-row,
.world-cup-hub__match-topline,
.world-cup-hub__match-footer,
.world-cup-hub__score-team,
.world-cup-hub__bracket-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.world-cup-hub__group-head {
  margin-bottom: 12px;
  color: #4c5c77;
  font-weight: 800;
}

.world-cup-hub__group-row + .world-cup-hub__group-row {
  margin-top: 12px;
}

.world-cup-hub__position {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e7eefc;
  color: var(--wch-blue);
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.world-cup-hub__team-line,
.world-cup-hub__score-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.world-cup-hub__team-line strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.world-cup-hub__team-line img,
.world-cup-hub__score-team img,
.world-cup-hub__team-chip img {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
}

.world-cup-hub__points {
  font-weight: 900;
  font-size: 1.05rem;
}

.world-cup-hub__match-badge {
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.world-cup-hub__match-badge.is-live {
  background: linear-gradient(135deg, #ff4b58, #d81d44);
}

.world-cup-hub__match-badge.is-upcoming {
  background: linear-gradient(135deg, #1d5bff, #113ec8);
}

.world-cup-hub__match-badge.is-complete {
  background: linear-gradient(135deg, #149b63, #0d7a4d);
}

.world-cup-hub__scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 26px 0;
}

.world-cup-hub__score-team {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.world-cup-hub__score-team strong {
  font-size: 1.05rem;
}

.world-cup-hub__score-value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.world-cup-hub__match-footer {
  padding-top: 16px;
  border-top: 1px solid var(--wch-line);
}

.world-cup-hub__match-footer strong,
.world-cup-hub__match-footer span {
  display: block;
}

.world-cup-hub__match-footer span {
  color: #607089;
  font-size: 0.92rem;
  margin-top: 4px;
}

.world-cup-hub__teams-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 900;
}

.world-cup-hub__team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.world-cup-hub__team-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--wch-line);
  border-radius: 999px;
  background: var(--wch-soft);
  font-weight: 700;
}

.world-cup-hub__team-chip.is-qualified {
  border-color: rgba(20, 155, 99, 0.35);
  background: rgba(20, 155, 99, 0.09);
}

.world-cup-hub__cta {
  display: block;
  padding: 22px 24px;
  border-radius: 26px;
  color: #fff;
  text-decoration: none;
}

.world-cup-hub__cta strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
}

.world-cup-hub__cta span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.world-cup-hub__cta--blue {
  background: linear-gradient(135deg, #1d5bff, #113ec8);
}

.world-cup-hub__cta--green {
  background: linear-gradient(135deg, #149b63, #0d774d);
}

.world-cup-hub__cta--orange {
  background: linear-gradient(135deg, #f8a52b, #d77e00);
}

.world-cup-hub__trust-item strong,
.world-cup-hub__stage-summary strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
}

.world-cup-hub__trust-item span,
.world-cup-hub__stage-summary span {
  display: block;
  color: #617089;
  line-height: 1.6;
}

.world-cup-hub__stage-summary small {
  display: block;
  margin-top: 8px;
  color: #7686a3;
  line-height: 1.5;
}

.world-cup-hub__bracket-launch {
  padding: 16px;
}

.world-cup-hub__sources {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
}

.world-cup-hub__source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.world-cup-hub__empty {
  width: 100%;
  padding: 22px;
  border: 1px dashed var(--wch-line);
  border-radius: 20px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.75);
}

.world-cup-hub__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.world-cup-hub__modal[hidden] {
  display: none;
}

.world-cup-hub__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 53, 0.66);
  backdrop-filter: blur(10px);
}

.world-cup-hub__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1260px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(29, 91, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 32px 90px rgba(9, 20, 53, 0.3);
  overflow: hidden;
}

.world-cup-hub__modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(9, 20, 53, 0.08);
  color: var(--wch-ink);
  font-size: 1.8rem;
  line-height: 1;
}

.world-cup-hub__modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-right: 56px;
}

.world-cup-hub__modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.world-cup-hub__modal-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(29, 91, 255, 0.08);
  color: var(--wch-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.world-cup-hub__modal-summary {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.world-cup-hub__modal-summary > * {
  flex: 0 0 220px;
}

.world-cup-hub__modal-body {
  display: flex;
  overflow: hidden;
  min-height: 0;
}

.world-cup-hub__bracket-viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-width: 100%;
  max-height: none;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(29, 91, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  scrollbar-gutter: stable both-edges;
  overscroll-behavior: contain;
  isolation: isolate;
  clip-path: inset(0 round 28px);
}

.world-cup-hub__bracket-viewport::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.world-cup-hub__bracket-viewport::-webkit-scrollbar-track {
  background: rgba(29, 91, 255, 0.08);
  border-radius: 999px;
}

.world-cup-hub__bracket-viewport::-webkit-scrollbar-thumb {
  background: rgba(13, 27, 68, 0.34);
  border-radius: 999px;
}

.world-cup-hub__bracket-diagram-shell {
  position: relative;
  min-width: max-content;
  min-height: max-content;
}

.world-cup-hub__bracket-board {
  --bracket-column-width: 286px;
  --bracket-gap: 72px;
  --bracket-card-height: 154px;
  --bracket-step: 178px;
  --bracket-headspace: 54px;
  --bracket-board-height: calc(var(--bracket-headspace) + var(--bracket-card-height) + (15 * var(--bracket-step)) + 56px);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--bracket-column-width);
  gap: var(--bracket-gap);
  min-width: max-content;
  min-height: var(--bracket-board-height);
  padding: 4px 36px 36px 4px;
}

.world-cup-hub__bracket-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.world-cup-hub__bracket-connector {
  fill: none;
  stroke: rgba(29, 91, 255, 0.42);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 16px rgba(29, 91, 255, 0.14));
}

.world-cup-hub__bracket-connector--final {
  stroke: rgba(245, 158, 11, 0.72);
}

.world-cup-hub__bracket-connector--third {
  stroke: rgba(20, 155, 99, 0.52);
}

.world-cup-hub__bracket-lane {
  position: relative;
  min-height: var(--bracket-board-height);
}

.world-cup-hub__bracket-head {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.world-cup-hub__bracket-match {
  position: relative;
  padding: 14px;
  border: 1px solid var(--wch-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(17, 40, 102, 0.08);
  font-size: 0.94rem;
}

.world-cup-hub__bracket-match--tree {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--bracket-card-height);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.world-cup-hub__bracket-team + .world-cup-hub__bracket-team {
  margin-top: 8px;
}

.world-cup-hub__bracket-match .world-cup-hub__match-topline {
  font-size: 0.9rem;
}

.world-cup-hub__bracket-match .world-cup-hub__match-badge {
  font-size: 0.7rem;
  padding: 6px 11px;
}

.world-cup-hub__bracket-team span,
.world-cup-hub__bracket-team em {
  font-size: 0.95rem;
}

.world-cup-hub__bracket-match small {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 0.82rem;
}

.world-cup-hub__bracket-match a {
  display: inline-block;
  margin-top: auto;
  color: var(--wch-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.world-cup-hub__bracket-outcome-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 10px 0 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(29, 91, 255, 0.08);
  color: var(--wch-blue);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.world-cup-hub__bracket-match--outcome {
  border-color: rgba(29, 91, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(240, 246, 255, 0.96));
}

.world-cup-hub__bracket-match--final {
  box-shadow: 0 22px 44px rgba(245, 158, 11, 0.16);
}

.world-cup-hub__bracket-match--third {
  box-shadow: 0 20px 38px rgba(20, 155, 99, 0.12);
}

body.world-cup-modal-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .world-cup-hub__hero,
  .world-cup-hub__stats-grid,
  .world-cup-hub__analytics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .world-cup-hub__hero {
    grid-template-columns: 1fr;
  }

  .world-cup-hub__gantt-header,
  .world-cup-hub__gantt-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .world-cup-hub__analytics-grid,
  .world-cup-hub__stats-grid {
    grid-template-columns: 1fr;
  }

  .world-cup-hub__modal-dialog {
    padding: 20px;
  }

  .world-cup-hub__modal-header {
    flex-direction: column;
    padding-right: 44px;
  }

  .world-cup-hub__bracket-board {
    --bracket-column-width: 260px;
    --bracket-gap: 56px;
    --bracket-card-height: 148px;
    --bracket-step: 170px;
  }
}

@media (max-width: 767px) {
  .world-cup-hub {
    padding: 26px 0 44px;
  }

  .world-cup-hub__section-head,
  .world-cup-hub__sources,
  .world-cup-hub__gantt-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .world-cup-hub__hero-art {
    min-height: 360px;
  }

  .world-cup-hub__hero-trophy {
    right: 26px;
    width: 180px;
  }

  .world-cup-hub__rail-shell {
    grid-template-columns: 1fr;
  }

  .world-cup-hub__rail-arrow {
    display: none;
  }

  .world-cup-hub__tab {
    min-width: 132px;
  }

  .world-cup-hub__modal {
    padding: 10px;
  }

  .world-cup-hub__modal-dialog {
    max-height: calc(100vh - 20px);
    padding: 18px;
    border-radius: 22px;
  }

  .world-cup-hub__modal-body {
    overflow: hidden;
  }

  .world-cup-hub__bracket-viewport {
    padding: 14px;
  }

  .world-cup-hub__bracket-board {
    --bracket-column-width: 228px;
    --bracket-gap: 42px;
    --bracket-card-height: 144px;
    --bracket-step: 164px;
  }

  .world-cup-hub__gantt-header,
  .world-cup-hub__gantt-row {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 12px;
  }
}
