:root {
    --purple-deep: #1a0a2e;
    --purple-mid: #3d1a6e;
    --purple-bright: #7c3aed;
    --purple-glow: #a855f7;
    --purple-light: #c084fc;
    --accent: #e879f9;
    --gold: #d4af6a;
    --white: #f5f0ff;
    --text-body: #cbb8f0;
  }
 
  * { margin: 0; padding: 0; box-sizing: border-box; }
 
  html { scroll-behavior: smooth; }
 
  body {
    background: var(--purple-deep);
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
    cursor: default;
  }
 
  .stars-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .stars-layer::before,
  .stars-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.8) 0%, transparent 100%),
      radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,0.9) 0%, transparent 100%),
      radial-gradient(1px 1px at 55% 30%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.7) 0%, transparent 100%),
      radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.8) 0%, transparent 100%),
      radial-gradient(1px 1px at 15% 65%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 30% 80%, rgba(255,255,255,0.9) 0%, transparent 100%),
      radial-gradient(1px 1px at 50% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 65% 85%, rgba(255,255,255,0.7) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 80% 60%, rgba(255,255,255,0.8) 0%, transparent 100%),
      radial-gradient(1px 1px at 92% 75%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 5% 90%, rgba(255,255,255,0.9) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 45% 95%, rgba(255,255,255,0.7) 0%, transparent 100%),
      radial-gradient(1px 1px at 75% 5%, rgba(255,255,255,0.8) 0%, transparent 100%);
    animation: twinkle 6s ease-in-out infinite alternate;
  }
  .stars-layer::after {
    background-image:
      radial-gradient(1px 1px at 8% 25%, rgba(200,160,255,0.8) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 22% 55%, rgba(200,160,255,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 38% 35%, rgba(200,160,255,0.9) 0%, transparent 100%),
      radial-gradient(1px 1px at 60% 50%, rgba(200,160,255,0.5) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 78% 15%, rgba(200,160,255,0.7) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 35%, rgba(200,160,255,0.8) 0%, transparent 100%),
      radial-gradient(1px 1px at 18% 72%, rgba(200,160,255,0.6) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 55% 88%, rgba(200,160,255,0.9) 0%, transparent 100%),
      radial-gradient(1px 1px at 88% 90%, rgba(200,160,255,0.5) 0%, transparent 100%);
    animation: twinkle 4s ease-in-out infinite alternate-reverse;
  }
  @keyframes twinkle {
    0%   { opacity: 0.4; }
    100% { opacity: 1; }
  }
 
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 64px;
    background: rgba(18, 6, 40, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  }
 
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
  }
  .nav-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 80%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(168,85,247,0.5);
  }
  .nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60%;
  }
  .nav-logo-text {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
  }
 
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
  }
  .nav-links a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-body);
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
    background: rgba(168,85,247,0.2);
  }
  .nav-links a.active {
    background: var(--purple-bright);
    color: #fff;
  }
  .nav-search {
    background: none;
    border: none;
    color: var(--text-body);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.4rem;
    transition: color 0.2s;
  }
  .nav-search:hover { color: var(--accent); }
 
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    overflow: hidden;
  }
 
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.45) 0%, transparent 70%),
      radial-gradient(ellipse 50% 80% at 80% 50%, rgba(168,85,247,0.2) 0%, transparent 60%),
      radial-gradient(ellipse 50% 80% at 20% 50%, rgba(109,40,217,0.25) 0%, transparent 60%),
      linear-gradient(180deg, #0f0520 0%, #1a0a2e 40%, #0d0118 100%);
  }
 
  .hero-nebula {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 65%;
    background:
      radial-gradient(ellipse 70% 50% at 60% 20%, rgba(180,100,255,0.18) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 30% 30%, rgba(230,180,255,0.12) 0%, transparent 50%);
    mix-blend-mode: screen;
  }
 
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem 2rem;
    animation: fadeUp  1.2s ease both;
  }
 
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
 
  .hero-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 1.2rem;
    animation: fadeUp 1s 1s ease both;
  }
 
.hero-title {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 1.15; /* augmente l'espace vertical */
    letter-spacing: 0.04em;

    padding: 0.4em 0.2em; /* agrandit la box autour du texte */

    background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 35%, #a855f7 65%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Glow adouci (moins intense, plus propre) */
    text-shadow:
        0 0 4px rgba(168, 85, 247, 0.35),
        0 0 8px rgba(168, 85, 247, 0.25),
        0 0 14px rgba(168, 85, 247, 0.20);

    /* Drop-shadow réduit pour éviter les coupures */
    filter: drop-shadow(0 0 10px rgba(168,85,247,0.25));

    margin-bottom: 0.3rem;
    animation: fadeUp 1s 0.2s ease both;
}

 
  .hero-divider {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-bright), var(--accent), var(--purple-bright), transparent);
    margin: 0 auto 3rem;
    animation: fadeUp 1s 0.4s ease both;
  }
 
  .content-section {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    animation: fadeUp 1s 2s ease both;
  }
 
  .rule-card {
    background: rgba(60, 20, 110, 0.25);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s, background 0.3s;
  }
  .rule-card:hover {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(60, 20, 110, 0.38);
  }
 
  .rule-card.highlight {
    border-color: rgba(232, 121, 249, 0.3);
    background: rgba(90, 20, 130, 0.2);
  }
  .rule-card.highlight p {
    color: var(--accent);
    font-style: italic;
  }
 
  .rule-card p {
    font-size: clamp(1.5rem, 1.5vw, 1.15rem);
    line-height: 1.85;
    color: var(--text-body);
    text-align: center;
  }
 
  .rule-card.highlight p {
    font-size: clamp(1.5rem, 1.6vw, 1.2rem);
  }
 
  footer {
    position: relative;
    z-index: 2;
    background: rgba(10, 3, 25, 0.9);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    text-align: center;
    padding: 1.4rem 2rem;
  }
  .footer-copy {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    color: rgba(200, 180, 240, 0.55);
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
  }
  .footer-note {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    color: rgba(168, 85, 247, 0.6);
    font-style: italic;
  }
 
  .scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: fadeUp 1s 1s ease both;
  }
  .scroll-indicator span {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200,160,255,0.5);
  }
  .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1.5px solid rgba(168,85,247,0.5);
    border-bottom: 1.5px solid rgba(168,85,247,0.5);
    transform: rotate(45deg);
    animation: bounce 1.6s ease-in-out infinite;
  }
  @keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50%       { transform: rotate(45deg) translateY(5px); opacity: 1; }
  }
 
  @media (max-width: 640px) {
    nav { padding: 0 1.2rem; }
    .nav-links { gap: 0; }
    .nav-links a { padding: 0.4rem 0.5rem; font-size: 0.72rem; }
    .rule-card { padding: 1.8rem 1.5rem; }
    .content-section { padding: 3rem 1.2rem 4rem; }
  }
 /* ============================
   DROPDOWN — VERSION PROPRE
   ============================ */

/* Structure */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    min-width: 170px;
    padding: 10px 0;

    background: linear-gradient(
        145deg,
        rgba(25, 5, 55, 0.92),
        rgba(45, 15, 85, 0.90),
        rgba(70, 25, 120, 0.88)
    );

    border: 1px solid rgba(180, 100, 255, 0.25);
    border-radius: 10px;
    backdrop-filter: blur(18px);

    box-shadow:
        0 0 12px rgba(170, 80, 255, 0.35),
        0 0 22px rgba(150, 60, 255, 0.25);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease,
                transform 0.25s ease,
                visibility 0.25s ease;

    z-index: 9999;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(6px);
}

/* Items */
.dropdown li {
    list-style: none;
}

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #e8d9ff;
    border-radius: 9px;
    text-decoration: none;
    transition: 0.18s ease;

    /* reset propre */
    position: relative;
    border-bottom: none !important;
    overflow: visible;
}

/* Ligne animée en bas */
.dropdown li a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-bright), var(--accent));
    border-radius: 2px;
    transition: width 0.25s ease;
}

.dropdown li a:hover::after {
    width: 70%;
}

/* Hover néon */
.dropdown li a:hover {
    background: rgba(180, 100, 255, 0.22);
    color: #fff;
    text-shadow: 0 0 6px rgba(200, 120, 255, 0.8);
    box-shadow: inset 0 0 12px rgba(180, 100, 255, 0.35);
}

/* Séparateurs premium */
.dropdown li:not(:last-child) a {
    border-bottom: 1px solid rgba(200, 120, 255, 0.15) !important;
}

/* Flèche néon */
.has-dropdown > a {
    position: relative;
    padding-right: 26px;
}

.has-dropdown > a::after {
    content: "▾";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #c08aff;
    opacity: 0.8;
    transition: transform 0.25s ease,
                opacity 0.25s ease,
                text-shadow 0.25s ease,
                color 0.25s ease;
}

.has-dropdown:hover > a::after {
    transform: translateY(-50%) rotate(135deg);
    color: #e8b3ff;
    opacity: 1;
    text-shadow:
        0 0 6px rgba(200, 120, 255, 0.9),
        0 0 12px rgba(180, 80, 255, 0.7),
        0 0 18px rgba(160, 60, 255, 0.5);
}
@keyframes gtaZoom {
    0% {
        opacity: 0;
        transform: scale(1.12);
        filter: blur(12px);
    }
    60% {
        opacity: 1;
        transform: scale(1.02);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}
.hero {
    animation: gtaZoom 0.9s ease-out forwards;
}
/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, #3a0066, #1a002e);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #a855f7;
}

/* --- SECTIONS --- */
.content-section {
    width: 80%;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h3 {
    font-size: 2rem;
    color: #c084fc;
    margin-bottom: 20px;
}

/* --- FAQ ITEMS --- */
.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 3px solid #a855f7;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.faq-item h4 {
    font-size: 1.4rem;
    color: #e9d5ff;
    margin-bottom: 8px;
}

.faq-item p {
    color: #d1c4e9;
    line-height: 1.6;
}
/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, #4b0082, #1a0033);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.hero h2 {
    font-size: 3rem;
    text-shadow: 0 0 12px #b26bff;
}

/* --- SECTIONS --- */
.content-section {
    width: 80%;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h3 {
    font-size: 2rem;
    color: #d8b4fe;
    margin-bottom: 20px;
}

/* --- PATCH LIST --- */
.patch-list {
    list-style: none;
    padding-left: 0;
}

.patch-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid #c084fc;
    border-radius: 6px;
    color: #e5d9ff;
    font-size: 1.1rem;
}
