:root {
  --bg-main: #050816;
  --bg-card: #0b1020;
  --accent: #00e4ff;
  --accent-soft: rgba(0, 228, 255, 0.2);
  --accent-glow: 0 0 25px rgba(0, 228, 255, 0.5);
  --text-main: #e6f1ff;
  --text-muted: #9fb3c8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0b1c3d, var(--bg-main));
  color: var(--text-main);
  min-height: 100vh;
}

/* HEADER */
.header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.logo {
  width: 160px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(0, 228, 255, 0.6))
          drop-shadow(0 0 35px rgba(0, 140, 255, 0.5));
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.header p {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* CARDS */
.community-card {
  background: linear-gradient(160deg, var(--bg-card), #050a1d);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--accent-soft);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--accent-glow);
}

.community-card h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.community-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #5865F2, #00e4ff);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn:hover {
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
