

/* ======================================================
   FC WORLD CUP HUB - VARIABLES
====================================================== */
:root{
  --fcwc-blue:#061a38;
  --fcwc-red:#fc2729;
  --fcwc-gold:#f5b642;
  --fcwc-text:#07152f;
  --fcwc-muted:#64748b;
  --fcwc-bg:#eef3f8;
  --fcwc-card:#fff;
  --fcwc-border:rgba(15,23,42,.10);
}

/* ======================================================
   WRAPPER GENERAL
====================================================== */
.fcwc-wrap{
  max-width:1380px;
  margin:0 auto;
  background:var(--fcwc-bg);
  color:var(--fcwc-text);
  font-family:inherit;
}

.fcwc-wrap *{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

.fcwc-wrap{
  width:100%;
  max-width:100vw;
  overflow-x:hidden;
}

.fcwc-layout,
.fcwc-main,
.fcwc-side{
  max-width:100%;
}

/* ======================================================
   HERO / BANNER
====================================================== */
.fcwc-hero{
  min-height:250px;
  border-radius:0 0 18px 18px;
  background-image:
    linear-gradient(90deg,rgba(3,10,26,.82),rgba(3,10,26,.46),rgba(3,10,26,.35)),
    var(--fcwc-hero);
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.fcwc-hero-overlay{
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:38px 42px;
  color:#fff;
  text-shadow:0 3px 12px rgba(0,0,0,.35);
}

.fcwc-kicker{
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:800;
  color:var(--fcwc-gold);
}

.fcwc-hero h1{
  margin:0;
  font-size:clamp(38px,6vw,72px);
  line-height:.95;
  text-transform:uppercase;
  font-weight:900;
  color:#fff;
}

.fcwc-hero p:last-child{
  margin:14px 0 0;
  font-size:clamp(14px,1.6vw,19px);
  font-weight:700;
}

/* ======================================================
   CONTADOR REGRESIVO
====================================================== */
.fcwc-countdown{
  margin-top:18px;
  max-width:340px;
}

.fcwc-countdown-title{
  margin:0 0 8px !important;
  color:#e5e7eb;
  font-size:12px;
  font-weight:800;
}

.fcwc-countdown-row{
  display:grid;
  grid-template-columns:repeat(4,72px);
  gap:6px;
}

.fcwc-timebox {
    border-radius: 12px;
    padding: 8px 4px;
    text-align: center;
    backdrop-filter: blur(0px);
}

.fcwc-timebox strong{
  display:block;
  color:#fff;
  font-size:18px;
  line-height:1;
  font-weight:900;
}

.fcwc-timebox span{
  display:block;
  color:#e5e7eb;
  font-size:9px;
  font-weight:800;
  margin-top:4px;
  text-transform:uppercase;
}

.fcwc-timebox-days{background:rgba(185,28,28,.58)}
.fcwc-timebox-hours{background:rgba(22,101,52,.58)}
.fcwc-timebox-minutes{background:rgba(202,138,4,.58)}
.fcwc-timebox-seconds{background:rgba(29,78,216,.58)}

.fcwc-started-box{
  display:inline-block;
  margin-top:14px;
  border-radius:14px;
  padding:10px 14px;
  background:rgba(34,197,94,.18);
  color:#bbf7d0;
  font-size:13px;
  font-weight:900;
}

/* ======================================================
   TABS PRINCIPALES
====================================================== */
.fcwc-tabs{
  margin:-28px auto 18px;
  width:min(1080px,calc(100% - 28px));
  min-height:58px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  padding:7px;
  background:#fff;
  border:1px solid var(--fcwc-border);
  border-radius:16px;
  box-shadow:0 10px 26px rgba(15,23,42,.12);
  position:relative;
  z-index:4;
  overflow-x:auto;
}

.fcwc-tabs button,
.fcwc-filter-row button,
.fcwc-group-tabs button{
  appearance:none;
  border:0;
  background:transparent;
  color:#0f172a;
  font-weight:800;
  cursor:pointer;
  border-radius:12px;
  white-space:nowrap;
}

.fcwc-tabs button{
  padding:12px 18px;
  font-size:14px;
}

.fcwc-tabs button.is-active{
  background:#046bd2;
  color:#fff;
}

/* ======================================================
   LAYOUT PRINCIPAL
====================================================== */
.fcwc-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:18px;
  padding:0 18px 28px;
}

.fcwc-main,
.fcwc-side-card,
.fcwc-news-card,
.fcwc-match-card,
.fcwc-adbox,
.fcwc-stadium-card{
  border:1px solid var(--fcwc-border);
  background:var(--fcwc-card);
  border-radius:14px;
  box-shadow:0 4px 14px rgba(15,23,42,.06);
}

.fcwc-main{
  padding:16px;
  min-width:0;
}

.fcwc-panel{
  display:none;
}

.fcwc-panel.is-active{
  display:block;
}

/* ======================================================
   HEADERS DE SECCIONES
====================================================== */
.fcwc-section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  margin:0 0 14px;
}

.fcwc-section-head h2{
  margin:0;
  font-size:22px;
  line-height:1.1;
  color:#061a38;
  font-weight:900;
}

.fcwc-section-head p,
.fcwc-muted{
  margin:5px 0 0;
  color:var(--fcwc-muted);
  font-size:14px;
}

.fcwc-section-head a,
.fcwc-side-title a{
  color:#0646c9;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

/* ======================================================
   FEATURE / DESTACADO
====================================================== */
.fcwc-feature{
  min-height:280px;
  border-radius:14px;
  margin-bottom:18px;
  overflow:hidden;
  background:
    linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.15)),
    linear-gradient(135deg,#061a38,#123b7a);
  display:flex;
  align-items:flex-end;
  padding:24px;
  color:#fff;
}

.fcwc-feature span,
.fcwc-news-body span{
  display:inline-block;
  background:#0646c9;
  color:#fff;
  border-radius:6px;
  padding:4px 8px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}

.fcwc-feature h2{
  color:#fff;
  margin:10px 0 8px;
  font-size:30px;
  line-height:1.1;
}

.fcwc-feature p{
  margin:0;
  color:rgba(255,255,255,.88);
}

/* ======================================================
   NOTICIAS
====================================================== */
.fcwc-news-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.fcwc-news-card{
  overflow:hidden;
  text-decoration:none;
  color:var(--fcwc-text);
  display:block;
}

.fcwc-news-card img{
  width:100%;
  height:125px;
  object-fit:cover;
  display:block;
  background:#dbe4ef;
}

.fcwc-news-body{
  padding:10px;
}

.fcwc-news-body h3{
  margin:8px 0 6px;
  color:var(--fcwc-text);
  font-size:15px;
  line-height:1.25;
  font-weight:900;
}

.fcwc-news-body time{
  color:var(--fcwc-muted);
  font-size:12px;
  font-weight:700;
}

.fcwc-news-layout{
  display:grid;
  grid-template-columns:1.25fr .9fr;
  gap:16px;
}

.fcwc-news-featured,
.fcwc-news-mini{
  text-decoration:none !important;
  color:#0f172a !important;
}

.fcwc-news-featured{
  display:block;
  overflow:hidden;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 3px 12px rgba(15,23,42,.05);
}

.fcwc-news-featured img{
  width:100%;
  height:310px;
  object-fit:cover;
  display:block;
}

.fcwc-news-featured-body{
  padding:16px;
}

.fcwc-news-featured-body span{
  display:inline-flex;
  margin-bottom:10px;
  border-radius:999px;
  padding:5px 9px;
  background:#0646c9;
  color:#fff;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}

.fcwc-news-featured-body h3{
  margin:0 0 8px;
  color:#061a38;
  font-size:25px;
  line-height:1.12;
  font-weight:850;
}

.fcwc-news-featured-body p{
  margin:0 0 10px;
  color:#64748b;
  font-size:14px;
  line-height:1.45;
}

.fcwc-news-featured-body time,
.fcwc-news-mini time{
  color:#64748b;
  font-size:12px;
  font-weight:700;
}

.fcwc-news-side-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.fcwc-news-mini{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:12px;
  align-items:center;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 3px 12px rgba(15,23,42,.05);
  padding:8px;
}

.fcwc-news-mini img{
  width:120px;
  height:86px;
  object-fit:cover;
  border-radius:10px;
}

.fcwc-news-mini h3{
  margin:0 0 6px;
  color:#061a38;
  font-size:15px;
  line-height:1.25;
  font-weight:800;
}

.fcwc-news-more{
  display:inline-flex;
  margin-top:14px;
  border-radius:999px;
  padding:10px 14px;
  background:#0646c9;
  color:#fff !important;
  text-decoration:none !important;
  font-size:13px;
  font-weight:900;
}

@media(max-width:768px){
  .fcwc-news-layout{
    grid-template-columns:1fr;
  }

  .fcwc-news-featured img{
    height:220px;
  }

  .fcwc-news-featured-body h3{
    font-size:21px;
  }

  .fcwc-news-mini{
    grid-template-columns:96px 1fr;
  }

  .fcwc-news-mini img{
    width:96px;
    height:72px;
  }

  .fcwc-news-mini h3{
    font-size:14px;
  }
}

/* ======================================================
   SIDEBAR DERECHA
====================================================== */
.fcwc-side{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.fcwc-side-card{
  padding:12px;
}

.fcwc-side-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.fcwc-side-title h2{
  margin:0;
  font-size:17px;
  text-transform:uppercase;
  font-weight:900;
}

/* ======================================================
   MATCH CARDS
====================================================== */
.fcwc-match-card{
  display:grid;
  grid-template-columns:1fr 80px 1fr;
  gap:10px;
  align-items:center;
  padding:13px 10px;
  margin-bottom:10px;
  text-decoration:none;
  color:var(--fcwc-text);
  box-shadow:none;
}

.fcwc-team{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  min-width:0;
}

.fcwc-team img{
  width:34px;
  height:34px;
  object-fit:contain;
}

.fcwc-team strong{
  font-size:11px;
  line-height:1.1;
  text-align:center;
  text-transform:uppercase;
}

.fcwc-score{
  text-align:center;
  min-width:0;
}

.fcwc-score strong{
  display:block;
  font-size:22px;
  line-height:1;
  font-weight:900;
}

.fcwc-score span{
  display:block;
  margin-top:5px;
  font-size:11px;
  color:var(--fcwc-muted);
  font-weight:800;
}

.fcwc-score small{
  display:block;
  margin-top:3px;
  font-size:10px;
  color:#0646c9;
  font-weight:800;
}

/* ======================================================
   CALENDARIO / FILTROS
====================================================== */
.fcwc-filter-row,
.fcwc-group-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.fcwc-filter-row button,
.fcwc-group-tabs button{
  padding:9px 12px;
  background:#eef2f7;
  font-size:13px;
}

.fcwc-filter-row button.is-active,
.fcwc-group-tabs button.is-active{
  background:#046bd2;
  color:#fff;
}

.fcwc-date-block{
  margin-bottom:16px;
}

.fcwc-date-title{
  margin:0 0 8px;
  font-size:15px;
  font-weight:900;
  color:#061a38;
  text-transform:uppercase;
}

/* ======================================================
   TABLAS / POSICIONES
====================================================== */
.fcwc-table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  background:#fff;
  border-radius:14px;
  border:1px solid var(--fcwc-border);
}

.fcwc-table th,
.fcwc-table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(15,23,42,.07);
  font-size:14px;
  text-align:center;
}

.fcwc-table th:first-child,
.fcwc-table td:first-child{
  text-align:left;
}

.fcwc-table th{
  color:#475569;
  font-size:12px;
  text-transform:uppercase;
}

.fcwc-table tr:last-child td{
  border-bottom:0;
}

.fcwc-pos-team{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
}

.fcwc-pos-team img{
  width:22px;
  height:22px;
  object-fit:contain;
}

/* ======================================================
   ESTADIOS / ELIMINATORIAS / ADS
====================================================== */
.fcwc-stadium-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.fcwc-stadium-card{
  padding:14px;
}

.fcwc-stadium-card h3{
  margin:0 0 5px;
  font-size:17px;
  color:#061a38;
}

.fcwc-stadium-card p{
  margin:0;
  color:var(--fcwc-muted);
  font-size:13px;
}


.fcwc-adbox{
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--fcwc-muted);
  font-weight:800;
  background:linear-gradient(135deg,#fff,#edf2f7);
}

.fcwc-mt{
  margin-top:18px;
}

/* ==========================================
   BOTÓN FLOTANTE MUNDIAL 2026
========================================== */

.fcwc-floating-worldcup{
  position:fixed;
  right:18px;
  bottom:90px;
  width:72px;
  height:72px;
  border-radius:50%;
  overflow:hidden;
  z-index:99999;
  background:#fff;
  border:3px solid #fff;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  transition:all .2s ease;
}

.fcwc-floating-worldcup:hover{
  transform:scale(1.08);
}

.fcwc-floating-worldcup img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

@keyframes fcwcPulse{
  0%{
    transform:scale(1);
  }
  5%{
    transform:scale(1.08);
  }
  10%{
    transform:scale(1);
  }
  100%{
    transform:scale(1);
  }
}

.fcwc-floating-worldcup{
  animation:fcwcPulse 8s infinite;
}

/* MÓVIL */

@media(max-width:768px){

  .fcwc-floating-worldcup{
    width:64px;
    height:64px;
    right:14px;
    bottom:85px;
  }
  .fcwc-wrap{
    padding-left:0px !important;
    padding-right:0px !important;
  }

  .fcwc-main{
    width:100% !important;
  }

  .fcwc-panel{
    padding:0 !important;
  }

  .fcwc-section{
    padding:12px !important;
  }

  .fcwc-calendar-card{
    margin-left:0 !important;
    margin-right:0 !important;
  }

}

/* ======================================================
   RESPONSIVE TABLET
====================================================== */
@media(max-width:1024px){
  .fcwc-layout{
    grid-template-columns:1fr;
  }

  .fcwc-news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .fcwc-stadium-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}



/* ======================================================
   RESPONSIVE Mﾃ天IL
====================================================== */
@media(max-width:640px){
  .fcwc-wrap{
    width:100%;
    margin:0;
  }
  
  .fcwc-wrap{
  width:100vw;
  max-width:100vw;
  overflow-x:hidden;
}

.fcwc-hero,
.fcwc-tabs,
.fcwc-layout,
.fcwc-main,
.fcwc-side,
.fcwc-side-card{
  width:100%;
  max-width:100%;
}

.fcwc-bracket-scroll{
  max-width:100%;
  overflow-x:auto;
}

  .fcwc-hero,
  .fcwc-hero-overlay{
    min-height:210px;
    border-radius:0;
  }

  .fcwc-hero-overlay{
    padding:18px 18px 16px;
    justify-content:center;
  }

  .fcwc-kicker{
    font-size:10px;
    margin-bottom:5px;
  }

  .fcwc-hero h1{
    font-size:38px;
    line-height:1;
  }

  .fcwc-textdate{
    font-size:11px !important;
    max-width:300px;
    margin:8px 0 0 !important;
    line-height:1.3;
  }

  .fcwc-countdown{
    margin-top:12px;
    width:220px;
    max-width:220px;
  }

  .fcwc-countdown-title{
    font-size:10px;
    margin-bottom:5px !important;
  }

  .fcwc-countdown-row{
    display:grid;
    grid-template-columns:repeat(4,60px);
    gap:4px;
  }

  .fcwc-timebox{
    border-radius:8px;
    padding:5px 2px;
  }

  .fcwc-timebox strong{
    font-size:13px;
    line-height:1;
  }

  .fcwc-timebox span{
    font-size:6px;
    margin-top:1px;
  }

  .fcwc-tabs{
    margin:0;
    width:100%;
    border-radius:0;
    justify-content:flex-start;
    box-shadow:0 6px 18px rgba(15,23,42,.10);
  }

  .fcwc-tabs button{
    padding:10px 12px;
    font-size:13px;
  }

  .fcwc-layout{
  padding:8px 4px;
  gap:10px;
}

  .fcwc-main{
  padding:10px 6px;
  border-radius:12px;
}

  .fcwc-feature{
    min-height:220px;
    padding:18px;
  }

  .fcwc-feature h2{
    font-size:23px;
  }

  .fcwc-news-grid{
    display:flex;
    overflow-x:auto;
    gap:12px;
    padding-bottom:6px;
  }

  .fcwc-news-card{
    min-width:250px;
  }

  .fcwc-stadium-grid{
    grid-template-columns:1fr;
  }

  .fcwc-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .fcwc-match-card{
    grid-template-columns:1fr 76px 1fr;
  }
}

/* ======================================================
   RESPONSIVE Mﾃ天IL PEQUEﾃ前
====================================================== */
@media(max-width:420px){
  .fcwc-hero,
  .fcwc-hero-overlay{
    min-height:195px;
  }

  .fcwc-kicker{
    font-size:10px !important;
  }

  .fcwc-hero h1{
    font-size:33px;
  }

  .fcwc-textdate{
    font-size:11px !important;
    max-width:260px;
    margin-top:6px !important;
    line-height:1.3;
  }

  .fcwc-countdown{
    width:200px;
    max-width:200px;
  }

  .fcwc-countdown-row{
    grid-template-columns:repeat(4,50px);
    gap:4px;
  }

  .fcwc-timebox{
    border-radius:7px;
    padding:4px 2px;
  }

  .fcwc-timebox strong{
    font-size:14px !important;
  }

  .fcwc-timebox span{
    font-size:8px !important;
  }
}