    :root {
      --primary: #1f4fa3;
      --secondary: #e8f0fb;
      --accent-green: #2fa84f;
      --accent-red: #e63946;
      --text-dark: #222222;
      --neutral-light: #f5f7fa;
      --confed-concacaf: #2e8b57;
      --confed-conmebol: #cd5c5c;
      --confed-uefa: #4682b4;
      --confed-caf: #8b4513;
      --confed-afc: #4169e1;
      --confed-ofc: #20b2aa;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--text-dark);
      background-color: var(--neutral-light);
      line-height: 1.6;
    }


    header {
      background-color: var(--primary);
      background: linear-gradient(
    135deg,
    #1f4fa3,
    #0d3a82
  );
      color: white;
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex: 1;
      min-width: 250px;
    }

    .main-logo {
      animation: float 4s ease-in-out infinite;
      height: 60px;
      width: auto;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
      
    }
    
    @keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

    .header-title {
      font-size: 1.8rem;
      font-weight: 800;
      margin: 0;
    }

    .header-subtitle {
      font-size: 1.1rem;
      opacity: 0.9;
      margin-top: 0.2rem;
    }

    .update-note {
      background: var(--accent-green);
      color: white;
      padding: 0.4rem 1.2rem;
      border-radius: 20px;
      font-size: 0.85rem;
      white-space: nowrap;
    }

    .header-right {
      text-align: right;
      flex: 1;
      max-width: 400px;
    }

    nav {
      background-color: white;
      padding: 0.8rem 2rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    nav ul {
      display: flex;
      justify-content: center;
      list-style: none;
      flex-wrap: wrap;
      gap: 1.5rem;
    }

    nav a {
      text-decoration: none;
      color: var(--primary);
      font-weight: 600;
      font-size: 1.1rem;
      padding: 0.5rem 0.8rem;
      border-radius: 4px;
      transition: background 0.3s;
    }

    nav a:hover, nav a.active {
      background-color: var(--secondary);
    }

    section {
      padding: 4rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      font-size: 2.2rem;
      margin-bottom: 1.5rem;
      color: var(--primary);
      position: relative;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: var(--accent-green);
      margin: 0.75rem auto;
      border-radius: 2px;
    }

    /* Countdown */
    #countdown {
      background: linear-gradient(135deg, var(--primary), #0d3a82);
      color: white;
      text-align: center;
      padding: 3rem 1rem;
      border-radius: 12px;
      margin: 2rem auto;
      max-width: 800px;
    }

    .countdown-values {
      display: flex;
      justify-content: center;
      gap: 1.2rem;
      flex-wrap: wrap;
      margin-top: 1.5rem;
    }

    .countdown-item {
      background: rgba(255,255,255,0.15);
      padding: 1rem;
      border-radius: 8px;
      min-width: 100px;
      backdrop-filter: blur(4px);
    }

    .countdown-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: white;
    }

    .countdown-label {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Confederations header */
    .confed-section {
      margin-bottom: 3rem;
    }

    .confed-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.8rem;
      border-bottom: 2px solid var(--secondary);
    }

    .confed-icon {
      font-size: 1.8rem;
    }

    .confed-title {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--primary);
    }

    .confed-count {
      background: var(--accent-green);
      color: white;
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
    }

    /* Qualified Teams */
    .teams-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .team-card {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .team-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

    .team-flag {
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      font-weight: bold;
    }

    .team-info {
      padding: 1.2rem;
    }

    .team-name {
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      flex-wrap: wrap;
    }

    .team-badge {
      display: inline-block;
      font-size: 0.65rem;
      padding: 0.25rem 0.7rem;
      border-radius: 16px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .badge-host { background-color: var(--primary); color: white; }
    .badge-qualified { background-color: var(--accent-green); color: white; }
    .badge-debut { background-color: #ff6b35; color: white; } /* Arancione per debutto */

    .team-detail {
      font-size: 0.9rem;
      margin: 0.3rem 0;
      color: #555;
      display: flex;
      align-items: flex-start;
    }

    .team-detail i {
      color: var(--primary);
      margin-right: 0.5rem;
      margin-top: 0.2rem;
    }

    /* ---------- VENUES ---------- */

.venues-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
/*
.tab-btn {
  padding: .6rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
}
*/

.tab-btn {
  font-size: 1.2rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: all .25s ease;
}



.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* CONTENUTO */
.venues-content {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  animation: fadeUp .4s ease;
}

.venues-content.active {
  display: grid;
}

/* CARD */
.venue-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  display: flex;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.venue-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,.14);
}

.venue-img {
  font-size: 2.4rem;
  line-height: 1;
}

.venue-name {
  font-size: 1.15rem;
  margin: 0;
  color: var(--primary);
}

.venue-city {
  font-size: .9rem;
  opacity: .75;
}

/*Venue tabs*/
.venues-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}
/*
.tab-btn {
  font-size: 1.05rem;
  padding: 3.0rem 5.0rem;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: all .25s ease;
}

*/

.tab-btn:hover {
  background: var(--primary);
  color: #fff;
}

.tab-btn.active {
  background: linear-gradient(135deg, #1f4fa3, #0d3a82);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}


/* ANIMAZIONE */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


    .site-footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}


    @media (max-width: 768px) {
      .header-left, .header-right {
        flex: 100%;
        text-align: center;
        justify-content: center;
      }
      .main-logo { height: 50px; }
      .header-title { font-size: 1.6rem; }
    }
    .confed-header.toggle {
  cursor: pointer;
  transition: background 0.3s;
}

.confed-header.toggle:hover {
  background: rgba(0,0,0,0.03);
}

.confed-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.confed-content.open {
  max-height: 3000px; /* abbastanza grande */
}

.arrow {
  margin-left: auto;
  transition: transform 0.4s;
}

.confed-content.open + .arrow,
.confed-header.open .arrow {
  transform: rotate(180deg);
}

/* ---------- HERO FULLSCREEN ---------- */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #1f4fa3, #0d3a82);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.15), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.hero-logo {
  width: clamp(160px, 20vw, 260px);
  margin-bottom: 25px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}


.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.hero-content {
  transform: translateY(-20px);
}


/* ---------- COUNTDOWN ---------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.countdown div {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 15px 18px;
  border-radius: 12px;
  min-width: 80px;
}

.countdown span {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.countdown small {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* ---------- CTA ---------- */
.hero-btn {
  display: inline-block;
  background: white;
  color: #1f4fa3;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/***
.confed-icon {
  font-size: 1.4rem;
  margin-right: 12px;
  display: flex;
  align-items: center;
}***/
.confed-icon {
  font-size: 2.6rem;
  transition: transform 0.3s ease;
}

.confed-header:hover .confed-icon {
  transform: scale(1.15) rotate(-4deg);
}


/* colori tematici */
.confed-icon.caf { color: #e67e22; }
.confed-icon.uefa { color: #1f4fa3; }
.confed-icon.conmebol { color: #27ae60; }
.confed-icon.concacaf { color: #3b9b95; }
.confed-icon.afc { color: #8e44ad; }
.confed-icon.ofc { color: #16a085; }

.confed-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.6s ease, padding 0.4s ease;
}

.confed-section.open .confed-content {
  max-height: 3000px;
  padding: 2rem 1.5rem;
}

/* COLORI */
/* ---------- CONFED CONTENT ---------- */
.confed-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.6s ease, padding 0.4s ease;
}

.confed-section.open .confed-content {
  max-height: 3000px;
  padding: 2rem 1.5rem;
}

/* ---------- COLORI SOLO QUANDO APERTO ---------- WORKING
.confed-section.concacaf.open .confed-content {
  background: linear-gradient(135deg, #2f7f7a, #3b9b95);
}
*/
/* ---------- CONFEDERATIONS GRADIENTS ---------- */
.confed-section.concacaf.open .confed-content {
  background: linear-gradient(135deg, #2f7f7a, #3b9b95, #7fe2dc);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 2rem 1.5rem;
}

.confed-section.conmebol.open .confed-content {
  background: linear-gradient(135deg, #27ae60, #a8e6cf, #d4f9e4);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 2rem 1.5rem;
}

.confed-section.uefa.open .confed-content {
  background: linear-gradient(135deg, #1f4fa3, #c6dbf2, #e7f0fb);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 2rem 1.5rem;
}

.confed-section.caf.open .confed-content {
  background: linear-gradient(135deg, #e67e22, #ffd9a8, #fff4e5);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 2rem 1.5rem;
}

.confed-section.afc.open .confed-content {
  background: linear-gradient(135deg, #8e44ad, #e0c9f2, #f3e9f9);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 2rem 1.5rem;
}

.confed-section.ofc.open .confed-content {
  background: linear-gradient(135deg, #16a085, #bfecef, #e6f9fb);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 2rem 1.5rem;
}

/* ---------- ANIMATION ---------- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.worldcup-winners {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.worldcup-winners th,
.worldcup-winners td {
  border: 1px solid #ccc;
  padding: 0.6rem 0.8rem;
  text-align: center;
}

.worldcup-winners th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.worldcup-winners tbody tr:nth-child(odd) {
  background: #f9f9f9;
}


/* HISTORY */
#history {
  padding: 3rem 0;
}

.history-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .history-grid {
    grid-template-columns: 1fr;
  }
}

.history-card {
  background: linear-gradient(180deg, #ffffff, #f6f6f6);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.history-gold {
  border-top: 5px solid #c9a227; /* oro soft */
}

.history-ranking {
  border-top: 5px solid var(--primary);
  text-align: center;
}

.history-card h3 {
  margin-bottom: .4rem;
  font-size: 1.35rem;
}

.history-subtitle {
  font-size: .9rem;
  opacity: .7;
  margin-bottom: 1.5rem;
}

.history-note {
  font-size: .8rem;
  opacity: .6;
  margin-top: 1rem;
}

.worldcup-winners {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.worldcup-winners thead {
  background: var(--primary);
  color: #fff;
}

.worldcup-winners th,
.worldcup-winners td {
  padding: .65rem .8rem;
  text-align: left;
}

.worldcup-winners tbody tr {
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .2s ease;
}

.worldcup-winners tbody tr:hover {
  background: rgba(0,0,0,.04);
}

.worldcup-winners tbody tr:nth-child(even) {
  background: rgba(0,0,0,.02);
}
.ranking-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.ranking-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 1rem;
  border-radius: 12px;
  margin-bottom: .5rem;
  background: rgba(0,0,0,.03);
  font-size: 1rem;
  transition: transform .2s ease;
}

.ranking-list li:hover {
  transform: translateX(6px);
}

.ranking-list span {
  font-size: 1.4rem;
}

.ranking-list strong {
  background: var(--primary);
  color: #fff;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .85rem;
}
      /* LEGAL PAGES */

.legal-hero {
  background: linear-gradient(135deg, #1f4fa3, #0d3a82);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.legal-hero h1 {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.legal-content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.legal-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.legal-card h2 {
  margin-top: 2rem;
  color: var(--primary);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-breadcrumb {
  font-size: .9rem;
  margin-bottom: 1.5rem;
  opacity: .7;
}

.legal-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}
/* MODAL MAPPA */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #fff;
  width: min(90%, 700px);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  animation: pop .3s ease;
}

@keyframes pop {
  from { transform: scale(.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}


.modal-box h3 {
  margin: 0;
}

.modal-box p {
  opacity: .7;
  margin-bottom: 1rem;
}

.modal-box iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
}
/* ===== MODAL STADI ===== */

.venue-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}


.venue-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.venue-modal.open .venue-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}


.venue-modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 5vh auto;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from { transform: scale(.95); opacity: 0 }
  to   { transform: scale(1); opacity: 1 }
}

.venue-modal-content h3 {
  margin: 0 0 .3rem;
}

.venue-modal-content p {
  margin: 0 0 1rem;
  opacity: .7;
}

.venue-modal iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 12px;
}

.venue-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}
.venue-modal {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.venue-modal.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
/* ---------- MODAL STADIO ---------- */

.venue-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.venue-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.venue-modal-content {
  background: #fff;
  border-radius: 14px;
  max-width: 800px;
  width: 90%;
  padding: 20px;

  transform: scale(0.92) translateY(10px);
  opacity: 0;
  transition: all 0.25s ease;
}


@keyframes popUp {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.venue-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* MINI STREET VIEW PREVIEW */
.venue-preview {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: .6rem;
  pointer-events: none; /* evita doppio click */
}

.venue-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.1); /* effetto wow */
}

#modal-map {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 12px;
  margin-top: 1rem;
}
.open-maps-btn {
  display: inline-block;
}
nav a.active {
  background-color: var(--secondary);
}
/* ---------- GROUPS ---------- */

.groups-actions {
  text-align: center;
  margin-bottom: 2rem;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.group-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  /* stato iniziale */
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s ease, transform .6s ease;
}

.group-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* quando attivo */
.group-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.group-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
}


.group-teams {
  display: grid;
  gap: .6rem;
}

.team-card {
  background: var(--secondary);
  border-radius: 12px;
  padding: .6rem .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
}

.team-card.host {
  background: var(--primary);
  color: #fff;
}

.team-flag {
  font-size: 1.3rem;
}

/* ---------- TESTE DI SERIE ---------- */
/*
.seeded {
  font-weight: 700;
  color: var(--primary);
  position: relative;
  padding-left: 0.4rem;
}

.seeded {
  list-style: none;       /* rimuove il bullet standard 
  position: relative;     /* necessario per posizionare ::before 
  padding-left: 0.4em; 
  margin-right: 6px;
  /* lascia spazio per la stella 
}
.seeded::before {
  content: '\2B50'; /* ? 
  color: #f1c40f; /* oro soft 
  margin-right: 6px;
  font-size: 0.95rem;
}
*/
/* Solo per l'elemento con classe seeded */
.seeded {
  list-style: none;
  display: flex;
  align-items: center;
}

.seeded::before {
  content: '\2B50'; 
  margin-right: 0.5em;
  color: #f1c40f;
  flex-shrink: 0;
}


.seed-badge {
  margin-left: 8px;
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .5px;
}
form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

form input {
  width: 100%;
  padding: .7rem;
  margin-top: .3rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 18px;
  margin-top: 20px;
}
.match-card {
  background: white;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .15s ease;
}

.match-card:hover {
  transform: translateY(-3px);
}
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.flag {
  font-size: 20px;
}
.score-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-box {
  width: 48px;
  padding: 6px;
  text-align: center;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccd6e0;
}
.kickoff {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7a90;
  text-align: center;
}
.badge-saved {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #b7dfc2;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  margin: 1rem auto 2rem;
  max-width: 420px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    max-width: 800px;
    gap: 20px;
}

.news-navigation a {
    flex: 1;
    text-decoration: none;
    font-weight: 600;
    color: #111;
}

@media (max-width: 768px) {

    .news-navigation {
        flex-direction: column;
    }

    .news-navigation a {
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    .news-title {
        font-size: 1.7rem;
    }

    .news-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.prediction-teaser {
  position: relative;
  background: linear-gradient(160deg, #002b7f 0%, #003f9e 40%, #0057b8 70%, #1e90ff 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.prediction-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 70%);
}

.prediction-content {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.prediction-badge {
  background: #ffffff;
  color: #0033a0;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 20px;
}

.prediction-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 30px 0;
}

.prediction-stats div strong {
  font-size: 32px;
  display: block;
}

.prediction-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #ffffff;
  color: #0033a0;
  font-weight: bold;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s;
}

.prediction-btn:hover {
  transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* Stile base della card */
.phase-description {
    background-color: #f0f8ff;
    border-left: 5px solid #0055a4;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);

    /* Preparazione all'animazione */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.phase-description.show {
    opacity: 1;
    transform: translateY(0);
}

.phase-description p {
    margin-bottom: 1em;
}

.phase-description strong {
    color: #0055a4;
    font-weight: bold;
}