body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0f23;
  color: #fff;
  margin: 0;
  padding: 0;
}

header {
  background: #12152e;
  padding: 40px 20px 30px;
  text-align: center;
  border-bottom: 2px solid #f39c12;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f39c12;
}

#search {
  padding: 12px 16px;
  width: 80%;
  max-width: 400px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.community-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.community {
  background: #1b1e38;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(255, 165, 0, 0.1);
}

.community-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 100px;
  margin-bottom: 15px;
  border: 2px solid #f39c12;
}

.community h2 {
  color: #f39c12;
  font-size: 18px;
  margin-bottom: 10px;
}

.community p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 16px;
}

.btn {
  background-color: #f39c12;
  color: #121212;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #d48806;
}

/* Responsif untuk Tablet */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.6rem;
  }

  #search {
    width: 90%;
    font-size: 14px;
  }

  .community-container {
    gap: 20px;
    padding: 30px 15px 50px;
  }

  .community-logo {
    width: 100px;
    height: 100px;
  }
}

/* Responsif untuk Mobile */
@media (max-width: 480px) {
  header {
    padding: 25px 10px 20px;
  }

  header h1 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  #search {
    width: 100%;
    font-size: 14px;
    padding: 10px 14px;
  }

  .community-container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 12px 40px;
  }

  .community {
    padding: 15px;
  }

  .community h2 {
    font-size: 16px;
  }

  .community p {
    font-size: 13px;
  }

  .btn {
    padding: 8px 14px;
    font-size: 14px;
  }
}

