* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: #121212;
        }
        
        ::-webkit-scrollbar-thumb {
            background-color: #f85a25;
            border-radius: 20px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background-color: #d34d1f;
        }

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            background: #0a0a0a;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* Animated gradient background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(248, 90, 37, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(252, 180, 156, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 40% 90%, rgba(248, 90, 37, 0.05) 0%, transparent 50%);
            animation: gradientShift 15s ease infinite;
            z-index: 0;
        }

        @keyframes gradientShift {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.1);
            }
        }

        .page-wrapper {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header amélioré */
        .site-header {
            background: rgba(18, 18, 18, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 0.5rem 1rem;
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 80px);
            max-width: 1200px;
            height: 64px;
            border-radius: 50px;
            z-index: 1000;
            border: 1px solid rgba(248, 90, 37, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }

        .site-header:hover {
            border-color: rgba(248, 90, 37, 0.4);
            box-shadow: 0 8px 32px rgba(248, 90, 37, 0.1);
        }

        .header-container {
            display: flex;
            align-items: center;
            gap: 20px;
            justify-content: space-between;
            width: 100%;
        }

        .logo {
            width: 95px;
            height: 40px;
            object-fit: contain;
            filter: drop-shadow(0 0 10px rgba(248, 90, 37, 0.3));
        }

        .nav-menu {
            display: flex;
            gap: 20px;
            list-style: none;
            margin: 0 auto;
            margin-left: 0;
            padding: 0;
        }

        .nav-menu li a {
            color: #fcb49c;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-menu li a::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 80%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #f85a25, transparent);
            transition: transform 0.3s ease;
        }

        .nav-menu li a:hover {
            color: #fff;
            background: rgba(248, 90, 37, 0.1);
        }

        .nav-menu li a:hover::after {
            transform: translateX(-50%) scaleX(1);
        }

        .home-button,
        .discord-login {
            font-size: 16px;
            padding: 10px 20px;
            font-weight: bold;
            background: linear-gradient(135deg, #f85a25, #ff7043);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            cursor: pointer;
            border: none;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(248, 90, 37, 0.3);
        }

        .home-button::before,
        .discord-login::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .home-button:hover::before,
        .discord-login:hover::before {
            left: 100%;
        }

        .home-button:hover,
        .discord-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(248, 90, 37, 0.4);
        }

        .home-button svg,
        .discord-login svg {
            vertical-align: middle;
            margin-right: 8px;
            display: inline-block;
            transform: translateY(-1px);
        }

        /* Hero section redesignée */
        .hero {
            text-align: center;
            padding: 180px 20px 100px;
            background: transparent;
            color: #fcb49c;
            position: relative;
            overflow: hidden;
        }

        /* Effet de particules flottantes */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(248, 90, 37, 0.05) 1px, transparent 1px),
                radial-gradient(circle at 60% 70%, rgba(252, 180, 156, 0.05) 1px, transparent 1px),
                radial-gradient(circle at 80% 40%, rgba(248, 90, 37, 0.05) 1px, transparent 1px);
            background-size: 50px 50px, 80px 80px, 60px 60px;
            animation: particlesFloat 20s linear infinite;
            opacity: 0.3;
        }

        @keyframes particlesFloat {
            from {
                transform: translateY(0);
            }
            to {
                transform: translateY(-100px);
            }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 4em;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fcb49c, #f85a25);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: titleGlow 3s ease-in-out infinite;
            font-weight: 800;
            letter-spacing: -2px;
        }

        @keyframes titleGlow {
            0%, 100% {
                filter: drop-shadow(0 0 20px rgba(248, 90, 37, 0.3));
            }
            50% {
                filter: drop-shadow(0 0 40px rgba(248, 90, 37, 0.5));
            }
        }

        .hero p {
            font-size: 1.3em;
            margin-bottom: 40px;
            color: rgba(252, 180, 156, 0.9);
            font-weight: 300;
        }

        /* Boutons principaux améliorés */
        .btn-discord,
        .btn-panel {
            padding: 15px 40px;
            font-size: 1.2em;
            text-decoration: none;
            color: #fff;
            background: linear-gradient(135deg, #f85a25, #ff7043);
            border-radius: 30px;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-weight: 600;
            box-shadow: 0 10px 30px rgba(248, 90, 37, 0.3);
            position: relative;
            overflow: hidden;
            display: inline-block;
            margin: 10px;
        }

        .btn-discord::before,
        .btn-panel::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .btn-discord:hover::before,
        .btn-panel:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-discord:hover,
        .btn-panel:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(248, 90, 37, 0.4);
        }

        /* Section de fonctionnalités */
        .features-section {
            padding: 80px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .feature-card {
            background: rgba(30, 30, 30, 0.6);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(248, 90, 37, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(248, 90, 37, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            border-color: rgba(248, 90, 37, 0.5);
            box-shadow: 0 20px 40px rgba(248, 90, 37, 0.2);
        }

        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-icon {
            font-size: 3em;
            margin-bottom: 20px;
            display: block;
        }

        .feature-card h3 {
            color: #fcb49c;
            font-size: 1.5em;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .feature-card p {
            color: rgba(252, 180, 156, 0.8);
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }

        /* Toast buttons (gardés pour démo) */
        button[class^="test-toast-"] {
            padding: 10px 20px;
            font-size: 1em;
            border-radius: 8px;
            cursor: pointer;
            border: none;
            margin: 5px;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .test-toast-error {
            background-color: #f87171;
            color: white;
        }

        .test-toast-success {
            background-color: #34d399;
            color: white;
        }

        .test-toast-warn {
            background-color: #facc15;
            color: #000;
        }

        .test-toast-info {
            background-color: #3b82f6;
            color: white;
        }

        button[class^="test-toast-"]:hover {
            transform: scale(1.05);
        }

        /* Footer amélioré */
        .footer-cartouche {
            background: rgba(18, 18, 18, 0.8);
            backdrop-filter: blur(10px);
            padding: 60px 20px;
            margin-top: auto;
            border-top: 1px solid rgba(248, 90, 37, 0.2);
        }

        .footer-columns {
            display: flex;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            gap: 40px;
            flex-wrap: wrap;
        }

        .footer-columns > div {
            flex: 1 1 200px;
            min-width: 200px;
        }

        .footer-columns h5 {
            color: #fcb49c;
            font-size: 18px;
            margin-bottom: 20px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-columns h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, #f85a25, transparent);
        }

        .footer-columns a {
            display: block;
            text-decoration: none;
            color: rgba(252, 180, 156, 0.7);
            margin: 8px 0;
            transition: all 0.3s;
            padding-left: 0;
            position: relative;
        }

        .footer-columns a::before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            transition: all 0.3s;
        }

        .footer-columns a:hover {
            color: #fcb49c;
            padding-left: 20px;
        }

        .footer-columns a:hover::before {
            left: 0;
            opacity: 1;
        }

        .main-footer {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            color: rgba(252, 180, 156, 0.6);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5em;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .nav-menu {
                display: none;
            }
        }

        /* Ripple effect */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transform: scale(0);
            animation: ripple-animation 0.6s ease-out;
            pointer-events: none;
        }

        @keyframes ripple-animation {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }
        
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#toast-container {
  align-items: center;
  position: fixed;
  top: 50px;
  right: 3%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  animation: slideInUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  max-width: 350px;
  width: fit-content;
  overflow: hidden;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.toast-content span {
  flex: 1;
  word-break: break-word;
}

.toast-icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 8px;
}

.toast-default {
  background-color: #9ca3af; 
  color: white;
  border: 1px solid #6b7280;
  box-shadow: 0 4px 6px rgba(128, 128, 128, 0.2);
}

.toast-success {
  background-color: #34d399;
  color: white;
  border: 1px solid #059669;
  box-shadow: 0 4px 6px rgba(0, 255, 0, 0.2);
}

.toast-error {
  background-color: #f87171;
  color: white;
  border: 1px solid #dc2626;
  box-shadow: 0 4px 6px rgba(255, 0, 0, 0.2);
}

.toast-warning {
  background-color: #facc15;
  color: #000;
  border: 1px solid #a16207;
  box-shadow: 0 4px 6px rgba(255, 255, 0, 0.2);
}

.toast-info {
  background-color: #3b82f6;
  color: white;
  border: 1px solid #1d4ed8;
  box-shadow: 0 4px 6px rgba(0, 0, 255, 0.2);
}


.toast.slide-out {
  animation: slideOutDown 0.4s ease-in forwards;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  width: 100%;
  animation-name: shrink;
  animation-timing-function: linear;
  border-radius: 0 0 8px 8px;
}

.close-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7); 
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto; 
  padding-left: 10px;
  transition: opacity 0.2s ease;
}

.toast-warning .close-button {
  color: rgba(0, 0, 0, 0.7);
}

.close-button:hover {
  opacity: 0.8;
}

@keyframes shrink {
  from {
      width: 100%;
  }
  to {
      width: 0%;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Header - Menu principal */
.site-header {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    height: 64px;
    display: flex;
    align-items: center;
    border-radius: 800px;
    z-index: 1000;
  }
  
  .header-container {
    display: flex;
    align-items: center;
    gap:20px;
    justify-content: space-between;
    width: 100%;
  }
  
  .logo {
    width: 95px;
    height: 40px;
    object-fit: contain;
  }
  
  /* Centrer les éléments entre logo et login */
  .nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0 auto;
    margin-left: 0;
    padding: 0;
    align-items: left;
  }
  
  .nav-menu li a {
    color: #fcb49c;
    text-decoration: none;
    padding: 8px 16px;
  }
  
  .nav-menu li a:hover {
    color: #d2694b;
    text-decoration: underline;
  }
  
  .home-button {
    font-size: 16px;
    padding: 10px 20px;
    font-weight: bold;
    background-color: #f85a25;
    color: #ffc69c;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
  }
  
  .user-avatar {
    border-radius: 50%;
    height: 32px;
    width: 32px;
  }
  
  .discord-login {
    background-color: #f85a25;
    color: #ffc69c;
    font-size: 16px;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 20px;
    cursor: pointer;
  }

  .home-button,
.discord-login {
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
}

.home-button svg,
.discord-login svg {
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
  transform: translateY(-1px);
}

.home-button:hover,
.discord-login:hover {
    background-color: #f77246;
    color: #ffffff;
}
  
  /* Hamburger menu - caché par défaut */
  .hamburger-menu {
    display: none;
    font-size: 28px;
    color: #fcb49c;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
  }
  
  /* RESPONSIVE < 992px */
  @media (max-width: 992px) {
    .nav-menu,
    .home-button,
    .discord-login {
      display: none;
    }
  
    .hamburger-menu {
      display: block;
    }
  
    .header-container {
      justify-content: space-between;
    }
  }
  


/* Section principale */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #121212;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  background-color: #2a2a2a;
  color: #fcb49c;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero .btn-discord,
.hero .btn-panel {
  padding: 10px 20px;
  font-size: 1.1em;
  text-decoration: none;
  color: #fff;
  background-color: #F85A25; 
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero .btn-discord:hover,
.hero .btn-panel:hover {
  background-color: #d2694b; 
}

/*TEST AFFICHAGE TOAST*/
button[class^="test-toast-"] {
  padding: 10px 20px;
  font-size: 1.1em;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
  margin-top: 15px;
}

/* ERREUR */
.test-toast-error {
  background-color: #f87171;
  margin-left: 10px;
}
.test-toast-error:hover {
  background-color: #ef4444;
}

/* SUCCÈS */
.test-toast-success {
  background-color: #34d399;
  margin-left: 5px;
}
.test-toast-success:hover {
  background-color: #059669;
}

/* AVERTISSEMENT */
.test-toast-warn {
  background-color: #facc15;
  color: #000;
  margin-left: 5px;
}
.test-toast-warn:hover {
  background-color: #c9a100
;
}

/* INFORMATION */
.test-toast-info {
  background-color: #3b82f6;
  margin-left: 5px;
}
.test-toast-info:hover {
  background-color: #2563eb
;
}

/* -------------------- FOOTER CARTOUCHE -------------------- */
.footer-cartouche {
    background-color: #1e1e1e;
    padding: 40px 0px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-columns > div {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-columns h5 {
    background-color: none;
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-columns a {
    display: block;
    text-decoration: none;
    color: #fcb49c;
    margin: 4px 0;
    transition: 0.3s;
}

.footer-columns a:hover {
    color: #d2694b;
    text-decoration: underline;
}

/* -------------------- FOOTER PRINCIPAL -------------------- */

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.main-footer {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-footer p {
    margin: 0;
    margin-left: 15px;
    text-align: left;
    color: #ccc;
    font-size: 14px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch button {
    background: transparent;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.lang-switch img {
    width: 20px;
    height: 14px;
}

.cookie-bar {
    background-color: #2a2a2a;
    color: #ccc;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    display: none;
}

.cookie-bar p {
    margin: 0 0 10px;
    font-size: 14px;
}

.cookie-bar a {
    color: #f85a25;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-accept {
    background-color: #f85a25;
    color: #fff;
}

.btn-accept:hover {
    background-color: #f77246;
}

.btn-decline {
    background-color: #444;
    color: #ccc;
}

.btn-decline:hover {
    background-color: #666;
}

/*POUR TOUS LES BOUTONS DANS LE SELECTOR*/
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0.8);
    animation: ripple-animation 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
    z-index: 1;
    backface-visibility: hidden;
    transform-origin: center;
    will-change: transform, opacity;
}

@keyframes ripple-animation {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

