/* ================================================
   SOCIALS PAGE — TecksoTM.fr
   ================================================ */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Hero banner ---- */
.socials-hero {
  position: relative;
  min-height: 12vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #070b14 0%, #0e1a2e 45%, #15335a 100%);
  padding: 1.5rem 0 1.5rem;
}

.socials-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.socials-hero .hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .25;
  animation: drift 22s ease-in-out infinite alternate;
}

.socials-hero .hero-glow--1 {
  background: radial-gradient(circle, #9146ff 0%, transparent 70%);
  top: -20%;
  left: -10%;
}

.socials-hero .hero-glow--2 {
  background: radial-gradient(circle, #00c8ff 0%, transparent 70%);
  bottom: -15%;
  right: -8%;
  animation-delay: -11s;
}

.socials-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.socials-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 .8rem;
  animation: fadeUp .7s ease-out both;
}

.socials-hero-content h1 .accent {
  background: linear-gradient(135deg, #9146ff 0%, #00c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.socials-hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .7);
  margin: 0;
  animation: fadeUp .7s ease-out .15s both;
}

/* ---- Cards grid ---- */
.socials-section {
  padding: 4rem 0 5rem;
  background: var(--bg);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  animation: fadeUp .7s ease-out .2s both;
}

/* ---- Social card ---- */
.social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.8rem 2rem;
  border-radius: 18px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  color: #fff;
}

/* Icon circle */
.social-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s, box-shadow .3s;
}

.social-card:hover .social-card__icon {
  transform: scale(1.08);
}

.social-card__icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Text */
.social-card__info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
}

.social-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  transition: color .3s;
}

.social-card__desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4;
}

.social-card__arrow {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform .3s, color .3s;
  flex-shrink: 0;
}

.social-card:hover .social-card__arrow {
  transform: translateX(4px);
}

/* ---- Per-platform theming ---- */
/* Twitch */
.social-card--twitch {
  border-color: rgba(145, 70, 255, .3);
}

.social-card--twitch .social-card__icon {
  background: linear-gradient(135deg, #9146ff, #772ce8);
  box-shadow: 0 4px 16px rgba(145, 70, 255, .3);
}

.social-card--twitch:hover {
  border-color: #9146ff;
  box-shadow: 0 14px 40px rgba(145, 70, 255, .25);
}

.social-card--twitch:hover .social-card__name {
  color: #b983ff;
}

.social-card--twitch:hover .social-card__arrow {
  color: #b983ff;
}

.social-card--twitch:hover .social-card__icon {
  box-shadow: 0 6px 24px rgba(145, 70, 255, .45);
}

/* YouTube */
.social-card--youtube {
  border-color: rgba(255, 0, 0, .2);
}

.social-card--youtube .social-card__icon {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 4px 16px rgba(255, 0, 0, .25);
}

.social-card--youtube:hover {
  border-color: #ff4444;
  box-shadow: 0 14px 40px rgba(255, 0, 0, .2);
}

.social-card--youtube:hover .social-card__name {
  color: #ff6666;
}

.social-card--youtube:hover .social-card__arrow {
  color: #ff6666;
}

.social-card--youtube:hover .social-card__icon {
  box-shadow: 0 6px 24px rgba(255, 0, 0, .4);
}

/* Discord */
.social-card--discord {
  border-color: rgba(88, 101, 242, .3);
}

.social-card--discord .social-card__icon {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  box-shadow: 0 4px 16px rgba(88, 101, 242, .3);
}

.social-card--discord:hover {
  border-color: #5865f2;
  box-shadow: 0 14px 40px rgba(88, 101, 242, .2);
}

.social-card--discord:hover .social-card__name {
  color: #8b98ff;
}

.social-card--discord:hover .social-card__arrow {
  color: #8b98ff;
}

.social-card--discord:hover .social-card__icon {
  box-shadow: 0 6px 24px rgba(88, 101, 242, .45);
}

/* Instagram */
.social-card--instagram {
  border-color: rgba(225, 48, 108, .25);
}

.social-card--instagram .social-card__icon {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 16px rgba(225, 48, 108, .25);
}

.social-card--instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 14px 40px rgba(225, 48, 108, .2);
}

.social-card--instagram:hover .social-card__name {
  color: #f06292;
}

.social-card--instagram:hover .social-card__arrow {
  color: #f06292;
}

.social-card--instagram:hover .social-card__icon {
  box-shadow: 0 6px 24px rgba(225, 48, 108, .4);
}

/* X / Twitter */
.social-card--x {
  border-color: rgba(255, 255, 255, .15);
}

.social-card--x .social-card__icon {
  background: linear-gradient(135deg, #1a1a2e, #000);
  box-shadow: 0 4px 16px rgba(255, 255, 255, .08);
}

.social-card--x:hover {
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 14px 40px rgba(255, 255, 255, .06);
}

.social-card--x:hover .social-card__name {
  color: #fff;
}

.social-card--x:hover .social-card__arrow {
  color: #fff;
}

.social-card--x:hover .social-card__icon {
  box-shadow: 0 6px 24px rgba(255, 255, 255, .15);
}

/* TikTok */
.social-card--tiktok {
  border-color: rgba(0, 242, 234, .2);
}

.social-card--tiktok .social-card__icon {
  background: linear-gradient(135deg, #00f2ea, #ff0050);
  box-shadow: 0 4px 16px rgba(0, 242, 234, .2);
}

.social-card--tiktok:hover {
  border-color: #00f2ea;
  box-shadow: 0 14px 40px rgba(0, 242, 234, .15);
}

.social-card--tiktok:hover .social-card__name {
  color: #69fff8;
}

.social-card--tiktok:hover .social-card__arrow {
  color: #69fff8;
}

.social-card--tiktok:hover .social-card__icon {
  box-shadow: 0 6px 24px rgba(0, 242, 234, .4);
}

/* ---- Featured card (Twitch — larger) ---- */
.social-card--featured {
  grid-column: 1 / -1;
  padding: 2.4rem 2.5rem;
  background: linear-gradient(135deg, rgba(145, 70, 255, .08), rgba(145, 70, 255, .02));
}

.social-card--featured .social-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.social-card--featured .social-card__icon svg {
  width: 34px;
  height: 34px;
}

.social-card--featured .social-card__name {
  font-size: 1.4rem;
}

.social-card--featured .social-card__desc {
  font-size: .95rem;
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(25px, -20px) scale(1.08);
  }

  100% {
    transform: translate(-15px, 15px) scale(.94);
  }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .socials-hero {
    min-height: 35vh;
    padding: 5rem 0 2.5rem;
  }

  .socials-grid {
    grid-template-columns: 1fr;
  }

  .social-card--featured {
    padding: 1.8rem 1.5rem;
  }

  .social-card--featured .social-card__icon {
    width: 56px;
    height: 56px;
  }

  .social-card--featured .social-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .social-card--featured .social-card__name {
    font-size: 1.2rem;
  }
}