* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1e1e;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* Navbar */

header nav {
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-name {
  font-size: 22px;
  color: white;
  font-weight: bold;
}

nav .logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #E53C00;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger img {
  height: 30px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
}


/* Accueil */

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-box {
  background: rgba(0, 0, 0, 0.75);
  padding: 50px 60px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  max-width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(236, 150, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-box h1 {
  font-size: 52px;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(236, 150, 0, 0.5), 0 0 20px rgba(236, 150, 0, 0.3);
}

.hero-box p {
  font-size: 22px;
  margin-bottom: 15px;
  color: #e0e0e0;
  font-weight: 400;
}

.hero-box .hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: #EC9600;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 18px 40px;
  background: linear-gradient(135deg, #EC9600 0%, #E53C00 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(236, 150, 0, 0.4), 0 0 30px rgba(236, 150, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.play-btn:hover::before {
  left: 100%;
}
  
.play-btn span {
  margin: 0;
  padding: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
}
  
.play-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(236, 150, 0, 0.5), 0 0 40px rgba(236, 150, 0, 0.3);
}

.content-section {
  padding: 80px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: white;
  background-color: #1e1e1e;
  position: relative;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #EC9600, transparent);
}

.content-section h2 {
  font-size: 42px;
  margin-bottom: 30px;
  color: #EC9600;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(236, 150, 0, 0.3);
}

.content-section p {
  font-size: 19px;
  margin-bottom: 25px;
  line-height: 1.8;
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-section a {
  display: inline-block;
  color: #EC9600;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 30px;
  border: 2px solid #EC9600;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-section a:hover {
  background: linear-gradient(135deg, #EC9600 0%, #E53C00 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(236, 150, 0, 0.3);
}

.socials-large {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.socials-large a {
  display: inline-block;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.socials-large img {
  height: 48px;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.socials-large a:hover {
  transform: translateY(-5px) scale(1.1);
  background: rgba(236, 150, 0, 0.15);
  border-color: #EC9600;
  box-shadow: 0 8px 20px rgba(236, 150, 0, 0.3);
}

.socials-large a:hover img {
  transform: scale(1.15);
  filter: brightness(1.2);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 50px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(236, 150, 0, 0.1);
  border-color: #EC9600;
  box-shadow: 0 8px 20px rgba(236, 150, 0, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.feature-item h3 {
  font-size: 20px;
  color: #EC9600;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-item p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

/* Features List */
.features-list {
  margin: 40px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-left: 3px solid #EC9600;
  transition: all 0.3s ease;
}

.feature-row:hover {
  background: rgba(236, 150, 0, 0.08);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-badge {
  font-size: 32px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 150, 0, 0.15);
  border-radius: 10px;
}

.feature-text {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
  color: #e0e0e0;
}

.feature-text strong {
  color: #EC9600;
  font-weight: 700;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-item {
    padding: 25px 15px;
  }
  
  .feature-icon {
    font-size: 40px;
  }
  
  .feature-item h3 {
    font-size: 18px;
  }
  
  .feature-item p {
    font-size: 15px;
  }
  
  .feature-row {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-badge {
    margin: 0 auto;
  }
}


/* Téléchargements */

.download-hero {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
  
.download-hero-content {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(3px);
  max-width: 90%;
}
  
.download-hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}
  
.download-hero-content p {
  font-size: 18px;
}

.download-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 80px 20px;
  gap: 80px;
  background-color: #1e1e1e;
}
  
.download-card {
  background-color: #2c2c2c;
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
  
.download-card img {
  width: 80px;
}
  
.download-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
  
.download-card p {
  font-size: 16px;
  margin-bottom: 20px;
}
  
.download-card .btn {
  display: inline-block;
  background-color: #00bfff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}
  
.download-card .btn:hover {
  background-color: #009acd;
}

#macos_dev {
    color: red;
}


/* Badge VirusTotal */
.vt-badge {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: bold;
    text-decoration: none;
    margin: 30px 0 0 0; /* marge pour bien séparer du texte et du bouton */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vt-badge .label {
    background-color: #444;
    color: white;
    padding: 6px 10px;
}

.vt-badge .status {
    background-color: #28a745;
    color: white;
    padding: 6px 10px;
}

.vt-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}


/* Footer */

footer {
  background-color: #111;
  text-align: center;
  padding: 17px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  width: 100%;
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .socials img {
  height: 24px;
  margin: 0;
  filter: none;
  transition: transform 0.2s ease;
}

footer .socials img:hover {
  transform: scale(1.2);
}


/* Parallax */

.parallax-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px; /* Compensation pour le header fixe */
}

.parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  will-change: transform;
  z-index: 1;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}


/* News */

.news-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 40px auto 0 auto; /* <-- marge haute augmentée */
  background-color: #1e1e1e;
  color: white;
}

.news-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* <-- 2 colonnes fixes */
  gap: 40px;
}

.news-card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.news-content .date {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 16px;
  color: #ccc;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

.news-more button {
  background: linear-gradient(#EC9600, #E53C00);
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}


/* Articles */

.article-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 20px;
  background-color: #1e1e1e;
  color: white;
}

.article-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 30px;
}

.article-meta .author {
  font-weight: bold;
  color: #ccc;
}

.article-meta .date::before {
  content: "•";
  margin: 0 6px;
  color: #666;
}

.article-banner {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 30px;
}

.article-content h2 {
  margin-top: 30px;
  font-size: 24px;
  color: #EC9600;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
}

.hidden-article {
  display: none;
}


/* Dynmap */

.dynmap-wrapper {
  min-height: calc(100vh - 70px); /* ✅ Tu peux garder ça */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1e1e1e;
  padding: 110px 20px 30px; /* ✅ Ajoute un peu de haut/bas pour bien respirer */
}

.dynmap-frame {
  width: 100%;
  max-width: 1600px; /* ✅ Large mais raisonnable */
  height: 85vh;       /* ✅ Presque tout l’écran */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  border: 4px solid #444;
  background-color: #000;
}

.dynmap-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.pn-category img {
  width: 30px;
  height: auto;
  position: relative;
  top: 7px;
  left: -5px;
}


/* --- Responsive Tablet --- */

@media screen and (max-width: 1024px) {
  .hero-box h1 {
    font-size: 36px;
  }

  .hero-box p,
  .download-hero-content p {
    font-size: 16px;
  }

  .play-btn {
    padding: 12px 24px;
    font-size: 0.9em;
  }

  .content-section {
    padding: 50px 15px;
  }

  .download-section {
    gap: 40px;
    padding: 60px 15px;
  }

  .socials-large img {
    height: 42px;
  }
}

/* --- Responsive Mobile --- */

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #111;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 15px;
  }

  nav ul.show {
    display: flex;
  }

  .hero-box h1 {
    font-size: 28px;
  }

  .hero-box p {
    font-size: 16px;
  }

  .play-btn {
    padding: 10px 20px;
    font-size: 0.85em;
  }

  .content-section {
    padding: 40px 15px;
  }

  .download-section {
    flex-direction: column;
    align-items: center;
    padding: 50px 15px;
  }

  .download-card {
    width: 90%;
  }

  .socials-large {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }

  .socials-large img {
    height: 40px;
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr; /* 1 colonne sur petit écran */
  }

  .news-title {
    font-size: 28px;        /* réduit un peu */
    line-height: 1.2;       /* resserre les lignes */
    margin-bottom: 30px;    /* garde un bon espacement en dessous */
  }

  .article-section h1 {
    font-size: 28px;        /* aussi réduire le titre de l’article */
    line-height: 1.2;
  }
}