:root{
  --bg: #0b0d12;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --stroke: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;
}

*{ 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: radial-gradient(1200px 600px at 30% 0%, rgba(255,255,255,.10), transparent 60%),
              radial-gradient(900px 500px at 80% 30%, rgba(255,255,255,.08), transparent 60%),
              var(--bg);
}

.container{
  width: min(520px, calc(100% - 32px));
  margin: 22px auto 40px;
}

.hero{
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
}

.hero-bg{
  position:absolute; inset:-40px;
  background:
    radial-gradient(500px 300px at 20% 10%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(600px 340px at 80% 30%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent);
  filter: blur(2px);
}

.profile{
  position: relative;
  display:flex;
  gap: 14px;
  padding: 18px 18px 16px;
  align-items:center;
}

.avatar{
  width: 64px; height:64px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  object-fit: cover;
  background: rgba(255,255,255,.06);
}

.name{
  margin:0;
  font-size: 22px;
  line-height: 1.2;
}

.badge{
  display:inline-block;
  font-size: 14px;
  opacity:.9;
  transform: translateY(-2px);
  margin-left: 6px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255,255,255,.06);
}

.bio{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.links{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.btn{
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  color: var(--text);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  padding: 14px 14px;
  border-radius: 14px;
  font-weight: 650;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  user-select:none;
  cursor:pointer;
}

.btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.btn:active{
  transform: translateY(0px) scale(.995);
}

.btn.primary{
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.22);
}

.footer{
  margin-top: 14px;
  padding: 14px 6px 0;
  color: var(--muted);
  text-align:center;
}

.disclaimer{
  margin: 0 0 10px;
  font-size: 13px;
}

.mini{
  margin:0;
  font-size: 12px;
  opacity:.8;
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 20px;
}
.modal.show{ display:flex; }

.modal-card{
  width: min(420px, 100%);
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(14,16,22,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 18px;
}

.modal-card h2{ margin: 0 0 8px; font-size: 18px; }
.modal-card p{ margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.modal-actions{ display:flex; gap: 10px; justify-content:flex-end; }
.btn.small{ padding: 10px 12px; border-radius: 12px; }

/* Background image page (optional) */
.page-bg{
  min-height: 100vh;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-bg::before{
  content:"";
  position: fixed;
  inset: 0;
  background: none;
  pointer-events: none;
}

@media (max-width: 768px){
  .page-bg{ background-attachment: scroll; }
}

/* ===== Exclusive buttons animations ===== */
.exclusive .links .btn{
  background: rgba(6,8,12,.9);
  border-color: rgba(255,255,255,.24);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

/* 1) Animation d'entrée + léger bounce */
.exclusive .links .btn{
  opacity: 0;
  transform: translateY(10px);
  animation: btnIn .55s ease forwards;
}
.exclusive .links .btn:nth-child(1){ animation-delay: .05s; }
.exclusive .links .btn:nth-child(2){ animation-delay: .12s; }
.exclusive .links .btn:nth-child(3){ animation-delay: .19s; }

@keyframes btnIn{
  0%{ opacity:0; transform: translateY(12px) scale(.98); }
  70%{ opacity:1; transform: translateY(-2px) scale(1.01); }
  100%{ opacity:1; transform: translateY(0) scale(1); }
}

/* 2) Glow pulse sur le bouton primary (attire l'œil) */
.exclusive .links .btn.primary{
  background: rgba(10,12,18,.95);
  border-color: rgba(255,255,255,.3);
  animation: btnIn .55s ease forwards, glowPulse 1.6s ease-in-out .6s infinite;
}
@keyframes glowPulse{
  0%,100%{ box-shadow: 0 0 0 rgba(255,255,255,0); }
  50%{ box-shadow: 0 0 26px rgba(255,255,255,.22); }
}

/* 3) Shimmer (reflet qui passe) sur le primary */
.exclusive .links .btn.primary::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.18) 45%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.18) 55%,
    transparent 100%
  );
  transform: translateX(-60%) rotate(10deg);
  animation: shimmer 2.4s ease-in-out 1s infinite;
  pointer-events:none;
}
@keyframes shimmer{
  0%{ transform: translateX(-70%) rotate(10deg); opacity: 0; }
  20%{ opacity: .9; }
  50%{ opacity: .9; }
  100%{ transform: translateX(70%) rotate(10deg); opacity: 0; }
}

/* Micro-interactions */
.exclusive .links .btn:hover{
  transform: translateY(-2px) scale(1.01);
}
.exclusive .links .btn:active{
  transform: translateY(0) scale(.99);
}

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce){
  .exclusive .links .btn,
  .exclusive .links .btn.primary{
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .exclusive .links .btn.primary::before{ display:none !important; }
}
