/* POLICE ECRITURE */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* FOND DE PAGE */

body{
  background:#050505;
  color:white;
}


/* ===============================
              TOP BAR
================================ */


.topbar{
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;

  background:
    linear-gradient(
      135deg,
      rgba(0,0,0,0.95) 0%,
      rgba(25,18,5,0.9) 45%,
      rgba(0,0,0,0.95) 100%
    );

  box-shadow: 0 10px 40px rgba(0,0,0,.7);
}

.topbar-inner{
  max-width:1300px;
  margin:auto;
  padding:14px 28px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
}

.nav{
  display:flex;
  gap:18px;
  justify-self:start;
}

.nav-item{
  padding: 8px 14px;

  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;

  color: rgba(255,255,255,.65);
  text-decoration: none;

  border-radius: 8px;

  background: transparent;
  border: 1px solid transparent;
  outline: none;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
}

.nav-item:hover{
  color: #ffffff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}


/* CATEGORIE */


.nav-item:focus,
.nav-item:active{
  background: transparent;
  border-color: transparent;
  color: rgba(255,255,255,.65);
}

.brand{
  justify-self:center;
  text-align:center;
  font-weight:bold;
  letter-spacing:.25em;
  transform: translateX(-10px);
}

.lang-btn {
  background: transparent;
  border: 1px solid gold;
  color: gold;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
}

.lang-btn:hover {
  background: gold;
  color: black;
}


/* ===============================
                HERO
================================ */


.hero-holocube{
  height:100vh;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.95)),
    url("../images/background.png") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(circle, rgba(0,0,0,0) 45%, rgba(0,0,0,.85) 100%);
}

.hero-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  text-align:center;
}

.hero-logo{
  transform: translateX(0px);
  width:420px;
  max-width:90%;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.8));
}

.hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 46px;
  min-width: 160px;

  font-size: 1.05rem;
  font-weight: 700;

  color: #7a3f00;
  text-decoration: none;

  border-radius: 10px;
  border: 1px solid #f7c45f;

  text-align: center;
  line-height: 1;

  margin-top: 6px;
  
  background: linear-gradient(
    to bottom,
    #ffd978 0%,
    #f7b84a 55%,
    #f1a933 100%
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 6px 0 #c68c25,
    0 18px 36px rgba(0,0,0,.65);
}

.hero-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(0,0,0,.08),
    0 7px 0 #c9892b,
    0 24px 44px rgba(0,0,0,.65);
}

.hero-btn:active{
  transform: translateY(4px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 2px 0 #c68c25,
    0 10px 20px rgba(0,0,0,.6);
}

.hero-btn-wrap{
  transform: translateX(-17px); /* TON décalage */
}

.hero-ip{
  margin-top:10px;
  font-size:16px;
  letter-spacing:.32em;
  opacity:.7;
  text-align:center;
  transform: translateX(-18px);
}


/* ===============================
      SERVER INFO SECTION
================================ */


.server-info-section{
  padding: 70px 24px;
  background: #121212;
}

.server-info-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grap:  0;
  align-items: stretch;
}

/* BOX GAUCHE */
.server-info-box{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 36px;
}

.server-info-box h2{
  font-size: 1.8rem;
  margin-bottom: 24px;
  letter-spacing: .15em;
}

.server-info-list{
  list-style: none;
  margin-bottom: 20px;
}

.server-info-list li{
  display: flex;
  justify-content: space-between;

  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);

  font-size: 14px;
}

.server-info-list li span{
  color: rgba(255,255,255,.55);
}

.server-desc{
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  opacity: .8;
}

/* BOX DROITE */
.server-image-box{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 36px;
}

.server-image-box img{
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .server-info-container{
    grid-template-columns: 1fr;
  }
}


/* ===============================
      TITRE AU-DESSUS DES BOX
================================ */


.server-info-title{
  text-align: center;
  margin-bottom: 60px; /* espace entre titre et box */
}

.server-info-title h2{
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: .04em;
  
}



/* ===============================
   SECTEUR 2 — MINECRAFT PANEL 1
================================ */


.mc-text{
  font-family: "Minecraft", monospace;
}

.mc-section{
  font-family: "Minecraft", monospace;
}

.mc-left-panel{
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("../images/minecraft-bg.png") repeat;
  padding: 28px 30px;
  font-family: "Minecraft", monospace;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 4px rgba(0,0,0,.85),
    0 18px 36px rgba(0,0,0,.6);
}

/* Version */
.mc-version{
  font-size: 14px;
  margin-bottom: 26px;
}

.mc-version span{
  color: #ffd978;
}

/* Champs */
.mc-field{
  margin-bottom: 22px;
}

.mc-label{
  font-size: 12px;
  color: #cfcfcf;
  margin-bottom: 6px;
}

/* Faux input Minecraft */
.mc-input{
  background: #000;
  border: 2px solid #5a5a5a;

  padding: 10px 12px;
  font-size: 14px;

  color: #ffffff;
  font-family: "Minecraft", monospace;
  letter-spacing: .04em;
  line-height: 2.0;
}

/* IP cliquable */
.mc-copy{
  cursor: pointer;
}

.mc-copy:hover{
  border-color: #ffd978;
}

/* Message copié */
.mc-copied{
  margin-top: 6px;
  font-size: 11px;
  color: #7dff7d;
  opacity: 0;
  transition: opacity .2s ease;
}

.mc-copied.show{
  opacity: 1;
}

@font-face {
  font-family: "Minecraft";
  src: url("../fonts/Minecraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


/* ===============================
        SECTEUR 2 — PANEL 1
================================ */


.mc-left-panel{
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("../images/background-minecraft.webp") repeat;

  padding: 28px 30px;

  font-family: "Minecraft", monospace;
  color: #ffffff;

  box-shadow:
    inset 0 0 0 4px rgba(0,0,0,.85),
    0 18px 36px rgba(0,0,0,.6);
}

.mc-steps{
  list-style: none;
}

.mc-steps li{
  display: block;             
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
  padding-left: 34px;
}

/* NUMERO ETAPE */
.mc-step-num{
  position: absolute;
  left: 0;
  top: 2px;

  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #f3b63d;
  color: #000;

  font-size: 12px;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

/* Texte important */
.mc-left-panel strong{
  color: #ffffff;
  font-weight: normal;
}

/* Highlight version / IP */
.mc-highlight{
  color: #ffd978;
}

.mc-section{
  background:
    linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    url("../images/minecraft-bg.png") repeat;

  padding: 80px 40px;
}


/* ===============================
        SECTEUR 2 — PANEL 2
================================ */


.mc-right-panel{
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("../images/background-minecraft.webp") repeat;
  padding: 28px 30px;
  font-family: "Minecraft", monospace;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 4px rgba(0,0,0,.85),
    0 18px 36px rgba(0,0,0,.6);
}

/* Version */
.mc-version{
  font-size: 14px;
  margin-bottom: 26px;
}

.mc-version span{
  color: #ffd978;
}

/* Champs */
.mc-field{
  margin-bottom: 22px;
}

.mc-label{
  font-size: 12px;
  color: #cfcfcf;
  margin-bottom: 6px;
}

/* Faux input Minecraft */
.mc-input{
  background: #000;
  border: 4px solid #5a5a5a;
  padding: 10px 12px;
  font-size: 14px;
  color: #a3a3a3;
  font-family: "Minecraft", monospace;
  letter-spacing: .04em;
}

/* IP cliquable */
.mc-copy{
  cursor: pointer;
}

.mc-copy:hover{
  border-color: #ffd978;
}

/* Message copié */
.mc-copied{
  margin-top: 6px;
  font-size: 11px;
  color: #7dff7d;
  opacity: 0;
  transition: opacity .2s ease;
}

.mc-copied.show{
  opacity: 1;
}

.bold{
  font-weight: bold;
}


/* ===============================
      TRAILER INFO SECTION
================================ */


.trailer-section{
  width: 100%;
  padding: px 8px;
  text-align: center;
}

.trailer-title h2{
  margin: 0;
}

.trailer-title h2 span{
  display: block;
  margin-top: 8px;
  opacity: 0.9;
}

/* Centre + grande taille */
.trailer-video-wrapper{
  width: 100%;
  max-width: 1400px;
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trailer-video{
  position: relative;
  width: 100%;
  max-width: 1200px;   /* augmente à 1400px si tu veux */
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.7);
}

.trailer-video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* 1ère section (tuto) : réduit juste le bas */
.server-info-section:not(.trailer-section){
  padding-bottom: 40px !important;
}

/* trailer : réduit juste le haut */
.server-info-section.trailer-section{
  padding-top: 24px !important;
}


/* ===============================
            FOOTER
================================ */


.site-footer{
  background:
    linear-gradient(
      135deg,
      rgba(0,0,0,0.98) 0%,
      rgba(30,20,5,0.95) 45%,
      rgba(0,0,0,0.98) 100%
    );

  color: #cfcfcf;
  padding: 80px 24px 30px;
  font-size: 14px;
}

.footer-inner{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 60px;
  align-items: start;
}

/* Logo */
.footer-brand img{
  width: 160px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.8));
}

/* Colonnes */
.footer-col h4{
  font-size: 12px;
  letter-spacing: .18em;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col a{
  display: block;
  color: #9f9f9f;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .15s ease;
}

.footer-col a:hover{
  color: #f3b63d;
}

/* Réseaux */
.footer-socials{
  display: flex;
  gap: 18px;
  font-size: 20px;
}

.footer-socials a{
  color: #bfbfbf;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.footer-socials a:not(.footer-icon):hover{
  color: #f3b63d;
  transform: translateY(-2px);
}


/* Bas de footer */
.footer-bottom{
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #8f8f8f;
}

.footer-links a{
  color: #8f8f8f;
  text-decoration: none;
  margin-left: 16px;
}

.footer-links a:hover{
  color: #f3b63d;
}

/* Responsive */
@media (max-width: 900px){
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-socials{
    justify-content: flex-start;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links a{
    margin-left: 0;
    margin-right: 16px;
  }
}


/* ===== FIX DEFINITIF ICONES FOOTER ===== */

/* Annule toute couleur héritée des <a> */
.footer-socials a{
  color: inherit;
}

/* Couleur par défaut des SVG */
.footer-socials a svg{
  fill: #ffffff !important;
  transition: fill .15s ease, transform .15s ease;
}

/* Discord */
.footer-socials a.footer-icon:hover svg{
  fill: #5865F2 !important;
  transform: translateY(-2px);
}

/* YouTube */
.footer-socials a.footer-youtube:hover svg{
  fill: #FF0000 !important;
  transform: translateY(-2px);
}

/* Supprime tout fond / focus */
.footer-socials a,
.footer-socials a:hover,
.footer-socials a:focus,
.footer-socials a:active{
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* FOOTER BOTTOM - LIENS PROPRES */

.footer-bottom a,
.footer-bottom a:visited{
  color: #8f8f8f;        /* même couleur que le texte */
  text-decoration: none; /* enlève le soulignement */
}

.footer-bottom a:hover{
  color: #f3b63d;        /* jaune au hover (comme ton thème) */
  text-decoration: none;
}
