.social-page {
  padding: 34px;
}

.social-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 34px;
}

.social-header h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #f5f7ff;
  background: linear-gradient(90deg, #ffffff, #ddd3ff, #d3ffe6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

/* HERO CARD */
.social-hero-card {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(34, 197, 94, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(168, 85, 247, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.social-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 28%);
  pointer-events: none;
}

.social-hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.26);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(168, 85, 247, 0.14);
}

.social-hero-left,
.social-hero-action {
  position: relative;
  z-index: 1;
}

.social-hero-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.social-hero-icon {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 85, 247, 0.18);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.social-hero-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.hero-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #ece7ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.social-hero-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #f5f7ff;
  margin-bottom: 12px;
}

.social-hero-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 820px;
}

.social-hero-action {
  flex-shrink: 0;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.78);
  background: rgba(255, 255, 255, 0.02);
  color: #ece7ff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow:
    0 0 14px rgba(168, 85, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}

.social-hero-card:hover .social-hero-action {
  border-color: rgba(192, 132, 252, 0.95);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 16px rgba(168, 85, 247, 0.14),
    0 10px 20px rgba(0, 0, 0, 0.14);
}

/* GRID */
.social-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* CARD */
.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(168, 85, 247, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.10), transparent 36%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.06), transparent 32%);
  pointer-events: none;
}

.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.28),
    rgba(255, 255, 255, 0.06),
    rgba(34, 197, 94, 0.18)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(168, 85, 247, 0.14);
}

.social-top,
.social-content,
.social-link {
  position: relative;
  z-index: 1;
}

.social-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.social-top img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.18);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.social-badge {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #ece7ff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.social-content h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #f5f7ff;
  margin-bottom: 12px;
}

.social-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 95%;
}

.social-link {
  margin-top: 28px;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.78);
  background: rgba(255, 255, 255, 0.02);
  color: #ece7ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow:
    0 0 14px rgba(168, 85, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}

.social-card:hover .social-link {
  border-color: rgba(192, 132, 252, 0.95);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 16px rgba(168, 85, 247, 0.14),
    0 10px 20px rgba(0, 0, 0, 0.14);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .social-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .social-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-hero-left {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .social-page {
    padding: 24px 20px;
  }

  .social-header {
    margin-bottom: 28px;
  }

  .social-header h2 {
    font-size: 1.8rem;
  }

  .social-hero-card {
    padding: 22px;
    border-radius: 24px;
  }

  .social-hero-icon {
    width: 86px;
    height: 86px;
    border-radius: 22px;
  }

  .social-hero-icon img {
    width: 48px;
    height: 48px;
  }

  .social-hero-text h3 {
    font-size: 1.65rem;
  }

  .social-hero-text p {
    font-size: 0.95rem;
  }

  .social-card {
    min-height: 280px;
    padding: 22px;
  }

  .social-top {
    margin-bottom: 22px;
  }

  .social-top img {
    width: 64px;
    height: 64px;
    padding: 10px;
  }

  .social-content h3 {
    font-size: 1.6rem;
  }

  .social-content p {
    font-size: 0.95rem;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .social-page {
    padding: 18px;
  }

  .social-header h2 {
    font-size: 1.45rem;
  }

  .social-header p {
    font-size: 0.92rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .social-hero-card {
    padding: 18px;
    border-radius: 20px;
    gap: 18px;
  }

  .social-hero-left {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .social-hero-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .social-hero-icon img {
    width: 40px;
    height: 40px;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 8px 12px;
  }

  .social-hero-text h3 {
    font-size: 1.3rem;
  }

  .social-hero-text p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .social-hero-action {
    padding: 11px 15px;
    font-size: 0.85rem;
  }

  .social-card {
    min-height: 250px;
    padding: 18px;
    border-radius: 20px;
  }

  .social-top {
    gap: 12px;
    margin-bottom: 18px;
  }

  .social-top img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .social-badge {
    font-size: 0.74rem;
    padding: 8px 12px;
  }

  .social-content h3 {
    font-size: 1.35rem;
  }

  .social-content p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .social-link {
    margin-top: 22px;
    padding: 11px 15px;
    font-size: 0.85rem;
  }
}

/* GLOW PAR RÉSEAU */

/* Discord */
.social-hero-card {
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(88, 101, 242, 0.10),
    0 0 30px rgba(88, 101, 242, 0.10);
}

.social-hero-card:hover {
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(88, 101, 242, 0.18);
}

.social-hero-icon {
  border: 1px solid rgba(88, 101, 242, 0.25);
  box-shadow:
    0 0 18px rgba(88, 101, 242, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* TikTok */
.social-card:nth-child(1) .social-top img {
  border-color: rgba(255, 0, 80, 0.24);
  box-shadow:
    0 0 16px rgba(255, 0, 80, 0.12),
    0 0 22px rgba(37, 244, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.social-card:nth-child(1):hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(255, 0, 80, 0.12),
    0 0 18px rgba(37, 244, 238, 0.08);
}

.social-card:nth-child(1) .social-badge {
  border-color: rgba(255, 0, 80, 0.35);
}

/* X / Twitter */
.social-card:nth-child(2) .social-top img {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.social-card:nth-child(2):hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(255, 255, 255, 0.08);
}

.social-card:nth-child(2) .social-badge {
  border-color: rgba(255, 255, 255, 0.20);
}

/* YouTube */
.social-card:nth-child(3) .social-top img {
  border-color: rgba(255, 0, 0, 0.24);
  box-shadow:
    0 0 16px rgba(255, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.social-card:nth-child(3):hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(255, 0, 0, 0.12);
}

.social-card:nth-child(3) .social-badge {
  border-color: rgba(255, 0, 0, 0.28);
}

.social-top img,
.social-hero-icon img {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.social-card:hover .social-top img,
.social-hero-card:hover .social-hero-icon img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.08));
}