:root {
  --bg-dark: #0a0a0f;
  --bg-light: #14141c;
  --accent: #4cc9ff;
  --accent2: #7b2ff7;
  --text: #fff;
  --text-muted: #aaa;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
}

/* HEADER GLASS */
.glass-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(20,20,30,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1rem 2rem; /* ← C’est ça qui définit la hauteur */

}


.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
  height: 45px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.nav-links a {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.btn-discord {
  background: #5865F2;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  background: radial-gradient(circle at top left, #1a1a2e, #0a0a0f);
}

.hero-content h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-content h1 span {
  display: block;
  font-size: 1.6rem;
  color: var(--text);
}

.hero-content p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 500px;
}

.hero-buttons {
  margin-top: 2rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 1rem;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
  box-shadow: 0 0 12px var(--accent);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-secondary {
  background: #222;
  color: white;
}

.btn-secondary:hover {
  background: #333;
}

.hero-logo img {
  width: 220px;
  filter: drop-shadow(0 0 20px var(--accent));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  background: var(--bg-light);
}

.feature-card {
  background: #1c1c26;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 20px rgba(76,201,255,0.2);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent);
}

.feature-card h3 {
  margin-top: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  color: var(--text-muted);
}

.status-card {
  display: block;              /* ✅ rend toute la card cliquable */
  text-decoration: none;       /* ✅ enlève le soulignement */
  color: inherit;              /* ✅ garde la couleur du texte */
}

/* TITRE */
.title-gradient {
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -10px;
  margin-bottom: 40px;
}

/* COMMANDES */
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.command-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem;
  border-radius: 14px;
  text-align: center;
  transition: 0.3s;
}

.command-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(76,201,255,0.25);
}

.command-card i {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 10px;
}

/* TITRE CLEAN */
.title-clean {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.subtitle-clean {
  text-align: center;
  color: var(--text-muted);
  margin-top: -10px;
  margin-bottom: 40px;
}

/* SECTION COMMANDES */
.commands-section {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding-bottom: 50px;
}

.category-title {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--accent);
  font-weight: 600;
}

.commands-list {
  background: #14141c;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 15px 20px;
}

.cmd {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cmd:last-child {
  border-bottom: none;
}

.cmd-name {
  font-weight: 600;
  color: #fff;
}

.cmd-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.link-cmd {
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: 0.2s;
}

.link-cmd:hover {
  background: rgba(255,255,255,0.03);
  padding-left: 8px;
}

/* LOGO ACCEUIL */

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.logo-area:hover {
  opacity: 0.8;
}

/* PREMIUM STYLE */
/* TITRE */
.title-clean {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.subtitle-clean {
  text-align: center;
  color: var(--text-muted);
  margin-top: -10px;
  margin-bottom: 40px;
}

/* PLANS PREMIUM */
.premium-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.plan-card {
  background: #14141c;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(76,201,255,0.15);
}

.plan-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.plan-card .price {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.plan-card ul li {
  margin: 6px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-card .btn-primary {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}

.plan-card .btn-primary:hover {
  opacity: 0.85;
}

.popular {
  border: 1px solid var(--accent2);
  position: relative;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent2);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #fff;
}

/* BARRE COPYRIGHT */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
  background: #14141c; /* même couleur que tes cards */
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);

}

/* PAGE ACHAT */
.achat-container {
  display: flex;
  justify-content: center;
  align-items: center; /* centre verticalement */
  min-height: 45vh; /* hauteur suffisante pour centrer */
  padding: 2rem;
}

.achat-card {
  background: #14141c;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
}

.achat-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.achat-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s;
}

.achat-btn:hover {
  opacity: 0.85;
}

.achat-note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* DASHBOARD */
.dashboard {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding-bottom: 50px;
}

/* STAT CARDS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 40px;
}

.stat-card {
  background: #14141c;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(76,201,255,0.15);
}

.stat-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

/* SECTIONS */
.dashboard-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.dash-box {
  background: #14141c;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 12px;
  transition: 0.3s;
}

.dash-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(76,201,255,0.15);
}

.dash-box h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-box p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.dash-box .btn-primary {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}

.dash-box .btn-primary:hover {
  opacity: 0.85;
}

/* CENTRAGE 404 */

.page-404-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh; /* espace pour centrer sans toucher le footer */
  padding: 2rem;
}

/* Centrage page maintenance */
.maintenance-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 84vh;
  padding: 2rem;
}

/* Mini header pour la page maintenance */
.mini-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  background: transparent;
}

.mini-header .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-header .logo-img {
  height: 40px;
}

.mini-header .logo-text {
  font-size: 1.4rem;
  font-weight: 600;
}

/* Centrage page maintenance */
.donation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem;
}

/* bouton connexion discord */

.nav-links a,
.btn-discord {
  text-decoration: none !important;
}

/* support footer donation */

.support-footer {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 10px;
}

.support-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  opacity: 1.8;
}

.support-footer a:hover {
  opacity: 2;
}

/* version mobile */

@media screen and (max-width: 768px) {
 
}

@media (max-width:768px) {
  .nav-links {display: none;}
}

@media (max-width: 768px) {
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 10px;
  }
}

body, html {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

/* VERSION MOBILE OPTIMISÉE */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Navbar propre et visible */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    background: rgba(0,0,0,0.35);
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
  }

  /* Actions (lang + connexion) */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Bouton connexion adapté */
  .btn-discord {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Titre principal */
  h1, .hero-title {
    font-size: 1.8rem !important;
    text-align: center;
  }

  /* Sous-titre */
  .hero-subtitle {
    font-size: 1rem !important;
    text-align: center;
    padding: 0 10px;
  }

  /* Boutons principaux */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  /* Sections */
  section {
    padding: 20px 10px;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Version V2.2 */

@media (max-width: 768px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0,0,0,0.25);
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
  }

  .nav-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
  }

  .btn-discord {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  h1, .hero-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 20px 10px;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* Sécurisation globale pour mobile */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  img, video, iframe {
    max-width: 100%;
    height: auto;
  }

  /* Empêche un conteneur de dépasser */
  .container, main, section {
    width: 100%;
    max-width: 100%;
  }
}

/* Version PC agrandie automatiquement sur téléphone */
@media (max-width: 768px) {

  body {
    font-size: 18px !important;
  }

  h1, .hero-title {
    font-size: 32px !important;
  }

  h2 {
    font-size: 26px !important;
  }

  p, li, a, span {
    font-size: 18px !important;
  }

  .btn, .btn-discord, button {
    font-size: 18px !important;
    padding: 14px 20px !important;
  }

  .navbar, .nav-links, .nav-actions {
    transform: scale(1.2);
    transform-origin: top center;
  }
}