/* Styles de la page d'accueil */

/* Boutons de la section hero */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-hero-custom {
  background-color: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-custom:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 255, 0.25);
  background-color: var(--secondary);
  opacity: 1;
}

.icon-pink-fill {
  color: #ffccff !important;
  stroke: #ffccff !important;
}

.icon-blurple-fill {
  color: #5865f2 !important;
  fill: #5865f2 !important;
}

.btn-ghost-link {
  color: var(--muted-foreground) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-ghost-link:hover {
  color: var(--foreground) !important;
  opacity: 1;
}

/* ==========================================================
   Barre de navigation : Transparence en haut de page
   ========================================================== */
.navbar:not(.scrolled) {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* ==========================================================
   Hero : Fond sans limite & transitions d'ambiance
   ========================================================== */
.hero-section {
  position: relative;
  text-align: center;
  padding: 84px 20px 48px 20px !important;
  margin-bottom: 40px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.hero-backdrop {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 100vw;
  height: calc(100% + 220px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% 25%, rgba(255, 204, 255, 0.16) 0%, rgba(139, 92, 246, 0.18) 45%, transparent 80%);
}

.hero-shape {
  position: absolute;
  pointer-events: none;
}

.hero-shape-1 {
  width: 680px;
  height: 540px;
  top: 0%;
  left: 10%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transform: translate(-30px, 0) scale(1.15);
  background: radial-gradient(circle, rgba(255, 204, 255, 0.24) 0%, rgba(21, 5, 64, 0.5) 70%, transparent 100%);
  filter: blur(80px);
  opacity: 1;
}

.hero-shape-2 {
  width: 700px;
  height: 560px;
  top: 2%;
  right: 10%;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  transform: translate(30px, 0) scale(1.15);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.26) 0%, rgba(21, 5, 64, 0.55) 75%, transparent 100%);
  filter: blur(85px);
  opacity: 0.95;
}

.hero-shape-3 {
  width: 720px;
  height: 400px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 40% 60% / 40% 50% 50% 60%;
  background: radial-gradient(ellipse, rgba(244, 114, 182, 0.18) 0%, rgba(21, 5, 64, 0.35) 65%, transparent 100%);
  filter: blur(70px);
  opacity: 0.9;
}

.hero-fade-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 20%, var(--background) 90%);
  pointer-events: none;
}

.hero-section {
  padding-bottom: 52px;
}

@media (max-width: 580px) {
  .hero-section {
    padding: 36px 14px !important;
  }

  .hero-section h1 {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    word-break: normal !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-hero-custom {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 11px 16px;
    font-size: 0.9rem;
  }
}

/* Section fonctionnalités */
.showcase-section {
  margin: 40px 0 40px 0;
}

.section-heading-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.section-heading-centered h2 {
  font-size: 2rem;
  border-bottom: none;
  margin: 0 auto 12px auto;
  letter-spacing: 0.02em;
  color: var(--brand-pink, #ffccff);
  text-shadow: 0 0 18px rgba(255, 204, 255, 0.18);
}

/* Variante : titre blanc, seul le mot surligné reste rose */
.section-heading-centered.heading-white h2 {
  color: var(--foreground);
  text-shadow: none;
}

.section-heading-centered.heading-white h2 .highlight-pink {
  color: var(--brand-pink, #ffccff);
}

.section-heading-centered p {
  color: #f3d9f7;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin: 0;
}

.section-heading-centered + .section-heading-centered {
  margin-top: 64px;
}

.highlight-pink {
  color: var(--brand-pink, #ffccff);
}

/* ==========================================================
   Séparateur 3D d'ancrage en profondeur entre catégories :
   Entaille / chanfrein gravé dans la surface (effet 3D de matière),
   avec biseau d'ombre supérieure, creux d'ancrage et arête éclairée,
   qui s'estompe progressivement vers les côtés.
   ========================================================== */
.section-divider {
  position: relative;
  width: min(960px, 90%);
  height: 5px;
  margin: 54px auto 72px auto;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(12, 14, 18, 0.35) 60%,
      rgba(255, 255, 255, 0.04) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 2px 4px -1px rgba(0, 0, 0, 0.95),
    0 10px 24px -2px rgba(0, 0, 0, 0.6);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 15%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.25) 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 15%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.25) 75%, transparent 100%);
  pointer-events: none;
}

/* Pente d'ombre en surplomb au-dessus de l'entaille (effet de marche / profondeur) */
.section-divider::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: radial-gradient(ellipse 60% 100% at 50% 100%,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      transparent 80%);
  pointer-events: none;
}

/* Liseré de réflexion spéculaire sur le biseau inférieur */
.section-divider::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.35) 50%,
      transparent 100%);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
  pointer-events: none;
}

.section-divider.anim-scroll-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-divider.anim-scroll-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-divider {
    margin: 36px auto 52px auto;
    width: 94%;
  }

  .section-divider::before {
    height: 16px;
    top: -16px;
  }
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  min-width: 0;
  max-width: 100%;
}

.showcase-row.row-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.showcase-row.row-reverse .showcase-text-col {
  order: 2;
}

.showcase-row.row-reverse .showcase-visual-col {
  order: 1;
}

@media (max-width: 960px) {

  .showcase-row,
  .showcase-row.row-reverse {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 24px;
    margin-bottom: 48px;
  }

  .showcase-row.row-reverse .showcase-text-col {
    order: 1;
  }

  .showcase-row.row-reverse .showcase-visual-col {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.65rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .showcase-row,
  .showcase-row.row-reverse {
    padding: 0;
    gap: 20px;
    margin-bottom: 42px;
    overflow: visible;
  }

  .showcase-title {
    font-size: 1.35rem;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }

  .showcase-description {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .showcase-visual-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
  }
}

/* Titres et descriptions des fonctionnalités */
.showcase-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 16px 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  display: block;
  text-align: center;
}

.showcase-description {
  color: var(--text-description, #dcdee2);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.showcase-description code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

.showcase-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Aperçus de l'interface Discord */
.discord-mockup-scaler {
  width: 460px;
  max-width: 100%;
  position: relative;
  overflow: visible;
  margin: 0 auto;
  display: block;
}

.discord-chat-card {
  background: #313338;
  border-radius: 8px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #dbdee1;
  width: 460px;
  max-width: 100%;
  height: auto;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  transform-origin: top center;
  will-change: transform;
}

.discord-chat-card.card-automod {
  position: relative;
}

.discord-chat-card.card-automod::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2.5px;
  border-radius: 2px;
  background: #f23f43;
}

@media (max-width: 540px) {
  .discord-mockup-scaler {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .discord-chat-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    min-height: auto !important;
  }

  .discord-rank-container {
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .rank-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
  }

  .rank-username {
    font-size: 1.1rem !important;
  }

  .rank-level-label {
    font-size: 0.95rem !important;
  }
}

/* Message utilisateur */
.discord-cmd-invoker {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: #949ba4;
}

.discord-tree-svg {
  flex-shrink: 0;
  margin-right: 2px;
}

.discord-invoker-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f97316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.discord-invoker-name {
  font-weight: 500;
  color: #ffffff;
}

.discord-invoker-tag {
  font-size: 0.72rem;
  color: #dbdee1;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}

.discord-invoker-verb {
  color: #949ba4;
}

.discord-slash-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5865f2;
  font-weight: 500;
  background: rgba(88, 101, 242, 0.18);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* Réponse du bot */
.discord-bot-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.discord-bot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #150540;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-bot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-bot-content {
  flex: 1;
  min-width: 0;
}

.discord-author-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.discord-author-name {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

.discord-app-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #5865f2;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 3px;
}

.discord-time {
  font-size: 0.75rem;
  color: #949ba4;
}

/* Carte de niveau */
.discord-rank-container {
  background: #2b2d31;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  width: 100%;
  box-sizing: border-box;
}

.rank-avatar-wrapper {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  background: #f97316;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.rank-stats-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rank-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.rank-username {
  font-size: 1.28rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.rank-level-label {
  font-size: 1.05rem;
  font-weight: 400;
  color: #f2f3f5;
  white-space: nowrap;
}

.rank-pink-highlight {
  color: var(--brand-pink, #ffccff);
  font-weight: 500;
}

.rank-row-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: -1px;
  gap: 6px;
  min-width: 0;
}

.rank-xp-count,
.rank-position {
  font-size: 0.88rem;
  color: #949ba4;
  font-weight: 500;
  white-space: nowrap;
}

.rank-bar-track {
  width: 100%;
  height: 12px;
  background: #111214;
  border-radius: 9999px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.rank-bar-fill {
  width: 0%;
  height: 100%;
  background: #250860;
  border-radius: 9999px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Carte automod */
.discord-automod-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.discord-user-avatar-pink {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eb459e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-user-avatar-pink svg {
  width: 16px;
  height: 16px;
}

.discord-automod-body {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.discord-automod-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.discord-automod-user {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.85rem;
}

.discord-mentions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 5px;
  width: 100%;
}

.discord-mention {
  background: rgba(88, 101, 242, 0.3);
  color: #c9cdfb;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.74rem;
  white-space: nowrap;
}

.automod-blocked-alert {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: #b5bac1;
  font-size: 0.68rem;
  line-height: 1.35;
  margin-top: 4px;
  margin-bottom: 3px;
  width: 100%;
  box-sizing: border-box;
}

.automod-alert-shield {
  margin-top: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.automod-alert-shield svg {
  width: 12px;
  height: 12px;
}

.automod-alert-text {
  flex: 1;
  min-width: 0;
}

.automod-alert-text p {
  margin: 0;
  line-height: 1.35;
  color: #b5bac1;
  white-space: normal;
  word-break: normal;
}

.automod-quote-text {
  color: #b5bac1;
  margin-top: 2px !important;
  font-weight: 500;
  white-space: normal;
}

.automod-ephemeral-note {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.60rem;
  color: #80848e;
  margin-top: 4px;
  line-height: 1.35;
  white-space: normal;
  flex-wrap: wrap;
  width: 100%;
}

.automod-ephemeral-note svg {
  width: 11px;
  height: 11px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ephemeral-link {
  color: #00a8fc;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.ephemeral-link:hover {
  text-decoration: underline;
}

/* Carte économie */
.discord-embed-box {
  background: #2b2d31;
  border-left: 4px solid #5865f2;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.embed-author-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.embed-mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f97316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.embed-title-text {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

.embed-body-text {
  color: #dbdee1;
  font-size: 0.92rem;
}

/* Boutons et éléments des aperçus Discord */
.discord-actions-wrapper {
  margin-top: 10px;
}

.discord-blurple-btn {
  background: #5865f2;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: default;
  transition: background 0.2s ease;
}

.discord-blurple-btn:hover {
  background: #4752c4;
}

.discord-btn-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.discord-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  user-select: none;
  border: none;
}

.discord-icon-btn.is-blurple {
  background: #5865f2;
  color: #ffffff;
}

.discord-icon-btn.is-secondary {
  background: #4e5058;
  color: #dbdee1;
}

.discord-icon-btn.is-danger {
  background: #da373c;
  color: #ffffff;
}

.discord-icon-btn.is-disabled {
  opacity: 0.45;
  filter: grayscale(40%);
  cursor: not-allowed;
}

.embed-stats {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #dbdee1;
}

.embed-field {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
}

.embed-field-name {
  font-size: 0.83rem;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.embed-field-value {
  font-size: 0.8rem;
  color: #ffffff;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.embed-reason-text {
  color: #ffffff !important;
}

.embed-sep {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.discord-code {
  background: #1e1f22;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.74rem;
  color: #dbdee1;
}

.embed-footer-text {
  font-size: 0.72rem;
  color: #949ba4;
  margin-top: 8px;
}

.snipe-item {
  margin-bottom: 11px;
}

.snipe-item:last-of-type {
  margin-bottom: 6px;
}

.snipe-content {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.35;
}

.snipe-content strong {
  font-weight: 700;
  color: #ffffff;
}

.snipe-subtext {
  font-size: 0.74rem;
  color: #949ba4;
  margin-top: 2px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.discord-channel-pill {
  background: rgba(88, 101, 242, 0.28);
  color: #c9cdfb;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.25;
}

.discord-channel-pill .discord-hash {
  font-weight: 700;
  opacity: 0.8;
}

.avatar-pink {
  background: #eb459e !important;
}

.avatar-server {
  background: #5865f2 !important;
}

/* ==========================================================
   Section Complet : Sans encadrés fermés, aérée et moderne
   ========================================================== */
.complete-section {
  margin-top: 40px;
}

.complete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 36px;
}

@media (max-width: 768px) {
  .complete-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.complete-item {
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255, 204, 255, 0.16);
  border-radius: 0;
  padding: 6px 0 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
}

.complete-item:hover {
  border-left-color: var(--brand-pink);
}

.complete-item .feature-header {
  margin-bottom: 8px;
}

.complete-item .feature-desc {
  margin-bottom: 14px;
}

/* ==========================================================
   Section Nity+ ("Plus c'est pas assez ?") : Sans boîte fermée
   ========================================================== */
.premium-section {
  margin-top: 64px;
  margin-bottom: 80px;
  background: transparent !important;
  border: none !important;
}

.premium-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .premium-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
  }

  .premium-intro {
    max-width: 440px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
  }

  .premium-actions {
    max-width: 380px;
    margin: 4px auto 0 auto;
  }
}

.premium-intro {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  max-width: 270px;
}

.premium-intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.premium-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.premium-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  gap: 8px;
  margin: 0;
  line-height: 1;
}

.premium-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.premium-price-period {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.premium-price-tax {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.premium-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.btn-premium,
.btn-premium-secondary {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.92rem;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}

.btn-premium {
  background: #ffffff;
  color: #121318 !important;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-premium:hover {
  background: #f2f3f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-premium-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-premium-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.premium-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 36px;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .premium-perks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 0;
}

.perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 204, 255, 0.08);
  color: var(--brand-pink);
  flex-shrink: 0;
  margin-top: 1px;
}

.perk-content h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.perk-content p {
  font-size: 0.86rem;
  color: var(--muted-foreground);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================
   Tableau comparatif (Style Linear / Shadcn UI)
   ========================================================== */
.comparison-container {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-header {
  text-align: center;
  margin-bottom: 24px;
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  text-align: center;
}

.comparison-subtitle {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  margin: 0;
  max-width: 100%;
  line-height: 1.5;
}

.comparison-table-wrapper {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(22, 24, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: center;
  min-width: 780px;
}

.comparison-table thead th {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  vertical-align: bottom;
}

.comparison-table .col-feature {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table thead .col-feature {
  width: 28%;
  color: var(--muted-foreground);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-align: center;
}

.comparison-table thead .col-plan {
  width: 18%;
  text-align: center;
}

.th-plan-title {
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.col-nityplus .th-plan-title {
  color: var(--brand-pink) !important;
}



.comparison-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
  text-align: center;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr {
  transition: background-color 0.15s ease;
}

.comparison-table tbody tr:hover {
  background-color: rgba(255, 204, 255, 0.02);
}

.feature-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 3px;
  text-align: center;
}

.feature-note {
  font-size: 0.78rem;
  color: #dbdee1;
  line-height: 1.4;
  text-align: center;
}

/* Statuts textuels : Strictement 2 couleurs (blanc ou grisé) */
.cell-status {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.35;
  text-align: center;
}

/* Disponible / Inclus : Blanc */
.cell-status.is-available {
  color: #ffffff;
}

/* Non disponible ou Payant : Grisé */
.cell-status.is-unavailable {
  color: #71767b;
}

.cell-desc {
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.cell-desc:empty {
  display: none;
}

.cell-desc.is-available {
  color: #dbdee1;
}

.cell-desc.is-unavailable {
  color: #71767b;
}

/* Cellules sans description : centrage du texte seul */
.comparison-table tbody td.col-plan:has(.cell-desc:empty),
.comparison-table tbody td.col-plan:not(:has(.cell-desc)) {
  vertical-align: middle;
  text-align: center;
}

.comparison-table tbody td.col-plan:has(.cell-desc:empty) .cell-status,
.comparison-table tbody td.col-plan:not(:has(.cell-desc)) .cell-status {
  margin-bottom: 0;
}

/* Animations au scroll */

.anim-scroll-item {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scroll-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anim-scroll-item .showcase-text-col {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.anim-scroll-item.row-reverse .showcase-text-col {
  transform: translateX(16px);
}

.anim-scroll-item.in-view .showcase-text-col {
  opacity: 1;
  transform: translateX(0);
}

.anim-scroll-item .anim-live-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.anim-scroll-item.in-view .anim-live-card {
  opacity: 1;
  transform: translateY(0);
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(1) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(2) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(3) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(4) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bouton flottant du thème */
.preview-corner-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 28, 0.92);
  border: 1px solid rgba(255, 204, 255, 0.28);
  color: #ffffff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  min-width: 140px;
  height: 36px;
  overflow: hidden;
}

.preview-corner-btn:hover {
  background: rgba(30, 33, 42, 0.98);
  border-color: rgba(255, 204, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 15px rgba(255, 204, 255, 0.25);
  color: #ffffff !important;
}

.preview-corner-text {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
  white-space: nowrap;
}


/* ==========================================================
   Nouvelle présentation d'accueil (Approche 1 : Îlots équilibrés sans traits 3D)
   ========================================================== */
.v2-group-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.v2-group-header.v2-group-spaced {
  margin-top: 88px;
}

.v2-group-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: none;
  margin: 0 auto 10px auto;
  letter-spacing: -0.02em;
}

.v2-group-header p {
  color: var(--muted-foreground);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.v2-islands-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.v2-island {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 32px 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.v2-island:hover {
  background: rgba(255, 255, 255, 0.032);
  border-color: rgba(255, 204, 255, 0.14);
}

.v2-island.is-reversed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.v2-island.is-reversed .v2-island-text {
  order: 2;
}

.v2-island.is-reversed .v2-island-visual {
  order: 1;
}

.v2-island-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.v2-island-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
  border-bottom: none;
  padding-bottom: 0;
  text-align: left;
}

.v2-island-desc {
  color: #dcdee2;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.v2-island-desc code {
  background: rgba(88, 101, 242, 0.18);
  color: #dee0fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

.v2-island-points {
  list-style: none;
  padding: 0;
  margin: 2px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-island-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #c9ccd1;
  line-height: 1.45;
}

.v2-island-points li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-pink, #ffccff);
  font-weight: 700;
}

.v2-island-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.v2-cmd-tag {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e4e6eb;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 6px;
}

.v2-island-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

@media (max-width: 960px) {
  .v2-island,
  .v2-island.is-reversed {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }

  .v2-island.is-reversed .v2-island-text {
    order: 1;
  }

  .v2-island.is-reversed .v2-island-visual {
    order: 2;
  }
}

/* ==========================================================
   Encart Teaser Nity+ sur la page d'accueil
   ========================================================== */
.nity-plus-callout {
  margin: 72px 0 64px 0;
}

.callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 36px 40px;
  border-radius: 16px;
  background: radial-gradient(ellipse at top left, rgba(255, 204, 255, 0.09) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(22, 24, 30, 0.65) 100%);
  border: 1px solid rgba(255, 204, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.callout-text {
  max-width: 600px;
}

.callout-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  border-bottom: none;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.callout-desc {
  color: #dcdee2;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.callout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .callout-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 28px 22px;
    gap: 24px;
  }

  .callout-text {
    max-width: 100%;
  }

  .callout-actions {
    min-width: 0;
    width: 100%;
  }
}

/* ==========================================================
   Page Abonnement & Accordéon Comparatif Mobile (Solution 1)
   ========================================================== */
.abonnement-hero {
  padding-bottom: 24px !important;
  margin-bottom: 20px;
}

.abonnement-page-section {
  margin-top: 24px;
}

.comparison-mobile-accordion {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .comparison-desktop-only {
    display: none !important;
  }

  .comparison-mobile-accordion {
    display: flex;
  }
}

.comp-acc-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(22, 24, 30, 0.75);
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.comp-acc-item.is-open {
  border-color: rgba(255, 204, 255, 0.28);
  background: rgba(26, 28, 36, 0.9);
}

.comp-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.comp-acc-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comp-acc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.comp-acc-sub {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.comp-acc-chevron {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.comp-acc-chevron::before {
  content: "+";
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-pink, #ffccff);
  line-height: 1;
}

.comp-acc-item.is-open .comp-acc-chevron {
  background: rgba(255, 204, 255, 0.14);
}

.comp-acc-item.is-open .comp-acc-chevron::before {
  content: "−";
}

.comp-acc-panel {
  display: none;
  padding: 0 16px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-acc-item.is-open .comp-acc-panel {
  display: block;
}

.comp-acc-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}

.comp-bot-card {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-bot-card.is-nityplus {
  background: rgba(255, 204, 255, 0.055);
  border-color: rgba(255, 204, 255, 0.22);
}

.comp-bot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comp-bot-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.comp-bot-card.is-nityplus .comp-bot-name {
  color: var(--brand-pink, #ffccff);
}

.comp-bot-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.comp-bot-badge.is-available {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.comp-bot-badge.is-plus {
  background: rgba(255, 204, 255, 0.18);
  color: var(--brand-pink, #ffccff);
}

.comp-bot-badge.is-unavailable {
  background: rgba(255, 255, 255, 0.04);
  color: #8b9098;
}

.comp-bot-desc {
  margin: 6px 0 0 0;
  font-size: 0.8rem;
  color: #d1d5db;
  line-height: 1.4;
}


/* Bannière de bienvenue et ajustement Snipe sur les îlots v2 */
.discord-welcome-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 4px;
}

.v2-island .snipe-item {
  margin-bottom: 2px;
}

.v2-island .embed-footer-text {
  margin-top: 0;
}
