:root {
  --bg: #070e18; /* fond uniforme */
  --text: #eef3ff;
  --muted: #b8c3d6;
  --stroke: rgba(255, 255, 255, 0.08);
  --accent: #7c3aed;
  --accent2: #a855f7;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg); /* ✅ plus de bandes */
  overflow-x: hidden;
}

/* ✅ fond glow “bulles” floues (peu nombreuses) */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;

  /* Base sombre */
  background:
    /* bulles / halos */ radial-gradient(
      420px 320px at 20% 18%,
      rgba(168, 85, 247, 0.18),
      transparent 62%
    ),
    radial-gradient(
      520px 380px at 78% 22%,
      rgba(59, 130, 246, 0.16),
      transparent 64%
    ),
    radial-gradient(
      560px 420px at 55% 62%,
      rgba(139, 92, 246, 0.12),
      transparent 66%
    ),
    radial-gradient(
      460px 360px at 18% 78%,
      rgba(34, 211, 238, 0.08),
      transparent 68%
    ),
    /* petite profondeur */
      radial-gradient(
        1000px 700px at 50% 10%,
        rgba(255, 255, 255, 0.03),
        transparent 60%
      );

  filter: blur(10px) saturate(120%);
  opacity: 1;
}

.wrap {
  width: min(720px, 92vw);
  margin: 0 auto;
  padding: 28px 0 38px;
}

.header {
  text-align: center;
  padding-top: 4px;
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03),
    0 20px 70px rgba(0, 0, 0, 0.55);
}

.name {
  margin: 16px 0 8px;
  font-size: 34px;
  letter-spacing: 0.2px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 24px;
}

.social {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  transition: transform 0.12s ease, background 0.12s ease;
}
.social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}
.social svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  opacity: 0.92;
}

.offers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.offerLink {
  display: block;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
}

/* bloc texte centré */
.offerText {
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.28));
  border-top: 1px solid rgba(255, 255, 255, 0.06);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.offerBrand {
  font-weight: 900;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.offerTitle {
  font-size: 16px;
  font-weight: 800;
}

.offerSub {
  color: rgba(184, 195, 214, 0.95);
  font-size: 13px;
  line-height: 1.35;
}

.btn {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.28);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(184, 195, 214, 0.85);
}

.socialIconImg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.55)); /* glow Discord */
}

/* ===== Top header nav ===== */
.zb-topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 12px 6px;
  background: linear-gradient(
    to bottom,
    rgba(8, 10, 16, 0.92),
    rgba(8, 10, 16, 0.55),
    rgba(8, 10, 16, 0)
  );
  backdrop-filter: blur(10px);
}

.zb-topnav__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.zb-topnav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.zb-topnav__link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.95);
}

.zb-topnav__link.is-active {
  background: rgba(140, 90, 255, 0.2);
  border-color: rgba(140, 90, 255, 0.35);
  color: rgba(255, 255, 255, 0.98);
}

/* ===== Offer badges (P1/P2) ===== */
.offer {
  position: relative; /* nécessaire pour placer le badge */
}

.offerBadge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  user-select: none;
  pointer-events: none; /* ne bloque pas le clic sur la bannière */
}

.offerBadge__ico {
  font-size: 14px;
  line-height: 1;
}

.offerBadge__txt {
  line-height: 1;
  white-space: nowrap;
}

/* Variantes (juste un petit “hint”, pas flashy) */
.offerBadge--hot {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 180, 80, 0.22);
}

.offerBadge--new {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(140, 90, 255, 0.3);
}

@media (max-width: 420px) {
  .offerBadge {
    top: 10px;
    left: 10px;
    padding: 7px 9px;
    font-size: 11px;
  }
}
/* ===== Offer badges (P1 / P2) – Glow premium ===== */
.offer {
  position: relative;
}

/* Base badge */
.offerBadge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.25px;

  color: rgba(255, 255, 255, 0.95);

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(12px);
  user-select: none;
  pointer-events: none;

  /* glow base */
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 8px 26px rgba(0, 0, 0, 0.45);

  animation: badgeFloat 4.5s ease-in-out infinite;
}

/* Icône */
.offerBadge__ico {
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.offerBadge__txt {
  white-space: nowrap;
  line-height: 1;
}

/* 🔥 HOT */
.offerBadge--hot {
  border-color: rgba(255, 170, 80, 0.35);
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.35), 0 0 34px rgba(255, 90, 0, 0.18),
    0 12px 34px rgba(0, 0, 0, 0.55);

  animation: badgePulseHot 3.2s ease-in-out infinite;
}

/* 🚀 NEW */
.offerBadge--new {
  border-color: rgba(140, 90, 255, 0.45);
  box-shadow: 0 0 16px rgba(140, 90, 255, 0.35),
    0 0 38px rgba(90, 70, 255, 0.22), 0 12px 34px rgba(0, 0, 0, 0.55);

  animation: badgePulseNew 3.6s ease-in-out infinite;
}

/* Animations */
@keyframes badgeFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes badgePulseHot {
  0% {
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.3), 0 0 26px rgba(255, 90, 0, 0.18),
      0 12px 34px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 160, 60, 0.55),
      0 0 44px rgba(255, 110, 0, 0.35), 0 12px 34px rgba(0, 0, 0, 0.55);
  }
  100% {
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.3), 0 0 26px rgba(255, 90, 0, 0.18),
      0 12px 34px rgba(0, 0, 0, 0.55);
  }
}

@keyframes badgePulseNew {
  0% {
    box-shadow: 0 0 14px rgba(140, 90, 255, 0.35),
      0 0 30px rgba(90, 70, 255, 0.22), 0 12px 34px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow: 0 0 26px rgba(160, 120, 255, 0.6),
      0 0 50px rgba(120, 90, 255, 0.4), 0 12px 34px rgba(0, 0, 0, 0.55);
  }
  100% {
    box-shadow: 0 0 14px rgba(140, 90, 255, 0.35),
      0 0 30px rgba(90, 70, 255, 0.22), 0 12px 34px rgba(0, 0, 0, 0.55);
  }
}

/* Mobile */
@media (max-width: 420px) {
  .offerBadge {
    top: 10px;
    left: 10px;
    padding: 7px 10px;
    font-size: 11px;
  }
}

@media (max-width: 425px) {
  .offerBadge {
    transform: scale(0.7);
    transform-origin: top left;
  }
}

.offer {
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 rgba(140, 90, 255, 0);
}

.offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55), 0 0 28px rgba(140, 90, 255, 0.12);
}
