.form-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Stile del titolo uguale a quello della pagina chisiamo */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffa519;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Linea sotto il titolo */
.section-title::after {
  content: '';
  display: block;
  height: 4px;
  width: 40%;
  background: var(--color-accent);
  margin: 0.5rem;
  border-radius: 2px;
}

/* Box per il testo introduttivo */
.intro-box {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 2rem;
  color: #e6e6fa;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.intro-box em {
  color: #ffa519;
  font-style: italic;
}

.intro-box strong {
  color: #ffa519;
  font-weight: bold;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #999;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffa519;
  box-shadow: 0 0 0 2px #25004d;
}

.btn-submit {
  background: #ffa519;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background: #e89200;
}

.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.cards-section {
  margin-top: 1 rem;
  background: #25004d;
  padding: 3rem 0;
}

/* Stile delle card */
.collab-horizontal-scroll {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.collab-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(37, 0, 77, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  flex: 1;
  min-width: 250px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transform: translateY(0);
}

.collab-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      transparent 0%,
      rgba(255, 165, 25, 0.1) 25%,
      rgba(37, 0, 77, 0.05) 50%,
      rgba(255, 165, 25, 0.1) 75%,
      transparent 100%);
  transition: left 0.6s ease;
  z-index: 1;
}

.collab-card:hover::before {
  left: 100%;
}

.collab-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 0, 77, 0.4),
    0 8px 16px rgba(255, 165, 25, 0.3);
  border-color: #ffa519;
}

.collab-card>* {
  position: relative;
  z-index: 2;
}

.collab-card svg {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(255, 165, 25, 0.3));
}

.collab-card:hover svg {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 8px 16px rgba(255, 165, 25, 0.4));
}

.collab-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffa519;
  margin: 1rem 0 1rem 0;
  transition: all 0.3s ease;
}

.collab-card:hover .collab-name {
  color: #ffd700;
  transform: translateY(-3px);
}

.collab-desc {
  color: #e6e6fa;
  line-height: 1.6;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.collab-card:hover .collab-desc {
  color: #f8f8ff;
  transform: translateY(-2px);
}

.collab-desc strong {
  color: #ffa519;
  font-weight: 600;
}

.collab-card:hover .collab-desc strong {
  color: #ffd700;
}

/* Animazione pulsante */
.collab-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffa519, #25004d);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.collab-card:hover::after {
  width: 80%;
}

/* Responsive */
@media (max-width: 1024px) {
  .collab-horizontal-scroll {
    gap: 1.5rem;
  }

  .collab-card {
    width: calc(50% - 0.75rem);
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .collab-horizontal-scroll {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .collab-card {
    width: 100%;
    max-width: 350px;
    min-width: 280px;
  }

  .collab-title {
    font-size: 2rem;
    text-align: center;
  }

  .intro-box {
    padding: 1.5rem;
  }
}