/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

html{
  scroll-behavior:smooth;
  overflow-y:scroll;
  scrollbar-gutter:stable;
}

body{
  background:#0d0906;
  color:white;
  overflow-x:hidden;
}

/* NAVBAR */

.navbar{
  position:fixed;

  top:0;
  left:0;
  right:0;

  padding:20px 70px;

  box-sizing:border-box;

  display:flex;
  justify-content:space-between;
  align-items:center;

  z-index:1000;

  background:rgba(20,12,4,0.35);

  backdrop-filter:blur(12px);

  border-bottom:1px solid rgba(201,151,92,0.08);

  transition:0.3s;
}

.navbar nav a:hover{
  color:#c9975c;
}

/* LOGO */

.logo-container{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo-img{
  width:80px;
  height:80px;
  object-fit:contain;
}

.logo-text{
  font-size:34px;
  font-weight:900;
  letter-spacing:2px;

  color:#ffffff;

  text-shadow:0 0 20px rgba(201,151,92,0.45);
}

/* NAV */

nav{
  display:flex;
  gap:35px;
}

nav a{
  position:relative;

  color:white;

  text-decoration:none;

  font-size:16px;
  font-weight:500;

  transition:0.3s;
}

nav a:hover{
  color:#c9975c;
}

nav a::after{
  content:"";

  position:absolute;

  left:0;
  bottom:-8px;

  width:0%;
  height:2px;

  background:#c9975c;

  transition:0.3s;
}

nav a:hover::after{
  width:100%;
}

/* DASHBOARD BUTTON */

.dashboard-btn{
  background:linear-gradient(45deg,#8a5a1f,#4a2c00);

  color:white;

  text-decoration:none;

  padding:14px 28px;

  border-radius:12px;

  font-weight:bold;

  transition:0.3s;
}

.dashboard-btn:hover{
  transform:translateY(-3px);

  box-shadow:0 0 25px rgba(201,151,92,0.5);
}

/* HERO */

.hero{
  position:relative;

  width:100%;
  height:100vh;

  overflow:hidden;
}

/* VIDEO */

.hero-video{
  position:absolute;

  width:100%;
  height:100%;

  object-fit:cover;
}

/* OVERLAY */

.hero-overlay{
  position:absolute;

  width:100%;
  height:100%;

  background:
  linear-gradient(to bottom,
  rgba(13,9,6,0.5),
  rgba(13,9,6,0.8));

  z-index:1;
}

/* HERO CONTENT */

.hero-content{
  position:relative;

  z-index:2;

  width:100%;
  height:100%;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  text-align:center;

  padding:0 20px;
}

/* SUBTITLE */

.subtitle{
  background:rgba(201,151,92,0.12);

  border:1px solid rgba(201,151,92,0.25);

  color:#ffffff;

  padding:12px 25px;

  border-radius:50px;

  margin-bottom:25px;

  font-size:14px;

  backdrop-filter:blur(10px);
}

/* HERO TITLE */

.hero-content h1{
  font-size:160px;
  font-weight:900;

  letter-spacing:8px;

  color:#ffffff;

  text-shadow:
  0 0 15px rgba(201,151,92,0.55),
  0 0 35px rgba(255, 255, 255, 0.15);

  animation:glow 3s infinite alternate;
}

/* HERO PARAGRAPH */

.hero-content p{
  max-width:750px;

  margin-top:20px;

  font-size:22px;
  line-height:1.7;

  opacity:0.9;
}

/* BUTTONS */

.hero-buttons{
  display:flex;
  gap:20px;

  margin-top:40px;
}

/* MAIN BTN */

.main-btn{
  background:linear-gradient(45deg,#8a5a1f,#6b4000);

  color:rgb(245, 245, 245);

  text-decoration:none;

  padding:18px 35px;

  border-radius:15px;

  font-weight:bold;

  transition:0.3s;
}

.main-btn:hover{
  transform:translateY(-5px);

  box-shadow:0 0 30px rgba(201,151,92,0.5);
}

/* SECOND BTN */

.secondary-btn{
  border:1px solid rgba(201,151,92,0.3);

  background:rgba(201,151,92,0.06);

  backdrop-filter:blur(10px);

  color:white;

  text-decoration:none;

  padding:18px 35px;

  border-radius:15px;

  transition:0.3s;
}

.secondary-btn:hover{
  background:rgba(201,151,92,0.14);
}

/* HERO STATS */

.hero-stats{
  margin-top:70px;

  display:flex;
  gap:50px;
}

.stat{
  text-align:center;
}

.stat h2{
  font-size:42px;

  color:#c9975c;
}

.stat span{
  opacity:0.7;
}

/* SCROLL */

.scroll-down{
  position:absolute;

  bottom:40px;
  left:50%;

  transform:translateX(-50%);

  z-index:2;
}

.scroll-down span{
  display:block;

  width:30px;
  height:50px;

  border:2px solid white;

  border-radius:20px;

  position:relative;
}

.scroll-down span::before{
  content:"";

  position:absolute;

  top:10px;
  left:50%;

  transform:translateX(-50%);

  width:6px;
  height:6px;

  border-radius:50%;

  background:white;

  animation:scroll 2s infinite;
}

/* FEATURES */

.features{
  padding:120px 10%;

  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:35px;
}

.feature-card{
  background:#1a120a;

  border:1px solid rgba(201,151,92,0.08);

  padding:50px;

  border-radius:25px;

  transition:0.4s;
}

.feature-card:hover{
  transform:translateY(-10px);

  border-color:#c9975c;

  box-shadow:0 0 30px rgba(201,151,92,0.18);
}

.feature-card i{
  font-size:50px;

  color:#c9975c;

  margin-bottom:25px;
}

.feature-card h2{
  font-size:32px;

  margin-bottom:15px;
}

.feature-card p{
  opacity:0.75;

  line-height:1.6;
}

/* ABOUT */

.about{
  padding:100px 10%;

  display:grid;
  grid-template-columns:1fr 1fr;

  gap:60px;

  align-items:center;
}

.about-left h2{
  font-size:60px;

  margin-bottom:25px;
}

.about-left h2 span{
  color:#c9975c;
}

.about-left p{
  line-height:1.8;

  opacity:0.8;

  margin-bottom:35px;
}

/* IMAGE BOX */

.image-box{
  width: 100%;
  height:400px;

  border-radius:30px;

  background:url("../assets/images/bg.png");
  background-size:cover;
  background-position:center;

  border:1px solid rgba(201,151,92,0.1);

  box-shadow:0 0 40px rgba(201,151,92,0.15);
}

/* FOOTER */

footer{
  margin-top:80px;

  padding:60px 10%;

  background:#0a0603;

  border-top:1px solid rgba(201,151,92,0.08);

  text-align:center;
}

.footer-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
}

.footer-logo img{
  width:80px;
}

.footer-logo h2{
  color:#c9975c;

  font-size:36px;
}

.footer-links{
  margin:30px 0;

  display:flex;
  justify-content:center;
  gap:30px;
}

.footer-links a{
  color:white;

  text-decoration:none;

  opacity:0.7;

  transition:0.3s;
}

.footer-links a:hover{
  color:#c9975c;
}

footer p{
  opacity:0.5;
}

/* ANIMATIONS */

@keyframes glow{

  from{
    text-shadow:
    0 0 10px rgba(201,151,92,0.45),
    0 0 25px rgba(201,151,92,0.2);
  }

  to{
    text-shadow:
    0 0 20px rgba(201,151,92,0.85),
    0 0 45px rgba(201,151,92,0.4);
  }

}

@keyframes scroll{

  0%{
    opacity:0;
    top:10px;
  }

  50%{
    opacity:1;
  }

  100%{
    opacity:0;
    top:28px;
  }

}

/* ================================== */
/* PAGE REGLEMENT */
/* ================================== */

.page-header{
  position:relative;

  padding:180px 10% 80px;

  text-align:center;

  background:
  linear-gradient(to bottom,
  rgba(201,151,92,0.08),
  rgba(13,9,6,0) 60%);

  border-bottom:1px solid rgba(201,151,92,0.08);
}

.page-header .subtitle{
  display:inline-block;
}

.page-header h1{
  font-size:64px;
  font-weight:900;

  letter-spacing:3px;

  margin-top:20px;

  text-shadow:0 0 25px rgba(201,151,92,0.4);
}

.page-header p{
  max-width:650px;

  margin:20px auto 0;

  opacity:0.75;

  line-height:1.7;
}

/* LAYOUT: SOMMAIRE + CONTENU */

.reglement-wrapper{
  display:grid;
  grid-template-columns:280px 1fr;

  gap:60px;

  padding:80px 10% 120px;

  align-items:start;
}

/* SOMMAIRE (sticky) */

.reglement-toc{
  position:sticky;
  top:120px;

  background:#1a120a;

  border:1px solid rgba(201,151,92,0.08);

  border-radius:20px;

  padding:30px;
}

.reglement-toc h3{
  font-size:15px;
  letter-spacing:1px;
  text-transform:uppercase;

  color:#c9975c;

  margin-bottom:18px;
}

.reglement-toc ul{
  list-style:none;

  display:flex;
  flex-direction:column;
  gap:12px;
}

.reglement-toc a{
  color:rgba(255,255,255,0.75);

  text-decoration:none;

  font-size:14px;

  transition:0.25s;
}

.reglement-toc a:hover{
  color:#c9975c;

  padding-left:4px;
}

/* CONTENU (copié depuis GitBook) */

.reglement-content{
  max-width:850px;

  line-height:1.8;

  color:rgba(255,255,255,0.85);
}

.reglement-content h1{
  font-size:42px;

  margin:0 0 25px;

  color:#ffffff;
}

.reglement-content h2{
  font-size:30px;

  margin:55px 0 20px;

  padding-bottom:12px;

  color:#ffffff;

  border-bottom:1px solid rgba(201,151,92,0.15);
}

.reglement-content h2:first-child{
  margin-top:0;
}

.reglement-content h3{
  font-size:21px;

  margin:35px 0 15px;

  color:#c9975c;
}

.reglement-content p{
  margin-bottom:18px;

  opacity:0.85;
}

.reglement-content strong{
  color:#ffffff;
}

.reglement-content a{
  color:#c9975c;

  text-decoration:underline;

  text-underline-offset:3px;
}

.reglement-content ul,
.reglement-content ol{
  margin:0 0 20px 22px;

  display:flex;
  flex-direction:column;
  gap:10px;

  opacity:0.85;
}

.reglement-content li::marker{
  color:#c9975c;
}

.reglement-content blockquote{
  margin:25px 0;

  padding:20px 25px;

  background:rgba(201,151,92,0.08);

  border-left:3px solid #c9975c;

  border-radius:8px;

  font-style:italic;

  opacity:0.9;
}

.reglement-content hr{
  border:none;

  border-top:1px solid rgba(201,151,92,0.12);

  margin:45px 0;
}

.reglement-content table{
  width:100%;

  border-collapse:collapse;

  margin:25px 0;
}

.reglement-content th,
.reglement-content td{
  padding:14px 18px;

  border:1px solid rgba(201,151,92,0.12);

  text-align:left;
}

.reglement-content th{
  background:rgba(201,151,92,0.1);

  color:#c9975c;
}

.reglement-content code{
  background:rgba(201,151,92,0.12);

  padding:2px 8px;

  border-radius:6px;

  font-size:0.9em;
}

.reglement-content img{
  max-width:100%;

  border-radius:16px;

  margin:20px 0;
}

@media(max-width:1000px){

  .reglement-wrapper{
    grid-template-columns:1fr;
  }

  .reglement-toc{
    position:relative;
    top:0;
  }

}

@media(max-width:700px){

  .page-header{
    padding:150px 20px 60px;
  }

  .page-header h1{
    font-size:40px;
  }

  .reglement-wrapper{
    padding:60px 20px 80px;
  }

}

/* ================================== */
/* PAGE TUTORIEL */
/* ================================== */

/* TOUCHES CLAVIER */

.reglement-content kbd{

  display:inline-block;

  min-width:24px;

  padding:5px 10px;

  background:#1a120a;

  border:1px solid rgba(201,151,92,0.3);

  border-bottom:2px solid rgba(201,151,92,0.4);

  border-radius:6px;

  font-family:inherit;

  font-size:0.85em;

  font-weight:700;

  color:#c9975c;

  text-align:center;
}

/* CHEMIN / COMMANDE (ex: %localappdata%\FiveM\...) */

.reglement-content .code-block{

  display:block;

  background:#120c07;

  border:1px solid rgba(201,151,92,0.12);

  border-radius:12px;

  padding:16px 20px;

  margin:18px 0;

  font-family:'Courier New',monospace;

  font-size:14px;

  color:#e8caa4;

  overflow-x:auto;
}

/* ETAPES NUMEROTEES */

.tuto-steps{

  list-style:none;

  counter-reset:step;

  margin:25px 0 35px;

  display:flex;
  flex-direction:column;
  gap:22px;
}

.tuto-steps li{

  counter-increment:step;

  position:relative;

  padding-left:50px;

  opacity:0.9;
}

.tuto-steps li::before{

  content:counter(step);

  position:absolute;

  left:0;
  top:0;

  width:34px;
  height:34px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:linear-gradient(45deg,#8a5a1f,#6b4000);

  color:white;

  font-weight:700;

  font-size:14px;
}

/* TABLEAU DES TOUCHES */

.reglement-content .keybind-table td:first-child{

  width:160px;

  text-align:center;
}

/* RESPONSIVE */

@media(max-width:1200px){

  .hero-content h1{
    font-size:110px;
  }

}

@media(max-width:1000px){

  .features,
  .about{
    grid-template-columns:1fr;
  }

  nav{
    display:none;
  }

}

@media(max-width:700px){

  .navbar{
    padding:20px;
  }

  .hero-content h1{
    font-size:70px;
  }

  .hero-content p{
    font-size:18px;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .hero-stats{
    flex-direction:column;
    gap:25px;
  }

  .features{
    padding:80px 20px;
  }

  .about{
    padding:80px 20px;
  }

  .about-left h2{
    font-size:42px;
  }

}