/* ============================================================
   PIZZAS CACHO — CAMPAÑA MUNDIAL 2026 ⚽🏆
   worldcup.css — EDICIÓN ÉPICA
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --wc-gold:   #F7C948;
  --wc-gold2:  #e6a800;
  --wc-blue:   #0B3D91;
  --wc-red:    #D72638;
  --wc-green:  #2E8B57;
  --wc-white:  #FFFFFF;
  --wc-dark:   #080C14;
}

/* ── Fondo con campo de fútbol sutil ────────────────────────── */
body {
  background-color: #0a0a0a;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 58px, rgba(46,139,87,0.04) 58px, rgba(46,139,87,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 58px, rgba(46,139,87,0.04) 58px, rgba(46,139,87,0.04) 60px),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(11,61,145,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(215,38,56,0.04) 0%, transparent 60%);
}

/* ── Línea arcoíris bajo la nav ──────────────────────────────── */
.worldcup-header-line {
  position: fixed;
  top: 70px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--wc-blue) 10%,
    var(--wc-white) 25%,
    var(--wc-red) 40%,
    var(--wc-gold) 55%,
    var(--wc-green) 70%,
    var(--wc-white) 85%,
    transparent 100%
  );
  z-index: 1001;
  animation: wc-line-pulse 3s ease-in-out infinite alternate;
}

@keyframes wc-line-pulse {
  from { opacity: 0.5; transform: scaleX(0.98); }
  to   { opacity: 1;   transform: scaleX(1); }
}

/* ── Badge en la nav ──────────────────────────────────────────── */
.worldcup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(247,201,72,0.18), rgba(11,61,145,0.12));
  border: 1px solid rgba(247,201,72,0.45);
  border-radius: 20px;
  padding: 5px 14px 5px 9px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--wc-gold);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(247,201,72,0.1);
}
.worldcup-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247,201,72,0.25), transparent);
  animation: wc-shine 3s ease-in-out infinite;
}
@keyframes wc-shine {
  0%  { left: -100%; }
  60% { left: 140%; }
  100%{ left: 140%; }
}
.worldcup-ball {
  display: inline-block;
  font-size: 1rem;
  animation: wc-ball-spin 4s linear infinite;
}
@keyframes wc-ball-spin {
  to { transform: rotate(360deg); }
}

/* ── BANNER TRICOLOR en el promo-banner ─────────────────────── */
.promo-banner {
  background: linear-gradient(90deg, #0B3D91 0%, #1a52c0 30%, #C0281C 50%, #1a52c0 70%, #0B3D91 100%) !important;
  border-bottom: 2px solid var(--wc-gold) !important;
  animation: wc-banner-slide 8s ease-in-out infinite alternate;
}
@keyframes wc-banner-slide {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* ══════════════════════════════════════════════════════════════
   LOGO MUNDIAL 2026 — hero decoration
   ══════════════════════════════════════════════════════════════ */
.wc-logo-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

/* ── HERO con overlay del mundial ────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(11,61,145,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 5% 50%, rgba(215,38,56,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 95% 50%, rgba(46,139,87,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* estrellas de fondo animadas */
.wc-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.wc-star {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--wc-gold);
  border-radius: 50%;
  animation: wc-twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
  opacity: 0;
}
@keyframes wc-twinkle {
  0%,100% { opacity: 0; transform: scale(1); }
  50%     { opacity: 0.8; transform: scale(1.5); }
}

/* ── SECTION: PROMO MUNDIAL ──────────────────────────────────── */
#promo-mundial {
  background: linear-gradient(180deg, #060910 0%, #0a0f1a 50%, #060910 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
#promo-mundial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(247,201,72,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(11,61,145,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(215,38,56,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* campo de fútbol decorativo de fondo */
#promo-mundial::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  border: 1px solid rgba(46,139,87,0.06);
  border-radius: 8px;
  pointer-events: none;
  box-shadow:
    0 0 0 50px rgba(0,0,0,0),
    inset 0 0 0 1px rgba(46,139,87,0.04);
}

.promo-mundial-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}
.promo-mundial-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--wc-gold);
  opacity: 0.9;
  margin-bottom: 0.8rem;
}
.promo-mundial-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  color: var(--white, #fff);
  letter-spacing: 5px;
  line-height: 1;
}
.promo-mundial-title span { color: var(--wc-gold); }
.promo-mundial-divider {
  width: 100px; height: 3px;
  background: linear-gradient(90deg, var(--wc-blue), var(--wc-gold), var(--wc-red), var(--wc-green));
  margin: 1.4rem auto 0;
  border-radius: 2px;
  animation: wc-divider-glow 3s ease-in-out infinite alternate;
}
@keyframes wc-divider-glow {
  from { box-shadow: 0 0 4px rgba(247,201,72,0.3); }
  to   { box-shadow: 0 0 16px rgba(247,201,72,0.7); }
}

/* Grid de promos */
.promo-mundial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Cards */
.promo-card {
  background: linear-gradient(145deg, #0d1220, #080c14);
  border-radius: 16px;
  padding: 2rem 1.6rem 1.6rem;
  border: 1px solid rgba(247,201,72,0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), border-color 0.3s, box-shadow 0.3s;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--promo-accent, linear-gradient(90deg, var(--wc-gold), var(--wc-red)));
}
.promo-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(247,201,72,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(247,201,72,0.08);
}
.promo-card-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.promo-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--wc-gold), #e6a800);
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-size: 0.58rem; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 10px;
}
.promo-card h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem; color: #fff;
  letter-spacing: 2px; margin-bottom: 0.5rem;
}
.promo-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.87rem; line-height: 1.6; margin-bottom: 1.3rem;
}
.btn-worldcup {
  display: inline-block;
  background: linear-gradient(135deg, var(--wc-red) 0%, #b5001e 100%);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px; border-radius: 6px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(215,38,56,0.4);
}
.btn-worldcup::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247,201,72,0.35), transparent);
  animation: wc-btn-shine 2.5s ease-in-out infinite;
}
@keyframes wc-btn-shine {
  0%  { left:-100%; } 50% { left:150%; } 100% { left:150%; }
}
.btn-worldcup:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(215,38,56,0.55), 0 0 0 1px rgba(247,201,72,0.3);
}
.promo-card:nth-child(1) { --promo-accent: linear-gradient(90deg, var(--wc-gold), #e6a800); }
.promo-card:nth-child(2) { --promo-accent: linear-gradient(90deg, var(--wc-red), var(--wc-gold)); }
.promo-card:nth-child(3) { --promo-accent: linear-gradient(90deg, var(--wc-blue), #1565c0); }
.promo-card:nth-child(4) { --promo-accent: linear-gradient(90deg, var(--wc-green), #1a6b3a); }

/* ── COUNTRIES TICKER ────────────────────────────────────────── */
#wc-ticker {
  background: linear-gradient(135deg, #060910, #0a1020);
  border-top: 2px solid rgba(247,201,72,0.3);
  border-bottom: 2px solid rgba(247,201,72,0.3);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
}
#wc-ticker::before, #wc-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px; z-index: 2;
  pointer-events: none;
}
#wc-ticker::before { left: 0; background: linear-gradient(90deg, #060910, transparent); }
#wc-ticker::after  { right: 0; background: linear-gradient(270deg, #060910, transparent); }
.wc-ticker-track {
  display: flex;
  gap: 2.5rem;
  animation: wc-ticker-scroll 40s linear infinite;
  width: max-content;
}
@keyframes wc-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.wc-ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}
.wc-ticker-item .flag { font-size: 1.1rem; }
.wc-ticker-sep {
  color: var(--wc-gold);
  font-size: 0.9rem;
  opacity: 0.5;
}

/* ── SEDES ──────────────────────────────────────────────────── */
#wc-sedes {
  background: linear-gradient(180deg, #060910 0%, #090d18 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.wc-section-title {
  text-align: center;
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 5px;
  color: #fff;
  margin-bottom: 0.5rem;
}
.wc-section-title span { color: var(--wc-gold); }
.wc-section-eyebrow {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wc-gold);
  opacity: 0.7;
  margin-bottom: 0.8rem;
}
.wc-divider {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--wc-blue), var(--wc-gold), var(--wc-red));
  margin: 1rem auto 3rem;
  border-radius: 2px;
}
.wc-sedes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.wc-sede-card {
  background: linear-gradient(145deg, #0d1220, #080c14);
  border: 1px solid rgba(247,201,72,0.1);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.wc-sede-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wc-blue), var(--wc-red));
}
.wc-sede-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247,201,72,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px rgba(247,201,72,0.05);
}
.wc-sede-flag { font-size: 2.2rem; margin-bottom: 0.6rem; display: block; }
.wc-sede-city {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.2rem;
}
.wc-sede-country {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wc-gold);
  opacity: 0.7;
}
.wc-sede-stadium {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ── CONTADOR ────────────────────────────────────────────────── */
#worldcup-countdown {
  background: linear-gradient(145deg, #0d1220, #080c14);
  border: 1px solid rgba(247,201,72,0.2);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  max-width: 560px;
  margin: 3.5rem auto 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(247,201,72,0.05), 0 20px 60px rgba(0,0,0,0.5);
}
#worldcup-countdown::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--wc-blue), var(--wc-gold), var(--wc-red), var(--wc-green));
}
#worldcup-countdown::after {
  content: '🏆';
  position: absolute;
  font-size: 8rem;
  opacity: 0.03;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.wc-countdown-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem; letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wc-gold); opacity: 0.85;
  margin-bottom: 1.2rem;
}
.wc-countdown-units {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: flex-end;
}
.wc-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wc-unit-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.2rem; color: #fff; line-height: 1;
  min-width: 72px;
  background: linear-gradient(145deg, #111827, #0a0e18);
  border-radius: 10px;
  border: 1px solid rgba(247,201,72,0.15);
  padding: 8px 6px;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
  transition: color 0.3s, text-shadow 0.3s;
}
.wc-unit-num.pulse {
  color: var(--wc-gold);
  text-shadow: 0 0 20px rgba(247,201,72,0.5);
}
.wc-unit-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.58rem; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.wc-countdown-sep {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem; color: var(--wc-gold);
  opacity: 0.5; padding-bottom: 18px;
  animation: wc-sep-blink 1s step-end infinite;
}
@keyframes wc-sep-blink {
  50% { opacity: 0.1; }
}

/* ── MENU CARDS hover épico del mundial ─────────────────────── */
.menu-card { position: relative; cursor: default; }
.menu-card:hover {
  transform: translateY(-8px) rotate(0.8deg) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(247,201,72,0.25),
    0 0 40px rgba(247,201,72,0.06) !important;
  border-color: rgba(247,201,72,0.4) !important;
}
.menu-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(247,201,72,0.05) 50%, transparent 65%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.menu-card:hover::after { opacity: 1; }

/* badge en productos */
.wc-product-badge {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg, rgba(247,201,72,0.95), rgba(230,168,0,0.9));
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-size: 0.56rem; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700;
  padding: 3px 9px 3px 7px;
  border-radius: 0 8px 8px 0; z-index: 2;
  animation: wc-badge-pulse 2.5s ease-in-out infinite alternate;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
@keyframes wc-badge-pulse {
  from { opacity: 0.9; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* ── FOOTER TEMÁTICO ──────────────────────────────────────────── */
.wc-footer-line {
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--wc-blue), var(--wc-gold), var(--wc-red), var(--wc-green), transparent);
  margin-bottom: 0.8rem;
  opacity: 0.5;
}
.wc-footer-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem; letter-spacing: 2px;
  color: var(--wc-gold); opacity: 0.55;
  text-transform: uppercase;
}
.wc-footer-ball {
  display: inline-block;
  animation: wc-ball-spin 6s linear infinite;
  margin: 0 5px; vertical-align: middle;
}

/* ── HERO BTN glow ───────────────────────────────────────────── */
#hero .btn-order {
  box-shadow: 0 4px 20px rgba(192,40,28,0.5), 0 0 0 0 rgba(247,201,72,0);
  transition: all 0.3s ease;
}
#hero .btn-order:hover {
  box-shadow: 0 8px 30px rgba(192,40,28,0.65), 0 0 25px rgba(247,201,72,0.2);
}

/* ── CANVAS confeti ──────────────────────────────────────────── */
#wc-confetti-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
}

/* ── Argentina destacada (local favorita) ─────────────────────── */
.wc-arg-highlight {
  background: linear-gradient(135deg, rgba(116,172,220,0.08), rgba(255,255,255,0.04)) !important;
  border-color: rgba(116,172,220,0.35) !important;
}
.wc-arg-highlight .wc-sede-city { color: #74acdc; }
.wc-arg-highlight .wc-sede-country { color: #74acdc; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  #promo-mundial { padding: 3.5rem 1.2rem 3rem; }
  .promo-mundial-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .promo-card { padding: 1.4rem 1.2rem 1.2rem; }
  .promo-card h3 { font-size: 1.25rem; }
  .wc-countdown-units { gap: 0.8rem; }
  .wc-unit-num { font-size: 2rem; min-width: 52px; }
  .worldcup-badge { display: none; }
  .wc-sedes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .promo-mundial-grid { grid-template-columns: 1fr; }
  .wc-unit-num { font-size: 1.8rem; min-width: 46px; }
  .wc-sedes-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
}