@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Pulsante back */
.btn-back-home {
  position: fixed;
  top: 25px;
  left: 25px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;

  color: white;
  font-size: 1.2rem;
  font-weight: 500;

  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(5px);

  transition: all 0.3s ease;
  z-index: 1000;
}


.btn-back-home:hover {
  background: #219150;
  border-color: #219150;
  color: #10221b;
}

.btn-back-home:hover::before {
  transform: translateX(-4px);
}
/* SEZIONE COMMUNITY UNIFICATA */
.community-full {
  background: #10221b; /* verde scuro uniforme */
  color: rgba(255,255,255,0.9);
  min-height: 100vh;
  padding: 60px 15%;
}

/* Titolo e descrizione */
.community-header {
  text-align: center;
  margin-bottom: 50px;
}

.community-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #219150;
  margin-bottom: 15px;
}

.community-header p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

/* Griglia box social */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.community-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.community-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #219150;
}

.community-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
}

.community-box a {
  display: inline-block;
  padding: 10px 20px;
  background: #219150;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.community-box a:hover {
  background: #1b7f3d;
}

.community-box:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .community-full {
    padding: 40px 20px;
  }
  .community-header h2 {
    font-size: 2rem;
  }
  .community-header p {
    font-size: 1rem;
  }
  .community-box h3 {
    font-size: 1.3rem;
  }
  .community-box p {
    font-size: 0.95rem;
  }
}
