:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
  --bs-primary: #a00000;
  --bs-primary-rgb: 160, 0, 0;
  --bs-primary-border-subtle: #a00000;
  --bs-primary-bg-subtle: #220000;
  --bs-primary-color-contrast: #ffffff;

  --bs-link-color: var(--bs-primary);
  --bs-link-color-rgb: var(--bs-primary-rgb);
  --bs-focus-ring-color: rgba(var(--bs-primary-rgb), 0.25);
}

img {
  max-width: 100%;
  height: auto;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--bs-primary-border-subtle);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23adb5bd'/%3e%3c/svg%3e");
}

.form-range:focus::-webkit-slider-thumb,
.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-range::-webkit-slider-thumb,
.form-range::-moz-range-thumb {
  background-color: var(--bs-primary);
}

.form-range::-webkit-slider-thumb:active,
.form-range::-moz-range-thumb:active {
  background-color: var(--bs-primary-bg-subtle);
}

.btn-primary {
  --bs-btn-color: var(--bs-primary-color-contrast);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-primary-color-contrast);
  --bs-btn-hover-bg: #700000;
  --bs-btn-hover-border-color: #700000;
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-color: var(--bs-primary-color-contrast);
  --bs-btn-active-bg: #500000;
  --bs-btn-active-border-color: #500000;
  --bs-btn-disabled-color: var(--bs-primary-color-contrast);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-primary-color-contrast);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-color: var(--bs-primary-color-contrast);
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-disabled-color: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-link {
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}

.dropdown-menu,
.dropdown-menu-dark {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}

.nav-link:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--bs-primary);
}

.accordion {
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-border-color: var(--bs-primary-border-subtle);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

[data-bs-theme=dark] .accordion {
  --bs-accordion-active-color: #fff;
}

[data-bs-theme=dark] .accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.pagination {
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);
}

.progress,
.progress-stacked {
  --bs-progress-bar-bg: var(--bs-primary);
}

.list-group {
  --bs-list-group-active-bg: var(--bs-primary);
  --bs-list-group-active-border-color: var(--bs-primary);
}

.btn-close {
  --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.text-bg-primary {
  color: var(--bs-primary-color-contrast) !important;
}

.link-primary:hover,
.link-primary:focus {
  color: rgba(255, 50, 50, var(--bs-link-opacity, 1)) !important;
  text-decoration-color: rgba(255, 50, 50, var(--bs-link-underline-opacity, 1)) !important;
}

/* === BANDE DE SÉPARATION === */
.paladium-separator {
  height: 6px;
  background-color: #700000;
}

/* === HERO PALADIUM === */
.hero-paladium {
  position: relative;
  background: url("/storage/bg.webp") center center / cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  padding: 0;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  margin: 0;
}

.hero-overlay h1 {
  font-size: 3rem;
  color: white;
  text-shadow: 0 0 10px #a00000;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 2rem;
}

.hero-button {
  display: inline-block;
  background-color: var(--bs-primary);
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background-color: #cc0000;
}

/* Supprimer la carte blanche automatique de la page d'accueil */
body.page-home .card,
body.page-home .card-body,
body.page-home .page-title,
body.page-home .page-title + hr {
  display: none !important;
}

/* Supprimer marges et paddings sur la page d'accueil */
body.page-home .page-content,
body.page-home main > div,
body.page-home section,
body.page-home .container {
  margin: 0 !important;
  padding: 0 !important;
}

/* Supprimer les marges automatiques sur le body si le thème les applique */
body.page-home {
  margin: 0 !important;
  padding: 0 !important;
}
/* Fond général */
body {
    background-color: #1a1d20 !important;
    color: #f0f0f0 !important;
}

/* Fond des conteneurs et cartes */
.container,
.page-content,
.card,
.card-body,
.post-preview,
.home-container {
    background-color: transparent !important;
    color: #f0f0f0 !important;
    border: none !important;
}

/* Titres et liens */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

a {
    color: #ff4c4c !important;
}
a:hover {
    color: #ff8888 !important;
}
.launcher-block {
  text-align: center;
  margin: 80px auto;
}

.launcher-block h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 30px;
}

.btn-launcher {
  display: inline-block;
  background-color: #850606;
  color: #ffffff;
  padding: 14px 36px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-launcher:hover {
  background-color: #e65900;
  color: #ffffff;
}
.how-to {
  margin-top: 60px;
  color: #ddd;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.how-to h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.how-to p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.how-steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.how-steps li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

.how-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  color: white;
  background-color: transparent;
}

.how-steps h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: white;
}

.how-steps p {
  margin: 0;
  font-size: 1rem;
}
<!DOCTYPE html>
<html lang="fr">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Règlement du serveur - NightmareCraft</title>
  <link rel="stylesheet" href="/assets/css/base.css">
  <link rel="stylesheet" href="/assets/css/style.css">
  <style>
    body {
      background-color: #1a1d20;
      color: #f0f0f0;
      font-family: 'Segoe UI', sans-serif;
      padding: 40px 20px;
      max-width: 900px;
      margin: auto;
      line-height: 1.7;
    }

    h1, h2 {
      color: #ffffff;
      margin-bottom: 10px;
    }

    h1 span.orange {
      color: #ff0000;
    }

    h2 {
      font-size: 1.8rem;
      color: #ff0000;
      padding-left: 10px;
      margin-top: 50px;
    }

    section {
      margin-bottom: 50px;
    }

    ul {
      padding-left: 20px;
      margin-top: 15px;
    }

    li {
      margin-bottom: 12px;
      background-color: #222;
      padding: 10px 15px;
      border-radius: 6px;
    }

    li strong {
      color: #ffffff;
    }

    .warning {
      margin-top: 20px;
      font-weight: bold;
      color: #ff4d4d;
      font-size: 1.1rem;
    }

    .success {
      margin-top: 20px;
      font-weight: bold;
      color: #66ff66;
      font-size: 1.1rem;
    }
  </style>
</head>
<body>
  <h1><span class="orange">Règlement</span> du serveur</h1>

  <section>
    <h2>🗨️ Serveur Discord</h2>
    <ul>
      <li><strong>Respectez-vous mutuellement :</strong> aucun harcèlement, insulte, provocation ou comportement immature n'est toléré.</li>
      <li><strong>Évitez le spam et le flood :</strong> pas de pub, raids, emojis abusifs, farm d’XP, etc.</li>
      <li><strong>Un seul compte par personne :</strong> doubles comptes interdits sauf justification valable.</li>
      <li><strong>Respectez les salons :</strong> suivez le sujet indiqué pour chaque salon.</li>
      <li><strong>Publicité interdite :</strong> aucun lien pub en salon ou message privé.</li>
      <li><strong>Mentions limitées :</strong> utilisez-les avec modération uniquement pour demander de l’aide. Préférez créer un ticket.</li>
      <li><strong>Règles Discord :</strong> respectez les Community Guidelines et Conditions d’utilisation.</li>
      <li><strong>Faites preuve de logique :</strong> toutes les règles et sanctions ne sont pas listées. Restez cohérents et respectueux.</li>
    </ul>
    <p class="warning">⚠️ Le non-respect de ces règles peut entraîner un bannissement définitif du serveur Discord.</p>
  </section>

  <section>
    <h2>🎮 Serveur Minecraft</h2>
    <ul>
      <li><strong>Respect et bienveillance :</strong> envers joueurs et staff.</li>
      <li><strong>Pas de triche :</strong> mods interdits (x-ray, clients de triche, etc.).</li>
      <li><strong>Comportement approprié :</strong> pas de propos offensants ou attitude toxique.</li>
      <li><strong>Pas d’exploitation de bugs :</strong> signalez-les, ne les utilisez pas.</li>
      <li><strong>Grief et vol interdits :</strong> respectez les bases même non claim.</li>
      <li><strong>Pas de publicité :</strong> interdite sur le serveur et en MP.</li>
      <li><strong>Obéissez au staff :</strong> ils assurent une bonne expérience pour tous.</li>
      <li><strong>Faites preuve de logique :</strong> certaines règles ne sont pas listées mais évidentes.</li>
    </ul>
    <p class="warning">⚠️ Le non-respect de ces règles peut entraîner un bannissement définitif du serveur Minecraft.</p>
    <p class="success">🎮 Amusez-vous et profitez pleinement de l'aventure !</p>
  </section>
</body>
</html>
.video-tuto {
  margin-top: 20px;
  text-align: center;
}

.video-tuto a {
  display: inline-block;
  padding: 14px 28px;
  background-color: #850606;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(133, 6, 6, 0.4);
}

.video-tuto a:hover {
  background-color: #a00000;
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.5);
}
.recruitment-container {
  display: flex;
  justify-content: center;
  padding: 120px 20px;
  background-color: #1a1d20;
}

.recruitment-cards {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.recruitment-card {
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
}

.recruitment-card:hover {
  transform: scale(1.03);
}

.recruitment-card.dev {
  background-image: url("https://nightmarecraft.fr/storage/img/dev.png");
}

.recruitment-card.staff {
  background-image: url("https://nightmarecraft.fr/storage/img/staff.png");
}

.recruitment-card.builder {
  background-image: url("https://nightmarecraft.fr/storage/img/builders.png");
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-align: center;
}

.btn-apply {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #850606;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-apply:hover {
  background-color: #a00000;
}
/* === Animations horrifiques === */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 rgba(255, 0, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 0, 0, 0.5);
  }
}

@keyframes shake {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, 1px); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0); }
}

@keyframes fade-in-ghost {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === Application des animations === */
.hero-overlay h1 {
  animation: flicker 3s infinite;
}

.hero-button, .btn-launcher, .btn-apply {
  animation: pulse-red 2.5s infinite;
}

.recruitment-card:hover {
  animation: shake 0.4s;
}

section ul li {
  animation: fade-in-ghost 0.8s ease forwards;
  opacity: 0;
}

/* Délais progressifs pour effet apparition progressive */
section ul li:nth-child(1) { animation-delay: 0.1s; }
section ul li:nth-child(2) { animation-delay: 0.2s; }
section ul li:nth-child(3) { animation-delay: 0.3s; }
section ul li:nth-child(4) { animation-delay: 0.4s; }
section ul li:nth-child(5) { animation-delay: 0.5s; }
section ul li:nth-child(6) { animation-delay: 0.6s; }
section ul li:nth-child(7) { animation-delay: 0.7s; }
section ul li:nth-child(8) { animation-delay: 0.8s; }
/* === Fondu d'apparition générale === */
.fade-in {
  opacity: 0;
  animation: fadeInSmooth 1.5s ease-out forwards;
}

@keyframes fadeInSmooth {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Fondu de survol === */
.fade-hover {
  transition: all 0.4s ease;
}

.fade-hover:hover {
  filter: brightness(1.2);
  transform: scale(1.03);
  opacity: 0.9;
}

/* === Fade-in pour apparition progressive des sections === */
section,
.hero-paladium,
.launcher-block,
.how-to {
  opacity: 0;
  animation: fadeInSmooth 1.8s ease-out forwards;
}

section:nth-of-type(1) { animation-delay: 0.3s; }
section:nth-of-type(2) { animation-delay: 0.6s; }
.launcher-block { animation-delay: 1s; }
.how-to { animation-delay: 1.3s; }
.recruitment-separator-image {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 250px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.discord-widget {
.discord-badge {
  display: inline-flex;
  align-items: center;
  background-color: #5865F2;
  color: white;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: sans-serif;
  text-decoration: none;
  font-weight: bold;
  gap: 10px;
  transition: background-color 0.3s;
}

.discord-widget {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.titre-craft {
  text-align: center;
  color: #c084fc;
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.table-craft {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
}

.table-craft thead {
  background-color: #3b0764;
  color: #f3e8ff;
}

.table-craft th {
  padding: 12px;
  text-align: left;
  font-size: 0.95rem;
}

.table-craft td {
  padding: 16px;
  vertical-align: top;
  background-color: rgba(17, 17, 17, 0.85);
  border-radius: 8px;
}

.table-craft tbody tr {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease;
}

.table-craft tbody tr:hover {
  background-color: rgba(168, 85, 247, 0.1);
}

.icone-item {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

.image-craft {
  width: 128px;
  height: auto;
  border: 1px solid #9333ea;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.image-craft:hover {
  transform: scale(1.05);
}

.nom-item {
  font-weight: 600;
  color: white;
}

.sous-nom {
  font-size: 0.875rem;
  font-style: italic;
  color: #a3a3a3;
}

.badge-id {
  display: inline-block;
  background: #6b21a8;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 6px;
  margin-top: 6px;
  display: block;
}



