
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* Layout base */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

/* Titoli */
h1,
h2 {
  text-align: center;
}

h1 {
  font-size: 1.8rem;
  color: #c03aac;
  margin: 1rem 0;
}

h2 {
  font-size: 1.4rem;
  color: #444;
  margin-top: 2rem;
}

/* Immagini */
img.responsive {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin: 1rem auto;
  border: 2px solid #ccc;
  border-radius: 6px;
}

/* Testo */
p {
  padding: 0 1rem;
  text-align: justify;
}

/* Pulsanti generici */
a.button {
  display: inline-block;
  margin: 0.4rem 0.3rem;
  padding: 0.55rem 0.9rem;
  background-color: #111827;
  color: #f9fafb;
  text-decoration: none;
  border-radius: 999px;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.98rem;
}

a.button:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Variante speciale */
a.button.style3 {
  background: linear-gradient(135deg, #0f766e, #0369a1);
}

/* Allineamenti */
.center {
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

/* Navigazione superiore */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px;
  max-width: 960px;
  margin: 0 auto;
}

.nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
  text-decoration: none;
  color: #111827;
  background: #f9fafb;
  touch-action: manipulation;
}

.nav a:hover {
  background: #f3f4f6;
}

/* Pulsante VisualMusiC evidenziato */
.nav a.visualmusic-link {
  background: linear-gradient(135deg, #c026d3, #7c3aed);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.02em;
}

.nav a.visualmusic-link:hover {
  filter: brightness(1.05);
}

/* Scorrimento morbido */
html {
  scroll-behavior: smooth;
}

/* ---------------------- */
/*      RESPONSIVE        */
/* ---------------------- */

@media (max-width: 700px) {
  body {
    font-size: 0.98rem;
  }

  .container {
    padding: 0.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  p {
    padding: 0 0.5rem;
  }

  .nav {
    gap: 4px;
    padding: 6px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}


.visualmusic-cta {
    background: linear-gradient(135deg, #c026d3, #7c3aed);
    color:#000000 !important;
    text-shadow:0 1px 2px rgba(255,255,255,0.4);
    padding: 0.55em 1.4em;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05em;
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.visualmusic-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.45);
    filter: brightness(1.05);
}
