body {
  margin: 0;
  padding: 2rem;
  font-family: 'Exo', 'Inter', sans-serif;
  background-color: #111;
  color: #fff;
  line-height: 1.6;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 2rem;
}
p, li {
  font-size: 1rem;
}
.top-bar {
  width: 100vw;
  position: absolute;
  left: 0;
  top: 0;
  height: 8px;
  background: #fff;
  z-index: 10;
}
.name-box {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  color: #111;
  box-sizing: border-box;
  word-break: break-word;
}
.name-box img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  background: #fff;
  display: block;
}
.logos {
  margin-top: 2rem;
  background: #fff;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #111;
}
.logos-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
  color: #111;
  text-align: center;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap; /* Cambia da wrap a nowrap per desktop */
  width: 100%;
}
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 90px;
  justify-content: center;
}
.logo-item img {
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 0.2rem;
  box-sizing: border-box;
  max-width: 300px;
  width: 90%;
  height: 80px;
  object-fit: contain;
  display: block;
}
.logo-label {
  color: #111;
  font-size: 0.95rem;
  margin-top: 0.3rem;
  font-weight: 500;
  word-break: break-word;
}
.logo-label-small {
  font-size: 0.92rem;
}
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}
a {
  color: #8be9fd;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #fff;
  text-decoration: underline; 
}
blockquote {
  border-left: 4px solid #fff;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #ccc;
  font-style: italic;
  font-size: 1.05rem;
}
.section {
  background: #232323; /* Grigio più chiaro rispetto a #181818 */
  border-radius: 12px;
  margin: 2.5rem 0;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 2px 16px 0 rgba(133, 133, 133, 0.795);
}
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0003;
  border: 2px solid #fff;
  background: #fff;
  color: #111;
}
.section h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}
#bg3d {
  pointer-events: none;
}
.popup-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(30,30,30,0.97);
  color: #fff;
  font-size: 1.15rem;
  border-radius: 12px;
  box-shadow: 0 4px 32px #000a;
  padding: 1.2rem 2rem;
  margin: 2.5rem auto 0 auto;
  max-width: 420px;
  position: relative;
  z-index: 10;
  animation: popup-fadein 0.7s;
}
.popup-animation button {
  background: #8faaff;
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.popup-animation button:hover {
  background: #fff;
  color: #222;
}
.bottom-bar-animation {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30,30,30,0.97);
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 32px #000a;
  animation: popup-fadein 0.7s;
  max-width: 100vw;
  box-sizing: border-box;
}
.bottom-bar-animation button {
  background: #8faaff;
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.bottom-bar-animation button:hover {
  background: #fff;
  color: #222;
}
@keyframes popup-fadein {
  from { opacity: 0; transform: translateY(40px);}
  to   { opacity: 1; transform: translateY(0);}
}
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .name-box {
    font-size: 1.2rem;
    padding: 0.8rem 0.5rem;
    margin-top: 1rem;
  }
  .name-box img {
    max-width: 220px;
  }
  .logos {
    padding: 1rem 0.5rem;
  }
  .logos-title {
    font-size: 1rem;
  }
  .logos-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap; /* Su mobile torna wrap */
  }
  .logo-item {
    width: 100%;
    min-width: 0;
  }
  .logo-item img {
    width: 100%;
    max-width: 98vw;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .section {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    background: #232323;
  }
  .section-header {
    gap: 0.7rem;
  }
  .section-icon {
    font-size: 1.3rem;
    width: 2.2rem;
    height: 2.2rem;
  }
  .section h2 {
    font-size: 1.05rem;
  }
}