/* Piala Dunia 2026 — hero, pill tabs, glow panels, fixtures, standings.
   Latar halaman mengikuti .ai-predict-body (sama dengan Team Match / Klasemen). */

.wc-page {
  position: relative;
}

/* Hero */
.wc-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 1024px) {
  .wc-hero {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 2.5rem;
    margin-bottom: 2rem;
  }
}

.wc-hero-logo {
  width: 6rem;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 12px 36px rgba(168, 85, 247, 0.4));
}

@media (min-width: 1024px) {
  .wc-hero-logo {
    width: 10rem;
  }
}

.wc-hero-title {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-shadow: 0 0 32px rgba(168, 85, 247, 0.35);
  margin: 0;
}

.wc-hero-dates {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(34, 211, 238, 0.88);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Pill tab bar */
.wc-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.08);
}

.wc-tab {
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  padding: 0.45rem 0.9rem !important;
  font-weight: 600;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .wc-tab {
    font-size: 0.85rem !important;
    padding: 0.5rem 1.1rem !important;
  }
}

.wc-tab-active {
  background: rgba(168, 85, 247, 0.42) !important;
  border-color: rgba(168, 85, 247, 0.55) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 20px rgba(168, 85, 247, 0.2);
}

/* Framed panel */
.wc-panel {
  border-radius: 1.25rem;
  background: var(--wc-card-bg);
  border: 1px solid var(--wc-card-border);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.35),
    0 0 40px rgba(168, 85, 247, 0.12) inset;
  padding: 1.25rem 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .wc-panel {
    padding: 1.5rem 1.75rem 2rem;
  }
}

.wc-panel-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(103, 232, 249, 0.95);
  margin: 0 0 1.25rem;
}

/* Info — definition list */
.wc-info-grid {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}

.wc-info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .wc-info-row {
    grid-template-columns: 12rem 1fr;
    align-items: baseline;
    gap: 1rem;
  }
}

.wc-info-row:last-child {
  border-bottom: none;
}

.wc-info-dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.wc-info-dd {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Stat strip */
.wc-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .wc-stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.wc-stat-tile {
  border-radius: 1rem;
  padding: 1rem 0.85rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-stat-tile img,
.wc-stat-tile svg {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.5rem;
  color: rgba(34, 211, 238, 0.9);
}

.wc-stat-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.wc-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Fixtures filter */
.wc-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.wc-filter-field label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

.wc-filter-pill,
.wc-filter-form select,
.wc-filter-form input[type="date"] {
  border-radius: 9999px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  min-height: 2.5rem;
}

.wc-filter-btn {
  border-radius: 9999px;
  border: 1px solid rgba(236, 72, 153, 0.55);
  background: transparent;
  color: rgba(251, 232, 255, 0.95);
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.wc-filter-btn:hover {
  background: rgba(236, 72, 153, 0.12);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.2);
}

/* Fixtures grouped list */
.wc-fixtures-date-pill {
  display: inline-block;
  margin: 1.25rem 0 0.65rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.wc-fixtures-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(34, 211, 238, 0.85);
  margin: 0.75rem 0 0.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wc-fixtures-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Match row (WC) */
.wc-match-row {
  border-radius: 1rem;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-match-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wc-match-inner {
    grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.1fr) minmax(0, 10rem) auto;
  }
}

.wc-match-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wc-match-home {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.wc-match-away {
  justify-content: flex-start;
}

.wc-match-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.wc-match-flag {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.wc-match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 4.5rem;
}

.wc-match-vs {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(236, 72, 153, 0.85);
}

.wc-match-time {
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.75);
}

.wc-match-score {
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.wc-match-meta {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

.wc-match-chip {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: rgba(233, 213, 255, 0.95);
}

.wc-match-star {
  border: none;
  background: transparent;
  color: rgba(251, 191, 36, 0.25);
  font-size: 1rem;
  cursor: not-allowed;
  justify-self: end;
}

/* Pagination */
.wc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.75rem;
  font-size: 0.85rem;
}

.wc-page-link {
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

.wc-page-link:hover {
  border-color: rgba(168, 85, 247, 0.45);
  color: #fff;
}

.wc-page-current {
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(168, 85, 247, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.55);
  font-weight: 700;
}

/* Groups filters */
.wc-groups-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.wc-groups-filter label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

/* Standings traffic lights */
.standings-rank-cell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.standings-qual-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  flex-shrink: 0;
  background: rgba(107, 114, 128, 0.85);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.standings-row.qual-direct .standings-qual-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
}

.standings-row.qual-playoff .standings-qual-dot {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.standings-row.qual-out .standings-qual-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
}

.standings-row.qual-neutral .standings-qual-dot {
  background: rgba(107, 114, 128, 0.85);
}

.wc-empty code {
  font-size: 0.85em;
}
