/* begin header */
/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  text-decoration: none;
  color: #111;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.nav a:hover {
  color: #0057ff;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* fine header  */

.hero {
  padding: 80px 20px;
  text-align: center;
}
.hero-inner h1 { font-size: 42px; margin-bottom: 10px; }


/*
 style="background-image: url('assets/img/covers-bonus360.png'); background-position: center; background-size: cover; border-radius: 10px;"
*/
/* nuova sezione hero */
.hero {
  position: relative;
  width: 100%;
  height: 420px; /* Puoi aumentare se vuoi una cover più grande */
  background-image: url('/assets/img/covers-bonus360.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Titolo principale */
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0a0a0a;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 0 10px 0;

  /*
  #0d6efd
  rgb(13,110,253)
  */
  background-color: rgba(13,110,253, .6);
  border-radius: 20px;
  padding: 5px;
}

/* Testo sottotitolo */
.hero p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 820px;
  color: #333;
  color: #fff;
  text-shadow: 0 1px 4px rgba(255,255,255,0.6);
  margin: 0;
  background-color: rgba(13,110,253, .6);
  border-radius: 20px;
  padding: 5px;
}

/* Pulsante */
.hero .btn-primary {
  margin-top: 30px;
  background-color: #0d6efd;
  color: #fff;
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.25s ease;
}

.hero .btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}



.btn-primary {
  padding: 10px 25px;
  display: inline-block;
  border: none;
  background: #0057ff;
  color: #fff;
  border-radius: 6px;
  margin-top: 20px;
  text-decoration: none;
}
.cards { padding: 60px 20px; }
.cards h2 { text-align: center; margin-bottom: 40px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.card .btn {
  margin-top: 15px;
  display: inline-block;
  color: #0057ff;
  text-decoration: none;
}

.cards {
  margin-top: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card h3 {
  margin-top: 0;
}

.card .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: #0057ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}


/* area contenuti bonus start  */
/* ------------------------------
   AREA CONTENUTI BONUS
------------------------------ */

.main-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  color: #222;
}

.main-content h1 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #111;
}

.main-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #222;
  border-left: 5px solid #0057ff;
  padding-left: 10px;
}

.main-content p {
  margin-bottom: 15px;
}

.main-content ul, 
.main-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.main-content li {
  margin-bottom: 8px;
}

/* SEPARATORI ELEGANTI */
.main-content hr {
  border: 0;
  border-top: 1px solid #e6e6e6;
  margin: 40px 0;
}

/* TABELE BONUS */
.pro-contro, 
.tabella-bonus {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.tabella-bonus th {
  background: #0057ff;
  color: #fff;
  padding: 12px;
  font-size: 16px;
}

.pro-contro td, 
.tabella-bonus td {
  border: 1px solid #ddd;
  padding: 10px;
}

/* BOTTONI */
.btn-primary {
  padding: 12px 20px;
  background: #0057ff;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  margin-top: 20px;
}

/* MIGLIORAMENTO SPAZIATURA CONTENUTO */
.main-content section {
  margin-bottom: 40px;
}

/* area contenuti bonus end  */

/* tabelle e layout start */
.pro-contro, .tabella-bonus {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.pro-contro td, .tabella-bonus td, .tabella-bonus th {
  border: 1px solid #ddd;
  padding: 10px;
}

.tabella-bonus th {
  background: #f0f0f0;
}

.btn-primary {
  padding: 10px 22px;
  background: #0057ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

/* tabelle e layout end  */


/* modulo contatti */
.contact-page {
  max-width: 700px;
  margin: 40px auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  background: #0057ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.alert {
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert.success {
  background: #d4e9d4;
  border-left: 4px solid #2e8b2e;
}

.alert.error {
  background: #f8d7da;
  border-left: 4px solid #b50008;
}

/* fine modulo contatti  */

/* box promo start */
/* BOX PROMO */
.promo-box {
  background: #f0f6ff;
  border-left: 5px solid #0057ff;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 6px;
}

.code-invite {
  display: inline-block;
  padding: 8px 15px;
  background: #eef3ff;
  border: 1px solid #cdd7ff;
  font-size: 20px;
  font-weight: bold;
  color: #0047dd;
  border-radius: 6px;
  margin: 10px 0;
}

.promo-cta {
  margin-top: 25px;
  text-align: center;
}

.promo-cta .btn-primary {
  font-size: 18px;
  padding: 14px 25px;
}

/* box promo --end */

/* footer start */
/* FOOTER */
.site-footer {
  background: #f7f7f7;
  text-align: center;
  padding: 35px 0;
  margin-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.site-footer a {
  color: #0057ff;
  text-decoration: none;
}

.credits {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* footer  end */