/* QuickScoreBet — Mundial 2026 */

.wc-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.wc-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.25rem;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(16, 185, 129, 0.18), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #111827 45%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.wc-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.wc-hero-title {
  margin: 0 0 0.5rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
}

.wc-hero-lead {
  margin: 0;
  max-width: 52ch;
  color: #cbd5e1;
  font-size: 0.98rem;
}

.wc-live-strip {
  margin-bottom: 1rem;
}

.wc-live-strip-inner {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(127, 29, 29, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.wc-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fecaca;
}

.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.wc-tab {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.wc-tab.active {
  background: #0d9488;
  border-color: #14b8a6;
  color: #ecfdf5;
}

.wc-panel[hidden] {
  display: none !important;
}

.wc-meta {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.wc-date-block + .wc-date-block {
  margin-top: 1.25rem;
}

.wc-date-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.wc-date-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: capitalize;
}

.wc-date-count {
  font-size: 0.82rem;
  color: #94a3b8;
}

.wc-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.wc-group-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  padding: 0.75rem;
}

.wc-group-title {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
}

.wc-group-table-wrap {
  overflow-x: auto;
}

.wc-group-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.wc-group-table th,
.wc-group-table td {
  padding: 0.35rem 0.3rem;
  text-align: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.wc-group-table th:first-child,
.wc-group-table td.wc-group-team {
  text-align: left;
}

.wc-group-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 8.5rem;
}

.wc-group-crest {
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.wc-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.22), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.wc-banner a {
  color: #99f6e4;
  font-weight: 600;
  text-decoration: none;
}

.wc-banner a:hover {
  text-decoration: underline;
}

.wc-home-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.28), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.wc-home-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 12rem;
  min-width: 0;
}

.wc-home-banner-text strong {
  font-size: 1rem;
}

.wc-home-banner-text span {
  font-size: 0.86rem;
  color: #cbd5e1;
}

.wc-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.wc-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #0d9488;
  color: #ecfdf5 !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}

.wc-cta:hover {
  background: #0f766e;
  text-decoration: none;
}

.wc-ko-bracket-scroll::after {
  content: "Desliza →";
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  text-align: right;
  margin-top: 0.35rem;
}

@media (min-width: 900px) {
  .wc-ko-bracket-scroll::after {
    display: none;
  }
}

.wc-ko-source {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.wc-ko-bracket-scroll {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.wc-ko-bracket-grid {
  display: flex;
  gap: 1rem;
  min-width: min-content;
}

.wc-ko-round-col {
  flex: 0 0 240px;
  max-width: 280px;
}

.wc-ko-round-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
}

.wc-ko-matches {
  display: grid;
  gap: 0.55rem;
}

.wc-ko-matches .match-card-sq {
  min-height: auto;
}

.wc-live-stale {
  font-weight: 400;
  opacity: 0.85;
}

.wc-modal-score {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 0.5rem 0 1rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
}

.wc-modal-inner {
  padding: 0.25rem 0 0.5rem;
}

.wc-modal-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 0.25rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.wc-modal-hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  min-width: 0;
}

.wc-modal-hero-team strong {
  font-size: 0.92rem;
  line-height: 1.25;
  word-break: break-word;
}

.wc-modal-hero-tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.wc-modal-hero-center {
  text-align: center;
  min-width: 5.5rem;
}

.wc-modal-hero-score {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #e2e8f0;
}

.wc-modal-hero-score--vs {
  font-size: 1.35rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.wc-modal-hero-kick {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6ee7b7;
}

.wc-modal-hero-date {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: capitalize;
}

.wc-modal-hero-detail {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.wc-modal-crest {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.wc-modal-crest-ph {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-weight: 700;
  color: #94a3b8;
}

.wc-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.wc-modal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.wc-modal-note {
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.wc-modal-note p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.wc-modal-empty {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
}

.wc-modal-section {
  margin-bottom: 1.1rem;
}

.wc-modal-section h3 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
}

.wc-modal-stats {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.wc-modal-stats th,
.wc-modal-stats td {
  padding: 0.35rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.wc-modal-stats th {
  font-weight: 600;
  color: #cbd5e1;
}

.wc-modal-lineup {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  columns: 2;
  column-gap: 1rem;
}

.wc-modal-lineup--bench {
  opacity: 0.88;
}

.wc-modal-bench-label {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.wc-modal-events {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.wc-modal-events li {
  padding: 0.25rem 0;
  font-size: 0.88rem;
}

.wc-ev-min {
  display: inline-block;
  min-width: 2rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .wc-page {
    padding-inline: 0.75rem;
  }

  .wc-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  .wc-group-table th:nth-child(6),
  .wc-group-table td:nth-child(6),
  .wc-group-table th:nth-child(7),
  .wc-group-table td:nth-child(7) {
    display: none;
  }

  .wc-modal-hero {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .wc-modal-hero-center {
    order: -1;
  }

  .wc-modal-crest,
  .wc-modal-crest-ph {
    width: 56px;
    height: 56px;
  }

  .wc-modal-lineup {
    columns: 1;
  }

  .wc-home-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .wc-cta {
    width: 100%;
    justify-content: center;
  }

  .match-card-sq .match-sq-names span {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
  }
}

@media (max-width: 480px) {
  .wc-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
