:root {
  --main-color: #010648;
  --bg-color: #0f153d;
  --text-color: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, var(--main-color), var(--bg-color));
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1100px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 12px;
}

h2 {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 32px;
}

.reseaux {
  gap: 20px;
  display: grid;
}

.card {
  min-height: 140px;
  padding: 20px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.card img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

button {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  font-size: 1rem;
  font-weight: 600;
}

button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

#statut {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 255, 100, 0.15);
  border: 1px solid rgba(0, 255, 100, 0.3);
  font-size: 0.9rem;
}

.infos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1;
}

.infos .stats {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.twitch {
  background: rgba(145, 70, 255, 0.15);
}

.discord {
  background: rgba(88, 101, 242, 0.15);
}

.instagram {
  background: rgba(225, 48, 108, 0.15);
}

.tiktok {
  background: rgba(0, 0, 0, 0.25);
}

.snapchat {
  background: rgba(255, 252, 84, 0.12);
}

#dons {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

#img-snapchat {
  object-fit: cover;
  border-radius: 10px;
}

#img-discord {
  border-radius: 0;
}

.don-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .content {
    align-items: center;
  }

  .card img {
    width: 7rem;
    height: 7rem;
  }

  button {
    width: 100%;
  }
}
