body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #f9d6e4, #d6f0ff);
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Banner */
.banner {
  background-color: #0a2a66;
  text-align: center;
  padding: 15px 0;
  position: relative;
}
.banner img { max-height: 250px; max-width: 100%; }
.banner-line { height: 5px; background-color: #f5d2db; margin: 10px auto; width: 95%; border-radius: 3px; }

/* Container echipe */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 30px;
  justify-content: center;
  justify-items: center;
}

/* Carduri echipe */
.team {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 20px;
  transition: transform 0.3s ease;
  width: 300px;
}
.team:hover { transform: translateY(-5px); }
.team img { width: 100%; border-radius: 15px; margin-bottom: 10px; cursor: pointer; }
.team h2 { margin: 10px 0 10px; color: #0a2a66; }
.section-title { margin: 10px 0 5px; font-weight: bold; color: #444; }
.team p.concurenti { font-size: 16px; color: #0a2a66; margin: 5px 0; font-weight: bold; }
.team p.antrenori { margin: 5px 0; line-height: 1.5; }
.team p.tema { color: #0a2a66; font-weight: bold; margin: 5px 0; }

footer { background: #0a2a66; color: white; padding: 15px; margin-top: 30px; }

/* Lightbox modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  cursor: grab;
  transition: transform 0.2s;
}
.close {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff; font-size: 40px; font-weight: bold;
  cursor: pointer;
}
.close:hover { color: #bbb; }

/* Mobile Optimization */
@media (max-width: 600px) {
  .container { grid-template-columns: 1fr; padding: 15px; gap: 15px; }
  .team { width: 100%; padding: 15px; }
  .team h2 { font-size: 22px; }
  .section-title, .team p.concurenti { font-size: 16px; }
  .banner img { max-height: 180px; }
  .banner-line { height: 4px; }
}

.afterparty-link {
  display: inline-block;
  background-color: #0a2a66;
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 20px;
  transition: 0.3s;
}

.afterparty-link:hover {
  background-color: #143fa0;
  transform: scale(1.05);
}
