@charset "UTF-8";
/* ========== BASE DASHBOARD ========== */
/* line 3, app/assets/stylesheets/main.scss */
.ux-dashboard {
  min-height: 100vh;
  background: #f7f8fc;
  font-family: system-ui, sans-serif;
}

/* ===== DESKTOP : sidebar fixe ===== */
@media (min-width: 992px) {
  /* line 10, app/assets/stylesheets/main.scss */
  .ux-sidebar {
    width: 260px;
    background: #ffffff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    height: 100vh;
    overflow: auto;
  }
  /* line 19, app/assets/stylesheets/main.scss */
  .ux-main {
    margin-left: 260px;
  }
  /* line 20, app/assets/stylesheets/main.scss */
  .ux-overlay {
    display: none !important;
  }
}

/* line 23, app/assets/stylesheets/main.scss */
.ux-sidebar {
  position: fixed;
  height: 100vh;
  overflow: auto;
  min-height: -webkit-fill-available;
}

/* ===== MOBILE : sidebar dessus (aucune compression) ===== */
@media (max-width: 991px) {
  /* line 32, app/assets/stylesheets/main.scss */
  .ux-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    z-index: 1031;
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform .3s;
    display: flex;
    flex-direction: column;
  }
  /* line 37, app/assets/stylesheets/main.scss */
  .ux-sidebar.show {
    transform: translateX(0);
  }
  /* line 38, app/assets/stylesheets/main.scss */
  .ux-main {
    margin-left: 0;
  }
  /* line 39, app/assets/stylesheets/main.scss */
  .ux-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1030;
    display: none;
  }
  /* line 43, app/assets/stylesheets/main.scss */
  .ux-overlay.show {
    display: block;
  }
}

/* line 46, app/assets/stylesheets/main.scss */
.ux-sidebar-head {
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* line 47, app/assets/stylesheets/main.scss */
.ux-logo {
  font-size: 1.5rem;
  color: #8b53ff;
}

/* line 48, app/assets/stylesheets/main.scss */
.ux-brand {
  font-weight: 700;
  color: #333;
  flex: 1;
}

/* line 49, app/assets/stylesheets/main.scss */
.ux-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #666;
}

/* line 51, app/assets/stylesheets/main.scss */
.ux-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

/* line 52, app/assets/stylesheets/main.scss */
.ux-nav-item {
  border-left: 4px solid transparent;
}

/* line 53, app/assets/stylesheets/main.scss */
.ux-nav-item.active {
  background: #f1f0ff;
  border-color: #8b53ff;
}

/* line 54, app/assets/stylesheets/main.scss */
.ux-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.2rem;
  color: #444;
  text-decoration: none;
  transition: background .2s;
}

/* line 59, app/assets/stylesheets/main.scss */
.ux-nav-link:hover {
  background: #f1f0ff;
}

/* line 61, app/assets/stylesheets/main.scss */
.ux-balance-card {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  box-shadow: 0 4px 16px rgba(139, 83, 255, 0.08);
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: #111;
  transition: background .3s, color .3s;
}

/* Icône animée (portefeuille) */
/* line 70, app/assets/stylesheets/main.scss */
.ux-wallet-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 7h-1V6c0-1.66-1.34-3-3-3H6C4.34 3 3 4.34 3 6v12c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3v-7l-2-2V7zM6 5h10v2H6V5zm12 14H6V9h10v4l2 2v4z' fill='%238b53ff'/%3E%3C/svg%3E") no-repeat center/cover;
  animation: pulse-wallet 2s infinite;
}

@keyframes pulse-wallet {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Solde cliquable */
/* line 78, app/assets/stylesheets/main.scss */
.ux-balance-amount.ux-clickable {
  cursor: pointer;
  transition: color .2s;
}

/* line 79, app/assets/stylesheets/main.scss */
.ux-balance-amount.ux-clickable:hover {
  color: #8b53ff;
}

/* Solde + devise */
/* line 82, app/assets/stylesheets/main.scss */
.ux-balance-amount {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: .25rem;
}

/* line 83, app/assets/stylesheets/main.scss */
.ux-currency {
  font-size: .9rem;
  color: #666;
  margin-left: .25rem;
}

/* Libellé */
/* line 86, app/assets/stylesheets/main.scss */
.ux-balance-label {
  font-size: .9rem;
  color: #666;
  margin-bottom: 1rem;
}

/* CTA discret */
/* line 89, app/assets/stylesheets/main.scss */
.ux-balance-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .85rem;
  color: #8b53ff;
  text-decoration: none;
  transition: color .2s;
}

/* line 91, app/assets/stylesheets/main.scss */
.ux-balance-link:hover {
  color: #6f42c1;
}

/* Modal « Comment gagner » */
/* line 94, app/assets/stylesheets/main.scss */
.ux-gain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* line 95, app/assets/stylesheets/main.scss */
.ux-gain-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  font-size: .95rem;
  color: #444;
}

/* line 99, app/assets/stylesheets/main.scss */
.ux-gain-list li i {
  color: #28a745;
  font-size: 1rem;
}

/* Dropdown */
/* line 102, app/assets/stylesheets/main.scss */
.ux-dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9ff;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

/* line 107, app/assets/stylesheets/main.scss */
.ux-nav-item.has-dropdown.open .ux-dropdown {
  max-height: 300px;
}

/* line 108, app/assets/stylesheets/main.scss */
.ux-dropdown a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem .6rem 3rem;
  color: #555;
  text-decoration: none;
  font-size: .9rem;
  transition: background .2s;
}

/* line 114, app/assets/stylesheets/main.scss */
.ux-dropdown a:hover {
  background: #e8ebfa;
}

/* line 115, app/assets/stylesheets/main.scss */
.ux-badge {
  background: #8b53ff;
  color: #fff;
  font-size: .7rem;
  padding: .2rem .4rem;
  border-radius: 10px;
  margin-left: auto;
}

/* line 120, app/assets/stylesheets/main.scss */
.ux-sidebar-foot {
  padding: 1rem;
}

/* line 121, app/assets/stylesheets/main.scss */
.ux-btn-logout {
  width: 100%;
  border: 1px solid #dc3545;
  background: transparent;
  color: #dc3545;
  border-radius: 8px;
  padding: .5rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}

/* line 126, app/assets/stylesheets/main.scss */
.ux-btn-logout:hover {
  background: #dc3545;
  color: #fff;
}

/* line 128, app/assets/stylesheets/main.scss */
.ux-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* line 129, app/assets/stylesheets/main.scss */
.ux-topbar {
  background: #fff;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* line 134, app/assets/stylesheets/main.scss */
.ux-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #666;
}

/* line 136, app/assets/stylesheets/main.scss */
.ux-user {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* line 137, app/assets/stylesheets/main.scss */
.ux-avatar {
  border-radius: 50%;
  width: 35px;
}

/* line 138, app/assets/stylesheets/main.scss */
.ux-username {
  font-weight: 600;
}

/* line 140, app/assets/stylesheets/main.scss */
.ux-content {
  flex: 1;
}

/* ===== CARTES CAPTIVANTES ===== */
/* line 143, app/assets/stylesheets/main.scss */
.ux-card-new {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

/* line 150, app/assets/stylesheets/main.scss */
.ux-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* line 151, app/assets/stylesheets/main.scss */
.ux-card-icon-float {
  font-size: 2.5rem;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #f1f0ff 100%);
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* line 157, app/assets/stylesheets/main.scss */
.ux-card-data {
  flex: 1;
}

/* line 158, app/assets/stylesheets/main.scss */
.ux-card-val {
  font-size: 1.8rem;
  font-weight: 700;
}

/* line 159, app/assets/stylesheets/main.scss */
.ux-card-label {
  font-size: .8rem;
  color: #6c757d;
}

/* Glows */
/* line 162, app/assets/stylesheets/main.scss */
.ux-card-glow-green .ux-card-icon-float {
  color: #28a745;
}

/* line 163, app/assets/stylesheets/main.scss */
.ux-card-glow-blue .ux-card-icon-float {
  color: #0d6efd;
}

/* line 164, app/assets/stylesheets/main.scss */
.ux-card-glow-orange .ux-card-icon-float {
  color: #fd7e14;
}

/* line 165, app/assets/stylesheets/main.scss */
.ux-card-glow-purple .ux-card-icon-float {
  color: #8b53ff;
}

/* ===== THEME SOMBRE ===== */
/* line 168, app/assets/stylesheets/main.scss */
body.ux-dark {
  background: #121212;
  color: #eee;
}

/* line 172, app/assets/stylesheets/main.scss */
body.ux-dark .ux-dashboard {
  background: #121212;
}

/* line 173, app/assets/stylesheets/main.scss */
body.ux-dark .ux-sidebar {
  background: #1e1e1e;
}

/* line 174, app/assets/stylesheets/main.scss */
body.ux-dark .ux-topbar {
  background: #1e1e1e;
}

/* line 175, app/assets/stylesheets/main.scss */
body.ux-dark .ux-card-new {
  background: #1e1e1e;
  color: #eee;
}

/* line 176, app/assets/stylesheets/main.scss */
body.ux-dark .ux-card-chart {
  background: #1e1e1e;
  color: #eee;
}

/* line 177, app/assets/stylesheets/main.scss */
body.ux-dark .btn-outline-primary {
  border-color: #8b53ff;
  color: #8b53ff;
}

/* line 178, app/assets/stylesheets/main.scss */
body.ux-dark .btn-outline-primary:hover {
  background: #8b53ff;
  color: #fff;
}

/* line 179, app/assets/stylesheets/main.scss */
body.ux-dark .bg-white {
  background: #1e1e1e !important;
  color: #eee;
}

/* line 180, app/assets/stylesheets/main.scss */
body.ux-dark .ux-balance-card {
  background: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
  color: #f1f1f1;
}

/* line 185, app/assets/stylesheets/main.scss */
body.ux-dark .table {
  --bs-table-color: #fff;
  --bs-table-bg: #212529;
  --bs-table-border-color: #373b3e;
  --bs-table-striped-bg: #2c3034;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #373b3e;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #323539;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

/* ===== SWITCH THEME ===== */
/* line 198, app/assets/stylesheets/main.scss */
.ux-theme-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* line 199, app/assets/stylesheets/main.scss */
.ux-theme-label {
  position: relative;
  width: 60px;
  height: 30px;
  background: #ccc;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

/* line 203, app/assets/stylesheets/main.scss */
.ux-theme-label .fa-sun {
  color: #f39c12;
}

/* line 204, app/assets/stylesheets/main.scss */
.ux-theme-label .fa-moon {
  color: #8b53ff;
}

/* line 205, app/assets/stylesheets/main.scss */
.ux-theme-ball {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: transform .3s;
}

/* line 209, app/assets/stylesheets/main.scss */
#uxThemeToggle {
  display: none;
}

/* line 210, app/assets/stylesheets/main.scss */
#uxThemeToggle:checked + .ux-theme-label .ux-theme-ball {
  transform: translateX(30px);
}

/* ===== POPUP BIENVENUE + GUIRLANDE ===== */
/* line 213, app/assets/stylesheets/main.scss */
.ux-welcome-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

/* line 218, app/assets/stylesheets/main.scss */
.ux-welcome-modal.show {
  opacity: 1;
  visibility: visible;
}

/* line 219, app/assets/stylesheets/main.scss */
.ux-welcome-content {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

/* Guirlande (confetti) */
/* line 227, app/assets/stylesheets/main.scss */
.ux-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* line 230, app/assets/stylesheets/main.scss */
.ux-confetti::before, .ux-confetti::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ff6b6b;
  border-radius: 50%;
  animation: confetti 3s linear infinite;
}

/* line 235, app/assets/stylesheets/main.scss */
.ux-confetti::after {
  background: #8b53ff;
  left: 20%;
  animation-delay: .5s;
}

@keyframes confetti {
  0% {
    transform: translateY(-100vh) rotate(0);
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
  }
}

/* line 243, app/assets/stylesheets/main.scss */
.referral-card {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 15px;
  padding: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(106, 17, 203, 0.2);
}

/* line 250, app/assets/stylesheets/main.scss */
.referral-code {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* line 262, app/assets/stylesheets/main.scss */
.social-share {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* line 269, app/assets/stylesheets/main.scss */
.social-share .btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: white;
  color: #6a11cb;
  transition: all 0.3s ease;
}

/* line 282, app/assets/stylesheets/main.scss */
.social-share .btn:hover {
  transform: translateY(-5px);
}

/* line 286, app/assets/stylesheets/main.scss */
.floating-animation {
  animation: floating 3s ease-in-out infinite;
}

/* ===== RETRAIT – DESIGN ATTRACTIF ===== */
/* line 291, app/assets/stylesheets/main.scss */
.ux-retrait-card {
  max-width: 480px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(139, 83, 255, 0.18);
  font-family: system-ui, sans-serif;
}

/* line 297, app/assets/stylesheets/main.scss */
.ux-retrait-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* line 300, app/assets/stylesheets/main.scss */
.ux-icon-wallet {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #8b53ff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* line 304, app/assets/stylesheets/main.scss */
.ux-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: .5rem 0 .2rem;
}

/* line 307, app/assets/stylesheets/main.scss */
.ux-subtitle {
  font-size: .9rem;
  color: #6c757d;
}

/* line 311, app/assets/stylesheets/main.scss */
.ux-retrait-form .ux-field {
  margin-bottom: 1.2rem;
}

/* line 312, app/assets/stylesheets/main.scss */
.ux-label {
  font-size: .9rem;
  font-weight: 600;
  color: #444;
  margin-bottom: .4rem;
  display: block;
}

/* line 315, app/assets/stylesheets/main.scss */
.ux-input, .ux-select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

/* line 319, app/assets/stylesheets/main.scss */
.ux-input:focus, .ux-select:focus {
  border-color: #8b53ff;
  box-shadow: 0 0 0 3px rgba(139, 83, 255, 0.15);
  outline: none;
}

/* line 324, app/assets/stylesheets/main.scss */
.ux-select-wrapper {
  position: relative;
}

/* line 325, app/assets/stylesheets/main.scss */
.ux-select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6c757d;
}

/* line 330, app/assets/stylesheets/main.scss */
.ux-hint {
  font-size: .75rem;
  color: #6c757d;
  margin-top: .25rem;
  display: block;
}

/* line 331, app/assets/stylesheets/main.scss */
.ux-net {
  margin-top: .5rem;
  font-size: .9rem;
  color: #444;
}

/* line 332, app/assets/stylesheets/main.scss */
.ux-net-val {
  font-weight: 700;
  color: #28a745;
}

/* line 333, app/assets/stylesheets/main.scss */
.ux-taux {
  font-size: .75rem;
  color: #6c757d;
  margin-left: .5rem;
}

/* line 335, app/assets/stylesheets/main.scss */
.ux-actions {
  margin-top: 1.5rem;
}

/* line 336, app/assets/stylesheets/main.scss */
.ux-btn-submit {
  width: 100%;
  padding: .9rem;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #28a745, #20c997);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

/* line 342, app/assets/stylesheets/main.scss */
.ux-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
}

/* line 344, app/assets/stylesheets/main.scss */
.ux-btn-blocked {
  width: 100%;
  padding: .9rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #dc3545, #ff6b6b);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

/* line 350, app/assets/stylesheets/main.scss */
.ux-btn-blocked:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
}

/* line 352, app/assets/stylesheets/main.scss */
.ux-alert-error {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #c53030;
  font-size: .9rem;
}

/* line 356, app/assets/stylesheets/main.scss */
.ux-alert-error h5 {
  font-size: 1rem;
  margin-bottom: .5rem;
}

/* line 357, app/assets/stylesheets/main.scss */
.ux-alert-error ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* ============================= product section ================================*/
/* line 367, app/assets/stylesheets/main.scss */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

/* line 374, app/assets/stylesheets/main.scss */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* line 379, app/assets/stylesheets/main.scss */
.product-card .btn-success {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  transition: all 0.3s ease;
}

/* line 385, app/assets/stylesheets/main.scss */
.product-card .btn-success:hover {
  background: linear-gradient(45deg, #20c997, #28a745);
  transform: scale(1.05);
}

/* line 390, app/assets/stylesheets/main.scss */
.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* line 400, app/assets/stylesheets/main.scss */
.badge.bg-danger {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e) !important;
  font-weight: 600;
  font-size: 0.8rem;
}

/* line 407, app/assets/stylesheets/main.scss */
.btn-success {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  font-weight: 600;
}

/* line 413, app/assets/stylesheets/main.scss */
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* line 424, app/assets/stylesheets/main.scss */
.animate-pulse {
  animation: pulse 2s infinite;
}

/* line 429, app/assets/stylesheets/main.scss */
.body_product {
  display: flex;
  padding: 0 35px;
  align-items: center;
  justify-content: center;
  /*background: linear-gradient(to left top, #031A9A, #8B53FF);*/
}

/* line 437, app/assets/stylesheets/main.scss */
.wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
}

/* line 442, app/assets/stylesheets/main.scss */
.wrapper #left, .wrapper #right {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  z-index: 1000;
}

/* line 458, app/assets/stylesheets/main.scss */
.wrapper #left:active, .wrapper #right:active {
  transform: translateY(-50%) scale(0.85);
}

/* line 461, app/assets/stylesheets/main.scss */
.wrapper i:first-child {
  left: -22px;
}

/* line 464, app/assets/stylesheets/main.scss */
.wrapper i:last-child {
  right: -22px;
}

/* line 467, app/assets/stylesheets/main.scss */
.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

/* line 478, app/assets/stylesheets/main.scss */
.carousel::-webkit-scrollbar {
  display: none;
}

/* line 481, app/assets/stylesheets/main.scss */
.carousel.no-transition {
  scroll-behavior: auto;
}

/* line 484, app/assets/stylesheets/main.scss */
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* line 488, app/assets/stylesheets/main.scss */
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}

/* line 492, app/assets/stylesheets/main.scss */
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* line 497, app/assets/stylesheets/main.scss */
.carousel .card {
  scroll-snap-align: start;
  height: 342px;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
}

@media screen and (max-width: 900px) {
  /* line 510, app/assets/stylesheets/main.scss */
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  /* line 516, app/assets/stylesheets/main.scss */
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}

/* Fond dégradé subtil */
/* line 524, app/assets/stylesheets/main.scss */
.section-products {
  background: linear-gradient(to bottom, #ffffff, #f9f9ff);
  position: relative;
  overflow: hidden;
}

/* FIN PRODUCT ET CARROUSEL SECTION */
/* Titre avec dégradé */
/* line 531, app/assets/stylesheets/main.scss */
.title-gradient {
  background: linear-gradient(90deg, #ff6b6b, #8b53ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Sous-titre */
/* line 540, app/assets/stylesheets/main.scss */
.subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Bouton gradient */
/* line 547, app/assets/stylesheets/main.scss */
.btn-gradient {
  background: linear-gradient(45deg, #8b53ff, #ff6b6b);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* line 555, app/assets/stylesheets/main.scss */
.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 83, 255, 0.4);
  color: #fff;
}

/* line 562, app/assets/stylesheets/main.scss */
.section-referral {
  background: linear-gradient(160deg, #f8f9ff 0%, #eef2ff 100%);
  position: relative;
  overflow: hidden;
}

/* line 567, app/assets/stylesheets/main.scss */
.text-referral {
  background: linear-gradient(90deg, #ff6b6b, #8b53ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- BONUS PACKS ---- */
/* line 574, app/assets/stylesheets/main.scss */
.bonus-pack {
  border-radius: 16px;
  padding: 2rem 1rem;
  color: #fff;
  transition: transform .3s;
}

/* line 580, app/assets/stylesheets/main.scss */
.bonus-pack:hover {
  transform: translateY(-7px);
}

/* line 581, app/assets/stylesheets/main.scss */
.silver-gradient {
  background: linear-gradient(135deg, #bdc3c7, #2c3e50);
}

/* line 582, app/assets/stylesheets/main.scss */
.warning-gradient {
  background: linear-gradient(135deg, #f9d423, #ff4e50);
}

/* line 583, app/assets/stylesheets/main.scss */
.danger-gradient {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* line 584, app/assets/stylesheets/main.scss */
.bonus-amount {
  font-size: 2.2rem;
  font-weight: 700;
  margin: .5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* ---- STEPS ---- */
/* line 592, app/assets/stylesheets/main.scss */
.step-row {
  counter-reset: step;
}

/* line 593, app/assets/stylesheets/main.scss */
.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* line 604, app/assets/stylesheets/main.scss */
.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #8b53ff;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 617, app/assets/stylesheets/main.scss */
.step-item h6 {
  margin-top: .7rem;
}

/* ---- JAUKE / CTA ---- */
/* line 620, app/assets/stylesheets/main.scss */
.referral-cta-box {
  background: #fff;
}

/* line 621, app/assets/stylesheets/main.scss */
.progress-lg {
  height: 14px;
  border-radius: 10px;
  background: #e9ecef;
}

/* line 622, app/assets/stylesheets/main.scss */
.progress-lg .progress-bar {
  background: linear-gradient(90deg, #8b53ff, #ff6b6b);
  border-radius: 10px;
  width: 0;
  transition: width 1.5s ease;
}

/* line 628, app/assets/stylesheets/main.scss */
.animated-bar {
  width: 73% !important;
}

/* JS peut la faire croître depuis 0 */
/* line 629, app/assets/stylesheets/main.scss */
.btn-referral {
  background: linear-gradient(45deg, #ff6b6b, #8b53ff);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: transform .3s, box-shadow .3s;
}

/* line 636, app/assets/stylesheets/main.scss */
.btn-referral:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 83, 255, 0.45);
  color: #fff;
}

/* ===== PRO BONUS CARD – PRO & DYNAMIQUE ===== */
/* line 643, app/assets/stylesheets/main.scss */
.ux-pro-card {
  position: relative;
  margin: 3rem auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
  box-shadow: 0 12px 30px rgba(139, 83, 255, 0.12);
  padding: 3rem 2.5rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: #222;
}

/* Vecteur animé (fond léger) */
/* line 653, app/assets/stylesheets/main.scss */
.ux-pro-vecteur {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M40 40 Q100 20 160 40 T200 100' stroke='%238b53ff' stroke-width='2' fill='none' opacity='.08'%3E%3Canimate attributeName='d' values='M40 40 Q100 20 160 40 T200 100;M60 60 Q100 80 140 60 T200 100;M40 40 Q100 20 160 40 T200 100' dur='8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") no-repeat center/cover;
  animation: float-vecteur 8s ease-in-out infinite;
}

@keyframes float-vecteur {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, -10px);
  }
}

/* Titre avec dégradé animé */
/* line 661, app/assets/stylesheets/main.scss */
.ux-pro-title {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* line 665, app/assets/stylesheets/main.scss */
.ux-pro-grad {
  background: linear-gradient(90deg, #8b53ff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-shift 3s ease-in-out infinite;
}

@keyframes grad-shift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

/* Sous-titre */
/* line 673, app/assets/stylesheets/main.scss */
.ux-pro-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

/* CTA professionnel */
/* line 678, app/assets/stylesheets/main.scss */
.ux-pro-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #8b53ff, #ff6b6b);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* line 686, app/assets/stylesheets/main.scss */
.ux-pro-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 83, 255, 0.4);
}

/* Preuves sociales animées */
/* line 689, app/assets/stylesheets/main.scss */
.ux-pro-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* line 690, app/assets/stylesheets/main.scss */
.ux-social-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: #666;
  animation: fade-in-up 1s ease-out forwards;
  opacity: 0;
}

/* line 694, app/assets/stylesheets/main.scss */
.ux-social-item:nth-child(1) {
  animation-delay: .2s;
}

/* line 695, app/assets/stylesheets/main.scss */
.ux-social-item:nth-child(2) {
  animation-delay: .4s;
}

/* line 696, app/assets/stylesheets/main.scss */
.ux-social-item:nth-child(3) {
  animation-delay: .6s;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* line 698, app/assets/stylesheets/main.scss */
.ux-social-item i {
  color: #28a745;
  font-size: 1rem;
}

/* ------ SECTION NIVEAUX ------ */
/* line 701, app/assets/stylesheets/main.scss */
.section-task-levels {
  background: linear-gradient(160deg, #ffffff 0%, #f8f9ff 100%);
}

/* line 704, app/assets/stylesheets/main.scss */
.text-level {
  background: linear-gradient(90deg, #28a745, #8b53ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- CARTE NIVEAU ---- */
/* line 711, app/assets/stylesheets/main.scss */
.level-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

/* line 717, app/assets/stylesheets/main.scss */
.level-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Header */
/* line 723, app/assets/stylesheets/main.scss */
.card-header-level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 0;
}

/* line 729, app/assets/stylesheets/main.scss */
.level-badge {
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 20px;
  color: #fff;
}

/* line 736, app/assets/stylesheets/main.scss */
.level-easy {
  background: #28a745;
}

/* line 737, app/assets/stylesheets/main.scss */
.level-medium {
  background: #ffc107;
  color: #212529;
}

/* line 738, app/assets/stylesheets/main.scss */
.level-hard {
  background: #dc3545;
}

/* line 740, app/assets/stylesheets/main.scss */
.price-tag {
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 700;
  padding: .4rem .8rem;
  border-radius: 20px;
  font-size: .9rem;
}

/* Body */
/* line 750, app/assets/stylesheets/main.scss */
.info-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .9rem;
}

/* line 757, app/assets/stylesheets/main.scss */
.info-line a {
  text-decoration: none;
  color: #0d6efd;
}

/* line 761, app/assets/stylesheets/main.scss */
.info-line a:hover {
  text-decoration: underline;
}

/* Footer */
/* line 764, app/assets/stylesheets/main.scss */
.card-footer-level {
  padding: 0 1rem 1rem;
}

/* Bouton final */
/* line 767, app/assets/stylesheets/main.scss */
.btn-gradient {
  background: linear-gradient(45deg, #28a745, #8b53ff);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: transform .3s, box-shadow .3s;
}

/* line 774, app/assets/stylesheets/main.scss */
.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 83, 255, 0.45);
  color: #fff;
}

/* ===== MODALE RUPTURE ===== */
/* line 781, app/assets/stylesheets/main.scss */
.ux-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fade-in .3s ease;
}

/* line 787, app/assets/stylesheets/main.scss */
.ux-modal.show {
  display: flex;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* line 790, app/assets/stylesheets/main.scss */
.ux-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: slide-up .3s ease;
}

@keyframes slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* line 798, app/assets/stylesheets/main.scss */
.ux-modal-icon {
  font-size: 3rem;
  color: #dc3545;
  margin-bottom: 1rem;
  animation: pulse-icon .6s ease-out;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* line 804, app/assets/stylesheets/main.scss */
.ux-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

/* line 805, app/assets/stylesheets/main.scss */
.ux-modal-text {
  font-size: .95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* line 807, app/assets/stylesheets/main.scss */
.ux-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color .2s;
}

/* line 811, app/assets/stylesheets/main.scss */
.ux-modal-close:hover {
  color: #dc3545;
}

/* line 814, app/assets/stylesheets/main.scss */
.dash-body {
  background-color: #f8f9fa;
  padding-bottom: 80px;
  /* Espace pour la nav mobile améliorée */
}

/* line 819, app/assets/stylesheets/main.scss */
.navbar-desktop .nav-link {
  position: relative;
  font-weight: 500;
}

/* line 824, app/assets/stylesheets/main.scss */
.navbar-desktop .nav-link.active {
  color: #ffc107 !important;
}

/* line 828, app/assets/stylesheets/main.scss */
.navbar-desktop .nav-link.active::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 80%;
  height: 2px;
  background-color: #ffc107;
}

/* line 838, app/assets/stylesheets/main.scss */
.market-banner {
  font-size: 0.95rem;
}

/* Cards solde et retraits */
/* line 843, app/assets/stylesheets/main.scss */
.balance-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 15px;
}

/* Bottom navigation mobile améliorée */
/* line 853, app/assets/stylesheets/main.scss */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 12px 0;
  border-radius: 20px 20px 0 0;
}

/* line 865, app/assets/stylesheets/main.scss */
.mobile-nav-item {
  text-align: center;
  color: #999;
  text-decoration: none;
  font-size: 11px;
  padding: 5px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* line 878, app/assets/stylesheets/main.scss */
.mobile-nav-item:hover {
  color: #667eea;
  transform: translateY(-2px);
}

/* line 883, app/assets/stylesheets/main.scss */
.mobile-nav-item.active {
  color: #667eea;
  font-weight: 600;
}

/* line 888, app/assets/stylesheets/main.scss */
.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: -12px;
  width: 40px;
  height: 3px;
  background: #667eea;
  border-radius: 2px;
}

/* line 898, app/assets/stylesheets/main.scss */
.mobile-nav-item i {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

/* line 905, app/assets/stylesheets/main.scss */
.mobile-nav-item.active i {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

/* Badge notification */
/* line 911, app/assets/stylesheets/main.scss */
.nav-notification {
  position: absolute;
  top: -5px;
  right: 15px;
  background: #ff4757;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop view */
@media (min-width: 768px) {
  /* line 930, app/assets/stylesheets/main.scss */
  .dash-body {
    padding-bottom: 0;
  }
  /* line 934, app/assets/stylesheets/main.scss */
  .navbar-desktop {
    display: flex;
  }
  /* line 938, app/assets/stylesheets/main.scss */
  .mobile-nav {
    display: none;
  }
}

/* Animation au chargement */
/* line 945, app/assets/stylesheets/main.scss */
.mobile-nav-item {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
