.community {
  padding: 4rem 0;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.community::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.card {
  background: linear-gradient(135deg, #1f2937, #111827);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

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

.card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(59, 130, 246, 0.4);
  text-decoration: none;
  color: white;
  border-color: rgba(59, 130, 246, 0.5);
}

.card-gray {
  background: linear-gradient(135deg, #1f2937, #111827);
  box-shadow: 0 0 30px rgba(31, 41, 55, 0.5);
}

.card-gray:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(75, 85, 99, 0.4);
}

.card-indigo {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
}

.card-indigo:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(79, 70, 229, 0.6);
}

.card-sky {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}

.card-sky:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(14, 165, 233, 0.6);
}

.icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.iconSvg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  transition: all 0.3s ease;
}

.card:hover .iconSvg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.cardTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.cardDesc {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footerText {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footerLink {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.footerLink:hover {
  color: #93c5fd;
  text-decoration: none;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
