/*discord guild page*/
.card{
  border-radius: 8px;
  margin-bottom: 12px
}

body.dark-mode .discord-card {
  background: rgba(58, 58, 58, 0.54);
}

.discord-card {
  border-radius: 12px;
  padding: 20px;
  margin: 0 auto 20px auto; /* Center and add spacing */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
}

/* Group icon */
.discord-card .group-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Group name */
.discord-card .group-name {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Badges (Members & Online) */
.discord-card .badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}

.discord-card .badge-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.discord-card .badge-members {
  background: #5c5c5c;
  color:whitesmoke;
}

.discord-card .badge-online {
  background: #8c6fbf;
  color:whitesmoke;
}

/* Description */
.discord-card .group-description {
  margin: 15px 0;
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
}

/* Join Button */
.discord-card .join-discord-btn {
  background: #7289DA;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.discord-card .join-discord-btn:hover {
  background: #4f68c1;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin: 4px;
  transition: transform .2s, box-shadow .2s;
}

.social-btn.discord   { background: #7289DA; }
.social-btn.telegram  { background: #0088CC; }
.social-btn.x-twitter { background: #000000; }
.social-btn.website   { background: #4e5d78; }

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}
/* Responsive tweaks */
@media (max-width: 600px) {
  .discord-card {
    padding: 15px;
    border-radius: 8px;
    max-width: 500px;

  }
  .discord-card .group-name {
    font-size: 22px;
  }

  .discord-card .badge-pill {
    font-size: 12px;
    padding: 5px 10px;
  }

  .discord-card .group-description {
    font-size: 14px;
  }
}
