/* ════════════════════════════════════════════════════════════════
   World Cup 2026 — promo banner  (scoped under .wc2026-banner)
   1:1 port of the React WorldCupBanner component. All visuals are
   confined to .wc2026-banner so they never clash with the host theme.
   ════════════════════════════════════════════════════════════════ */

.wc2026-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 18px;
  box-sizing: border-box;
  direction: rtl;
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wc2026-banner *,
.wc2026-banner *::before,
.wc2026-banner *::after { box-sizing: border-box; }
.wc2026-banner h3,
.wc2026-banner p { margin: 0; padding: 0; }

/* ── shell ── */
.wc2026-banner .wcb-card-link { display: block; text-decoration: none; }
.wc2026-banner .wcb-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(245, 196, 81, .22);
  background: linear-gradient(108deg, #04130b 0%, #063a20 44%, #0a5430 78%, #04130b 100%);
  box-shadow: 0 20px 50px -24px rgba(8, 60, 33, .85);
  transition: transform .4s ease;
}
.wc2026-banner .wcb-card-link:hover .wcb-shell { transform: translateY(-3px); }

/* ── pitch markings + glow + sheen ── */
.wc2026-banner .wcb-pitch {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .14; mix-blend-mode: screen; pointer-events: none;
}
.wc2026-banner .wcb-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 82% 18%, rgba(245, 196, 81, .20), transparent 60%),
    radial-gradient(520px 300px at 12% 110%, rgba(45, 198, 83, .28), transparent 60%);
}
.wc2026-banner .wcb-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .10) 48%, transparent 66%);
  transform: translateX(-120%);
}
.wc2026-banner .wcb-card-link:hover .wcb-sheen { animation: wcbSheen 1.1s ease; }
@keyframes wcbSheen {
  0%        { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

/* ── content row ── */
.wc2026-banner .wcb-row {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 26px 28px; min-height: 168px;
}
.wc2026-banner .wcb-text { min-width: 0; flex: 1; text-align: initial }

/* ── chips ── */
.wc2026-banner .wcb-chips { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.wc2026-banner .wcb-chip-fifa {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 196, 81, .14); border: 1px solid rgba(245, 196, 81, .4);
  color: #F5C451; font-size: .66rem; font-weight: 800; letter-spacing: .12em;
  padding: 5px 12px; border-radius: 999px;
}
.wc2026-banner .wcb-chip-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82); font-size: .66rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
}
.wc2026-banner .wcb-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff5a5a; display: inline-block;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, .18);
  animation: wcbLiveDot 1.3s ease-in-out infinite;
}
@keyframes wcbLiveDot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .35; transform: scale(.7); }
}

/* ── title + description + CTA ── */
.wc2026-banner .wcb-title {
  color: #fff; font-weight: 900; font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.05; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.wc2026-banner .wcb-year {
  color: #F5C451; font-family: "Inter", Arial, sans-serif; font-weight: 900; letter-spacing: .01em;
}
.wc2026-banner .wcb-desc {
  color: rgba(255, 255, 255, .7); font-size: .92rem; font-weight: 500; margin-top: 8px; max-width: 460px;
}
.wc2026-banner .wcb-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: linear-gradient(90deg, #28A745, #2DC653); color: #04130b;
  font-size: .86rem; font-weight: 800; padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 10px 26px -10px rgba(45, 198, 83, .7); transition: gap .2s ease;
}
.wc2026-banner .wcb-card-link:hover .wcb-cta { gap: 12px; }

/* ── floating logo (≥640px) ── */
.wc2026-banner .wcb-logo { display: none; }
@media (min-width: 640px) {
  .wc2026-banner .wcb-logo {
    display: flex; flex: 0 0 auto; align-items: center; justify-content: center;
    position: relative; width: 128px;
  }
}
.wc2026-banner .wcb-logo-glow {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, .32), transparent 65%);
}
.wc2026-banner .wcb-logo img {
  position: relative; width: 116px; height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .5));
  animation: wcbFloat 4s ease-in-out infinite;
}
@keyframes wcbFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── desktop (≥1024px) match card ── */
.wc2026-banner .wcb-card { display: none; }
@media (min-width: 1024px) {
  .wc2026-banner .wcb-card {
    display: flex; flex-direction: column; flex: 0 0 auto; width: 280px;
    background: rgba(4, 19, 11, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 14px 16px;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  }
}
.wc2026-banner .wcb-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wc2026-banner .wcb-card-label { color: #2DC653; font-weight: 800; font-size: .7rem; white-space: nowrap; }
.wc2026-banner .wcb-card-venue {
  color: rgba(255, 255, 255, .45); font-size: .62rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wc2026-banner .wcb-card-mid { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.wc2026-banner .wcb-card-score { text-align: center; min-width: 68px; }
.wc2026-banner .wcb-card-num { color: #fff; font-weight: 900; font-size: 1.2rem; line-height: 1; }
.wc2026-banner .wcb-card-sub { color: rgba(255, 255, 255, .45); font-size: .6rem; margin-top: 6px; }

/* ── mini team ── */
.wc2026-banner .wcb-team {
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 64px; gap: 6px;
}
.wc2026-banner .wcb-team-crest {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.wc2026-banner .wcb-team-name {
  color: #fff; font-weight: 700; font-size: .68rem; line-height: 1.1;
  max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── countdown ── */
.wc2026-banner .wcb-countdown { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; }
.wc2026-banner .wcb-cd-cell {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px; padding: 5px 0; min-width: 44px; text-align: center;
}
.wc2026-banner .wcb-cd-num { color: #fff; font-weight: 800; font-size: .95rem; line-height: 1; }
.wc2026-banner .wcb-cd-lbl { color: rgba(255, 255, 255, .45); font-size: .54rem; margin-top: 3px; }
.wc2026-banner .wcb-started { color: #2DC653; font-weight: 800; font-size: .76rem; text-align: center; margin-top: 12px; }

/* ── mobile / tablet (<1024px) match strip ── */
.wc2026-banner .wcb-strip { display: block; padding: 0 20px 18px; position: relative; }
@media (min-width: 1024px) { .wc2026-banner .wcb-strip { display: none; } }
.wc2026-banner .wcb-strip-inner {
  background: rgba(4, 19, 11, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 14px;
}
.wc2026-banner .wcb-strip-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.wc2026-banner .wcb-strip-time { color: rgba(255, 255, 255, .5); font-size: .62rem; white-space: nowrap; }
.wc2026-banner .wcb-strip-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wc2026-banner .wcb-strip-side { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.wc2026-banner .wcb-strip-side-end { justify-content: flex-end; }
.wc2026-banner .wcb-strip-crest {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto;
}
.wc2026-banner .wcb-strip-name {
  color: #fff; font-weight: 700; font-size: .74rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wc2026-banner .wcb-strip-score { font-weight: 900; flex: 0 0 auto; }
