:root {
    --bg-primary: #0d0a14;
    --bg-secondary: #110d1a;
    --bg-card: rgba(22, 17, 33, 0.85);
    --bg-card-hover: rgba(29, 23, 48, 0.95);
    --purple: #9400ff;
    --purple-light: #b44aff;
    --purple-dim: #5c0a9e;
    --purple-glow: rgba(148, 0, 255, 0.35);
    --purple-subtle: rgba(148, 0, 255, 0.08);
    --purple-border: rgba(148, 0, 255, 0.25);
    --purple-bright: rgba(148, 0, 255, 0.55);
    --white: #ffffff;
    --text-main: #e8e0f5;
    --text-muted: #8a7aaa;
    --text-dim: #4a3d6a;
    --red: #e03060;
    --green: #30e090;
    --blue: #3090f5;
    --border: rgba(148, 0, 255, 0.12);
    --border-bright: rgba(148, 0, 255, 0.35);
    --shadow-purple: 0 0 40px rgba(148, 0, 255, 0.18);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --gradient-main: linear-gradient(135deg, #9400ff 0%, #b44aff 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--purple-light);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--white);
}

img {
    display: block;
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(13, 10, 20, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}

#navbar.scrolled {
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.8), 0 1px 0 var(--border-bright);
}

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

.nav-logo img {
    height: 38px;
    width: 38px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
}

.nav-logo-text span {
    color: var(--purple-light);
}

.nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color .2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-main) !important;
    color: #fff !important;
    padding: 4px 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: .76rem;
    border-radius: 4px;
    transition: opacity .2s, box-shadow .2s !important;
}

.nav-cta:hover {
    opacity: .88;
    color: #fff !important;
    box-shadow: 0 0 24px var(--purple-glow);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple-light);
    border-radius: 2px;
    transition: all .3s;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background: url('banniere.png') center center / cover no-repeat;
    filter: brightness(0.3) saturate(1.2);
    transform: scale(1.03);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(13, 10, 20, 0.2) 0%, rgba(13, 10, 20, 0.55) 55%, var(--bg-primary) 100%),
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(148, 0, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-logo-img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    margin: 0 auto 26px;
    filter: drop-shadow(0 0 28px rgba(148, 0, 255, 0.65));
    animation: fadeDown .6s ease both;
}

.hero-badge {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: .73rem;
    letter-spacing: 4px;
    color: var(--purple-light);
    border: 1px solid var(--border-bright);
    padding: 6px 20px;
    margin-bottom: 22px;
    background: rgba(148, 0, 255, 0.07);
    text-transform: uppercase;
    animation: fadeDown .65s ease .05s both;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: .95;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    animation: fadeDown .7s ease .1s both;
}

.hero-title .sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2.4rem);
    letter-spacing: 8px;
    color: var(--purple-light);
    font-weight: 700;
    margin-top: 6px;
    text-shadow: 0 0 30px rgba(148, 0, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 20px auto 42px;
    font-weight: 500;
    animation: fadeDown .7s ease .2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeDown .7s ease .3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .84rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(148, 0, 255, 0.3);
}

.btn-primary:hover {
    color: #fff;
    opacity: .9;
    box-shadow: 0 6px 30px rgba(148, 0, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(148, 0, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(148, 0, 255, 0.09);
    color: var(--white);
    border-color: var(--purple-light);
    transform: translateY(-2px);
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: .73rem;
    color: var(--purple-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 70px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 14px;
}

.section-title .accent {
    color: var(--purple-light);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.03rem;
    max-width: 560px;
    font-weight: 500;
}

.purple-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 56px 0;
}

.purple-divider::before,
.purple-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-dim), transparent);
}

.purple-divider-icon {
    width: 6px;
    height: 6px;
    background: var(--purple);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--purple-glow);
}

#stats {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.stat-item {
    text-align: center;
    padding: 28px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    letter-spacing: 2px;
    color: var(--purple-light);
    line-height: 1;
    text-shadow: 0 0 20px rgba(148, 0, 255, 0.4);
}

.stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: .74rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card:hover {
    border-color: var(--border-bright);
    box-shadow: var(--shadow-purple);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(148, 0, 255, 0.15), rgba(180, 74, 255, 0.08));
    border: 1px solid rgba(148, 0, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--purple-light);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .92rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-muted);
    font-size: .93rem;
    font-weight: 500;
    line-height: 1.7;
}

#reglement-hero {
    padding: 130px 0 60px;
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

#reglement-hero .reg-hero-bg {
    position: absolute;
    inset: 0;
    background: url('banniere.png') center center / cover no-repeat;
    filter: brightness(0.38) saturate(1.1);
    transform: scale(1.03);
}

#reglement-hero .reg-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(13, 10, 20, 0.15) 0%, rgba(13, 10, 20, 0.45) 60%, var(--bg-primary) 100%),
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(148, 0, 255, 0.12) 0%, transparent 70%);
}

#reglement-hero .section-inner {
    position: relative;
    z-index: 2;
}

#reglement-content {
    padding: 80px 0 120px;
}

.reglement-layout {
    display: grid;
    grid-template-columns: 265px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    align-items: start;
}

.reg-sidebar {
    position: sticky;
    top: 90px;
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.sidebar-nav::before {
    content: '';
    display: block;
    height: 3px;
    background: var(--gradient-main);
    flex-shrink: 0;
}

.sidebar-nav-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: .7rem;
    letter-spacing: 3px;
    color: var(--purple-light);
    text-transform: uppercase;
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
    flex-shrink: 0;
}

.sidebar-nav ul {
    list-style: none;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--purple-dim) transparent;
}

.sidebar-nav ul::-webkit-scrollbar {
    width: 3px;
}

.sidebar-nav ul::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav ul::-webkit-scrollbar-thumb {
    background: var(--purple-dim);
    border-radius: 2px;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
    border-left: 2px solid transparent;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    color: var(--white);
    background: rgba(148, 0, 255, 0.07);
    border-left-color: var(--purple-light);
}

.sidebar-nav ul li a .dot {
    width: 4px;
    height: 4px;
    background: var(--text-dim);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background .2s;
}

.sidebar-nav ul li a:hover .dot,
.sidebar-nav ul li a.active .dot {
    background: var(--purple-light);
    box-shadow: 0 0 6px var(--purple-glow);
}

.reg-main {
    min-width: 0;
}

.rule-section {
    margin-bottom: 58px;
    scroll-margin-top: 90px;
}

.rule-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.rule-section-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: .7rem;
    color: var(--purple-light);
    background: rgba(148, 0, 255, 0.1);
    border: 1px solid var(--border-bright);
    padding: 4px 10px;
    letter-spacing: 2px;
    border-radius: 3px;
    flex-shrink: 0;
}

.rule-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
}

.rule-section-icon {
    margin-left: auto;
    font-size: 1.3rem;
    opacity: .45;
}

.rule-intro {
    color: var(--text-muted);
    font-size: .98rem;
    font-weight: 500;
    margin-bottom: 18px;
    padding: 13px 17px;
    border-left: 3px solid var(--purple);
    background: rgba(148, 0, 255, 0.05);
    border-radius: 0 4px 4px 0;
}

.rule-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rule-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 15px;
    background: rgba(22, 17, 33, 0.7);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: .96rem;
    font-weight: 500;
    color: var(--text-main);
    transition: border-color .2s, background .2s;
}

.rule-list li:hover {
    border-color: rgba(148, 0, 255, 0.22);
    background: rgba(22, 17, 33, 0.9);
}

.rule-list li .bullet {
    color: var(--purple-light);
    font-size: .82rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.rule-list li.danger {
    border-color: rgba(224, 48, 96, 0.2);
    background: rgba(224, 48, 96, 0.04);
}

.rule-list li.danger .bullet {
    color: #f06080;
}

.rule-list li.important {
    border-color: rgba(148, 0, 255, 0.28);
    background: rgba(148, 0, 255, 0.06);
}

.alert-box {
    padding: 14px 18px;
    border: 1px solid;
    border-radius: 5px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 600;
    font-size: .96rem;
}

.alert-box.warning {
    border-color: rgba(148, 0, 255, 0.4);
    background: rgba(148, 0, 255, 0.07);
    color: #c898ff;
}

.alert-box.danger {
    border-color: rgba(224, 48, 96, 0.4);
    background: rgba(224, 48, 96, 0.06);
    color: #f09898;
}

.alert-box.info {
    border-color: rgba(48, 144, 245, 0.3);
    background: rgba(48, 144, 245, 0.05);
    color: #90c0f8;
}

.alert-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sanction-badge {
    display: inline-block;
    padding: 2px 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: .72rem;
    letter-spacing: 1.5px;
    border-radius: 3px;
    border: 1px solid rgba(224, 48, 96, 0.5);
    color: #f06080;
    background: rgba(224, 48, 96, 0.08);
}

.lexique-grid {
    display: grid;
    gap: 3px;
    margin-top: 8px;
}

.lexique-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 3px;
}

.lex-term {
    background: rgba(148, 0, 255, 0.1);
    border: 1px solid var(--border-bright);
    padding: 10px 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple-light);
    display: flex;
    align-items: center;
}

.lex-def {
    background: rgba(22, 17, 33, 0.7);
    border: 1px solid var(--border);
    padding: 10px 13px;
    font-size: .91rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.braquage-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 3px;
    margin-top: 14px;
    font-size: .92rem;
}

.braquage-table thead tr {
    background: rgba(148, 0, 255, 0.1);
}

.braquage-table th {
    padding: 11px 14px;
    text-align: left;
    font-family: 'Share Tech Mono', monospace;
    font-size: .7rem;
    letter-spacing: 2px;
    color: var(--purple-light);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-bright);
}

.braquage-table td {
    padding: 11px 14px;
    color: var(--text-main);
    font-weight: 500;
}

.braquage-table tbody tr {
    background: rgba(22, 17, 33, 0.7);
    transition: background .2s;
}

.braquage-table tbody tr:hover {
    background: rgba(22, 17, 33, 0.95);
}

.braquage-table td:first-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}

#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 28px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand .logo-wrap img {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.footer-brand .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
}

.footer-brand .logo-text span {
    color: var(--purple-light);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: .91rem;
    max-width: 260px;
    font-weight: 500;
}

.footer-col h4 {
    font-family: 'Share Tech Mono', monospace;
    font-size: .72rem;
    letter-spacing: 3px;
    color: var(--purple-light);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: .92rem;
    font-weight: 500;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: .83rem;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes dotFloat {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 0 8px var(--purple-glow);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 0 14px var(--purple-glow), 0 0 28px rgba(148, 0, 255, 0.15);
    }
}

@keyframes badgeSweep {
    0% {
        left: -40%;
    }

    100% {
        left: 120%;
    }
}

@keyframes gentleBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}



.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 0, 255, 0.15), transparent);
    animation: badgeSweep 4s ease-in-out 2s infinite;
    pointer-events: none;
}

.nav-logo img {
    transition: filter .3s ease;
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 12px rgba(148, 0, 255, 0.6));
}

.purple-divider-icon {
    animation: dotFloat 3s ease-in-out infinite;
}

.stat-item {
    transition: transform .3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 25px rgba(148, 0, 255, 0.5), 0 0 50px rgba(148, 0, 255, 0.15);
}

.btn-primary {
    transition: all .3s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(148, 0, 255, 0.45), 0 0 60px rgba(148, 0, 255, 0.15);
}

.btn-outline {
    transition: all .3s ease;
}

.btn-outline:hover {
    box-shadow: 0 4px 20px rgba(148, 0, 255, 0.2);
}

.faction-discord-btn:hover img {
    animation: gentleBob 1s ease-in-out infinite;
}

.footer-col ul li a {
    position: relative;
    display: inline-block;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--purple-light);
    transition: width .3s ease;
}

.footer-col ul li a:hover::after {
    width: 100%;
}


@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .reglement-layout {
        grid-template-columns: 1fr;
    }

    .reg-sidebar {
        position: static;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    #navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section-inner {
        padding: 0 20px;
    }

    .reglement-layout {
        padding: 0 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .lexique-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .braquage-table {
        font-size: .8rem;
    }

    .braquage-table th,
    .braquage-table td {
        padding: 8px 9px;
    }
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 10, 20, 0.98);
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.nav-links.open li {
    border-bottom: 1px solid var(--border);
}

.nav-links.open li a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
}

.faction-discord-btn {
    display: inline-flex;
    width: 150px;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 9px 8px;
    background: #5865F2;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
    transition: all .25s;
}

.faction-discord-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.faction-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.faction-invite-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
}

.faction-invite-panel.visible {
    max-height: 60px;
    opacity: 1;
    margin-top: 12px;
}

.faction-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    filter: brightness(0.3) saturate(1.1);
    transition: filter .4s ease, transform .4s ease;
    z-index: 0;
}

.feature-card:hover .faction-card-bg {
    filter: brightness(0.4) saturate(1.2);
    transform: scale(1.05);
}

.feature-card.has-bg {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card.has-bg .feature-icon,
.feature-card.has-bg .feature-title,
.feature-card.has-bg .feature-text,
.feature-card.has-bg .faction-discord-btn {
    position: relative;
    z-index: 1;
}

.faction-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 14px;
    filter: drop-shadow(0 2px 12px rgba(148, 0, 255, 0.3));
    position: relative;
    z-index: 1;
    transition: transform .3s ease;
}

.feature-card:hover .faction-logo {
    transform: scale(1.1);
}
/* ===== FOCUS VISIBLE — Accessibilité clavier ===== */
:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 3px;
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(148,0,255,0.4);
}

a:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
  border-radius: 2px;
}

body {
  animation: pageIn .35s ease both;
}

@keyframes pageIn {
  from { opacity: 0;  }
  to   { opacity: 1;  }
}


/* ===== CLASSES UTILITAIRES — remplacent les styles inline ===== */
.text-center      { text-align: center; }
.mx-auto          { margin-left: auto; margin-right: auto; }
.mt-0             { margin-top: 0; }
.mb-0             { margin-bottom: 0; }
.section-hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  margin-bottom: 12px;
}
.section-hero-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 20px rgba(148,0,255,0.6));
}
.section-desc-centered {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.03rem;
  max-width: 560px;
  font-weight: 500;
}
.tag-mb { margin-bottom: 12px; }

