body {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  background-color: black;
  color: white;
}

.main-content {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  z-index: 1;
}

.background-image {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/campo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 3.5rem;
  font-family: 'Bebas Neue', sans-serif;
  padding-top: 6rem;
  margin-bottom: 4rem;
  line-height: 1.1;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trophy-img {
  width: 40px;
  height: auto;
  max-height: 60px;
  padding-top: 95px;
}

.hero-title .gold {
  color: gold;
}

.title-desktop {
  display: inline;
}

.title-mobile {
  display: none;
}

.sponsor-tabelle {
  margin: 0.5rem auto;
  padding: 1rem;
  text-align: center;
  color: white;
}

.gold-title {
  color: gold;
  font-size: 2rem;

}

.gold-table {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 1rem;
  border-collapse: collapse;
  font-family: 'Open Sans', sans-serif;
    background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-collapse: collapse;
  border-radius: 8px;
}

.gold-table th,
.gold-table td {
  border: 1px solid gold;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.gold-table thead {
  background-color: rgba(255, 215, 0, 0.1);
}

.gold-table th {
  color: gold;
  text-transform: uppercase;
  font-weight: bold;
}

.gold-table tbody tr:nth-child(even) {
  background-color: rgba(255, 215, 0, 0.05);
}

.gold-table td[data-label="Giocatore"] {
  font-weight: bold;
}
.gold-table td[data-label="Importo donato"] {
  color: gold;
  font-weight: bold;
}

.sponsor-lead {
  max-width: 800px;
  margin: 0 auto 0.5rem auto;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: gold;
}

@media (max-width: 768px) {
  .gold-table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 0;
  }
   .title-desktop {
    display: none !important;
  }

  .title-mobile {
    display: inline !important;
  }

  .hero-title {
    font-size: 3.2rem !important;
    padding-top: 4.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-title-wrapper {
    display: block !important;
    text-align: center !important;
    margin-bottom: 0.2rem !important;
  }

  .trophy-img {
    display: block !important;
    margin: 0.1rem auto 0.4rem auto !important;
    padding-top: 0 !important;
    width: 40px !important;
    max-height: 50px !important;
  }
  .gold-table thead,
  .gold-table tbody,
  .gold-table tr,
  .gold-table th,
  .gold-table td {
    display: block;
  }

  .gold-table thead {
    display: none;
  }

  .gold-table td {
    border: none;
    border-bottom: 1px solid gold;
    padding: 0.6rem 0.8rem;
    position: relative;
  }

  .gold-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: gold;
    margin-bottom: 0.2rem;
  }

  .gold-table tr {
    margin-bottom: 1rem;
    border: 1px solid gold;
    padding: 0.5rem;
  }
    .sponsor-lead {
    font-size: 0.90rem;
  }
}

@media (min-width: 769px) {
  .hero-title {
    margin-bottom: 2.2rem !important;
  }

  .hero-title-wrapper {
    margin-bottom: 0 !important;
  }

  .sponsor-tabelle {
    margin-top: 0 !important;
  }
}