body {
  font-family: system-ui, sans-serif;
  background: #f5f7fb;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  font-size: 22px;
  text-decoration: none;
  color: #111;
}

.main-nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin: 15px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform .15s;
}

.card:hover {
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin: 10px 0 5px;
}




/* NEW HEADER STYLES */
/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 90px;
}

/* ---------- DESKTOP NAV ---------- */

.nav-desktop {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-desktop a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg,#2AABEE,#6A5CFF);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
}

/* ---------- SOCIAL ---------- */

.social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0f172a;
  font-weight: bold;
}

/* ---------- HAMBURGER ---------- */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0f172a;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- MOBILE MENU ---------- */

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 20px;
}

.nav-mobile a {
  padding: 10px 0;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.mobile-social {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

  .nav-desktop,
  .social {
    display: none;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-mobile.active {
    display: flex;
  }

}


/* ================= CARD DIRECTORY ================= */

.card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Hover effetto premium */

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

/* ---------- IMMAGINE ---------- */

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

/* ---------- CONTENUTO ---------- */

.card h3 {
  font-size: 18px;
  margin: 16px 16px 6px;
  color: #0f172a;
}

.card p {
  font-size: 14px;
  margin: 0 16px 18px;
  color: #64748b;
  line-height: 1.5;
}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

  .card img {
    height: 150px;
  }

}



/* NEW NEW */

/* ================= LISTING PAGE ================= */

.container {
  max-width: 780px;
  margin: auto;
  padding: 40px 20px;
}

/* Titolo */

.container h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 22px;
  color: #0f172a;
}

/* Cover */

.container img {
  /* width: 100%; */
  width: 300px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  margin-bottom: 28px;
}

/* Testo */

.container p {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

/* CTA Telegram */

.container p a {
  display: inline-block;
  background: linear-gradient(135deg,#2AABEE,#6A5CFF);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(42,171,238,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Hover CTA */

.container p a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(42,171,238,0.45);
}

/* MOBILE */

@media (max-width: 600px) {

  .container {
    padding: 26px 16px;
  }

  .container h1 {
    font-size: 26px;
  }

  .container p {
    font-size: 16px;
  }

}



article.card img{
  min-height: 350px;
  width: auto;
  margin: 0 auto;
}



/* SUBMIT */
/* ================= SUBMIT FORM ================= */

.submit {
  max-width: 720px;
}

/* Fieldset */

.submit-form fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  background: #ffffff;
}

.submit-form legend {
  font-weight: 800;
  color: #0f172a;
  padding: 0 8px;
}

/* Label */

.submit-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  color: #0f172a;
}

/* Inputs */

.submit-form input,
.submit-form textarea,
.submit-form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
  transition: border .15s, box-shadow .15s;
}

/* Focus */

.submit-form input:focus,
.submit-form textarea:focus,
.submit-form select:focus {
  outline: none;
  border-color: #6A5CFF;
  box-shadow: 0 0 0 3px rgba(106,92,255,0.15);
}

/* Note */

.private .note {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

/* Button */

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg,#2AABEE,#6A5CFF);
  color: #ffffff;
  border: none;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(42,171,238,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(42,171,238,0.45);
}



/* NEW CODE FORM */

.success-box {
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  color: #14532d;
}

/* ================= TERMS PAGE ================= */

.terms {
  max-width: 820px;
}

.terms .lead {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
}

.terms section {
  margin-bottom: 32px;
}

.terms h2 {
  margin-bottom: 10px;
  color: #0f172a;
}

.terms p {
  line-height: 1.7;
  color: #475569;
}

.terms-list {
  padding-left: 20px;
  line-height: 1.8;
  color: #475569;
}

/* ================= ABUSE PAGE ================= */

.abuse {
  max-width: 820px;
}

.abuse .lead {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
}

.abuse section {
  margin-bottom: 34px;
}

.abuse h2 {
  margin-bottom: 12px;
  color: #0f172a;
}

.abuse p {
  line-height: 1.7;
  color: #475569;
}

/* Lista */

.abuse-list {
  padding-left: 20px;
  line-height: 1.8;
  color: #475569;
}

/* Form box */

.abuse-form-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.08);
}


/*
SITE-FOOTER OLD
*/
/*
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
}
*/
.footer {
  background: #0F172A;
  color: #cbd5e1;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 40px;
}

.footer-logo {
  height: 38px;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .15s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, #2AABEE, #6A5CFF);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #94a3b8;
}
