
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}
h1 {
  font-family: "Supermolot Neue Trial Demi Bold", sans-serif;
  letter-spacing: 0.5px;   /* respire un peu */
}
.brand-name {
  font-family: "Supermolot Neue Trial Demi Bold", sans-serif;
  letter-spacing: 0.6px;
}
/* ========== NOTIFICATIONS ========== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 4px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.notification--success {
  background-color: #10b981;
}

.notification--error {
  background-color: #ef4444;
}

.notification--warning {
  background-color: #f59e0b;
  color: #1f2937;
}

.notification--info {
  background-color: #3b82f6;
}

.notification--dismissible {
  pointer-events: auto;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notification__icon {
  font-size: 1.2em;
  font-weight: bold;
}

.notification__close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5em;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0 0 0 12px;
}

.notification__close:hover {
  opacity: 1;
}

/* Animation for auto-dismiss */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* =================================== */

button,
a,
ul,
li {
  text-decoration: none;
}
.wallet-amount-value {
  font-weight: 800;         /* Met en gras le montant */
}
/* ———— notif ———— */
:root{
  --notif-accent: #DBFE75;
  --notif-accent-dark: #9BC83C;
}

/* ---------- conteneur ---------- */
.flash-notif{
  position:fixed;
  top:24px; left:50%; transform:translateX(-50%);
  z-index:10000;
  display:flex; align-items:center; gap:18px;
  max-width:90%; width:800px; padding:14px 28px;
  border:2px solid var(--notif-accent);
  background:rgba(155,200,60,.90);
  backdrop-filter:blur(6px);
  color:#050a08; font-weight:bold; border-radius:8px;

  /* animation d’apparition puis disparition */
  animation:flashFade 6s forwards cubic-bezier(.4,0,.2,1);
}

/* ---------- bouton × ---------- */
.flash-notif .close-btn{
  background:none; border:0; color:inherit; font-size:22px;
  cursor:pointer; line-height:1; padding:0 4px;
}
.flash-notif .close-btn:hover{ opacity:.7; }

/* ---------- état “hide” (clic ×) ---------- */
.flash-notif.hide{
  animation:fadeOut .35s forwards;
}

/* ---------- keyframes ---------- */
@keyframes flashFade{
  0%   {opacity:0; transform:translate(-50%, -12px);}
  10%  {opacity:1; transform:translate(-50%, 0);}   /* slide + fade in */
  80%  {opacity:1;}                                 /* visible 4s env.  */
  100% {opacity:0; transform:translate(-50%, -12px);}/* fade out       */
}
@keyframes fadeOut{
  to {opacity:0; transform:translate(-50%, -12px);}
}