:root {
    --ls-bg: #070808;
    --ls-bg-soft: #0b0d0d;
    --ls-panel: #101313;
    --ls-panel-hover: #151918;

    --ls-text: #f3f3ef;
    --ls-muted: #8b918e;
    --ls-muted-light: #adb2af;

    --ls-red: #d63b26;
    --ls-red-dark: #9c281b;
    --ls-red-soft: rgba(214, 59, 38, 0.12);
    --ls-gold: #f4c542;
    --ls-silver: #c9cdd1;
    --ls-bronze: #c97b45;

    --ls-border: rgba(255, 255, 255, 0.08);
    --ls-border-strong: rgba(255, 255, 255, 0.13);

    --ls-container: 1240px;
    --ls-radius: 12px;
    --ls-radius-sm: 7px;
    --ls-transition: 180ms ease;

    --ls-shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.25);
    --ls-shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.35);
    --ls-header-height: 78px;
}


/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--ls-header-height) + 24px);
}

body {
    margin: 0;
    background: var(--ls-bg);
    color: var(--ls-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    font: inherit;
}

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

::selection {
    background: var(--ls-red);
    color: #fff;
}


/* Accessibilité — focus clavier visible, cohérent avec l'accent rouge */

:focus-visible {
    outline: 2px solid var(--ls-red);
    outline-offset: 3px;
    border-radius: 4px;
}


/* Respect des préférences de mouvement réduit */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* Scrollbar sur mesure, cohérente avec le thème sombre/rouge */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #23201f;
    border-radius: 10px;
    border: 2px solid var(--ls-bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ls-red-dark);
}

html {
    scrollbar-color: #23201f var(--ls-bg-soft);
    scrollbar-width: thin;
}


/* =========================================================
   CONTAINER
========================================================= */

.ls-container {
    width: min(var(--ls-container), calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   GLOBAL BACKGROUND
========================================================= */

.ls-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(214, 59, 38, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(214, 59, 38, 0.05),
            transparent 30%
        ),
        #070808;
}

.ls-background::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 85%
    );
}


/* =========================================================
   HEADER
========================================================= */

.ls-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(7, 8, 8, 0.76);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--ls-border);
}

.ls-nav {
    min-height: var(--ls-header-height);

    display: flex;
    align-items: center;

    gap: 28px;
}

.ls-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.ls-brand-logo {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.ls-brand-fallback {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--ls-red);

    color: #fff;

    font-size: 14px;
    font-weight: 900;

    transform: skew(-8deg);
}

.ls-brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.ls-brand-name strong {
    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 1px;
}

.ls-brand-name span {
    margin-top: 5px;

    color: var(--ls-red);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 4px;
}

.ls-nav-links {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: 24px;
}

.ls-nav-links a {
    position: relative;

    color: #919793;

    font-size: 13px;
    font-weight: 600;

    transition: color var(--ls-transition);
}

.ls-nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -29px;

    width: 0;
    height: 2px;

    background: var(--ls-red);

    transition: width var(--ls-transition);
}

.ls-nav-links a:hover,
.ls-nav-links a.active {
    color: #fff;
}

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

.ls-nav-actions {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-left: auto;
}

.ls-button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 800;

    transition:
        transform var(--ls-transition),
        background var(--ls-transition),
        border-color var(--ls-transition);
}

.ls-button:hover {
    transform: translateY(-1px);
}

.ls-button-discord {
    color: #fff;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid var(--ls-border);
}

.ls-button-outline {
    color: #d7dad8;

    background: transparent;

    border: 1px solid var(--ls-border-strong);
}

.ls-button-primary {
    color: #fff;

    background: var(--ls-red);
}

.ls-button-primary:hover {
    background: var(--ls-red-dark);
}

.ls-mobile-button {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    background: transparent;

    cursor: pointer;
}

.ls-mobile-button span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: #fff;

    transition: transform var(--ls-transition), opacity var(--ls-transition);
}


/* =========================================================
   MAIN
========================================================= */

.ls-main {
    min-height: 100vh;
}


/* =========================================================
   HERO
========================================================= */

.ls-hero {
    position: relative;

    min-height: 880px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.ls-hero-bg {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 8, 8, 0.98) 0%,
            rgba(7, 8, 8, 0.93) 28%,
            rgba(7, 8, 8, 0.72) 55%,
            rgba(7, 8, 8, 0.42) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 8, 8, 0.35),
            rgba(7, 8, 8, 0.10) 55%,
            rgba(7, 8, 8, 0.98)
        ),
        url("../images/hero.jpg")
        center / cover no-repeat;

    transform: scale(1.03);
}

.ls-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(214, 59, 38, 0.10),
            transparent 27%
        );
}

.ls-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 90px;
}

.ls-status {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 8px 12px;

    border: 1px solid var(--ls-border);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);

    color: #b7bcb9;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.ls-status span {
    position: relative;

    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: #44c96b;

    box-shadow: 0 0 12px rgba(68, 201, 107, 0.5);
}

.ls-status span::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 999px;

    background: #44c96b;

    animation: lsPulse 2.2s ease-out infinite;
}

@keyframes lsPulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(2.8);
    }
}

.ls-kicker {
    margin-top: 28px;

    color: var(--ls-red);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 4px;
}

.ls-hero h1 {
    max-width: 850px;

    margin: 12px 0 0;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: clamp(78px, 11vw, 155px);

    font-weight: 900;

    line-height: 0.82;

    letter-spacing: -4px;
}

.ls-hero h1 span {
    display: block;

    color: var(--ls-red);
}

.ls-hero-content > p {
    max-width: 590px;

    margin-top: 32px;

    color: #9ca29f;

    font-size: 15px;

    line-height: 1.9;
}

.ls-hero-buttons {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 32px;
}

.ls-main-button,
.ls-secondary-button {
    position: relative;

    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    padding: 0 24px;

    border-radius: 8px;
    overflow: hidden;

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1px;

    transition:
        transform var(--ls-transition),
        background var(--ls-transition),
        border-color var(--ls-transition);
}

.ls-main-button {
    color: #fff;

    background: var(--ls-red);

    box-shadow:
        0 10px 30px rgba(214, 59, 38, 0.18);
}

.ls-main-button:hover {
    background: var(--ls-red-dark);

    transform: translateY(-2px);
}

.ls-main-button span {
    font-size: 18px;
}

/* Effet de balayage lumineux au survol des boutons principaux */

.ls-main-button::before,
.ls-vote-button::before {
    content: "";

    position: absolute;
    top: 0;
    left: -60%;

    width: 40%;
    height: 100%;

    background: linear-gradient(
        115deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );

    transform: skewX(-20deg);
    transition: left 420ms ease;
    pointer-events: none;
}

.ls-main-button:hover::before,
.ls-vote-button:hover::before {
    left: 130%;
}

.ls-secondary-button {
    color: #e0e4e1;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--ls-border-strong);
}

.ls-secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);

    transform: translateY(-2px);
}

.ls-server-address {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 20px;

    margin-top: 42px;

    padding: 12px 12px 12px 18px;

    background: rgba(8, 9, 9, 0.82);

    border: 1px solid var(--ls-border);

    border-radius: 9px;
}

.ls-server-address div {
    display: flex;
    flex-direction: column;
}

.ls-server-address small {
    color: #666c69;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2px;
}

.ls-server-address strong {
    margin-top: 4px;

    color: #f0f2ef;

    font-size: 13px;

    letter-spacing: 0.5px;
}

.ls-copy-button {
    min-height: 38px;

    padding: 0 14px;

    border-radius: 6px;

    background: #1b1f1d;

    color: #fff;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition: background var(--ls-transition);
}

.ls-copy-button:hover {
    background: #242a27;
}

.ls-copy-button.copied {
    background: #1c5a34;
}


/* =========================================================
   STATS
========================================================= */

.ls-stats {
    position: relative;

    margin-top: -40px;

    z-index: 5;
}

.ls-stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: #0d1010;

    border: 1px solid var(--ls-border);

    border-radius: 10px;

    overflow: hidden;
}

.ls-stat {
    padding: 26px 25px;

    border-right: 1px solid var(--ls-border);
    transition: background var(--ls-transition);
}

.ls-stat:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ls-stat:last-child {
    border-right: 0;
}

.ls-stat strong {
    display: block;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 32px;
    font-weight: 900;

    line-height: 1;
}

.ls-stat span {
    display: block;

    margin-top: 7px;

    color: #727874;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================================
   SECTIONS
========================================================= */

.ls-section {
    padding: 135px 0;
}

.ls-dark-section {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.012),
            rgba(255, 255, 255, 0)
        );

    border-top: 1px solid rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.ls-section-heading {
    max-width: 740px;
}

.ls-section-heading.centered {
    margin-inline: auto;

    text-align: center;
}

.ls-section-label {
    color: var(--ls-red);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 3px;
}

.ls-section-heading h2 {
    margin: 10px 0 0;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: clamp(52px, 6vw, 80px);

    font-weight: 900;

    line-height: 0.9;

    letter-spacing: -2px;
}

.ls-section-heading h2 span {
    color: var(--ls-red);
}

.ls-section-heading p {
    max-width: 650px;

    margin-top: 24px;

    color: var(--ls-muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CARDS
========================================================= */

.ls-card-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 58px;

    border-top: 1px solid var(--ls-border);
    border-left: 1px solid var(--ls-border);
}

.ls-card {
    min-height: 290px;

    position: relative;

    padding: 34px;

    background: var(--ls-panel);

    border-right: 1px solid var(--ls-border);
    border-bottom: 1px solid var(--ls-border);

    transition:
        transform var(--ls-transition),
        background var(--ls-transition);
}

.ls-card:hover {
    background: var(--ls-panel-hover);

    transform: translateY(-4px);
}

.ls-card::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 46px;
    height: 3px;

    background: var(--ls-red);

    transition: width var(--ls-transition);
}

.ls-card:hover::after {
    width: 100%;
}

.ls-card small {
    color: var(--ls-red);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.ls-card h3 {
    margin-top: 65px;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 27px;
    font-weight: 900;

    text-transform: uppercase;
}

.ls-card p {
    margin-top: 12px;

    color: var(--ls-muted);

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   FEATURES
========================================================= */

.ls-features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 58px;

    border-top: 1px solid var(--ls-border);
    border-left: 1px solid var(--ls-border);
}

.ls-feature {
    min-height: 250px;

    padding: 30px;

    border-right: 1px solid var(--ls-border);
    border-bottom: 1px solid var(--ls-border);

    transition: background var(--ls-transition);
}

.ls-feature:hover {
    background: rgba(255, 255, 255, 0.015);
}

.ls-feature-number {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--ls-red-soft);

    color: var(--ls-red);

    border: 1px solid rgba(214, 59, 38, 0.18);

    font-size: 10px;
    font-weight: 900;

    border-radius: 8px;

    transition: background var(--ls-transition), border-color var(--ls-transition);
}

.ls-feature:hover .ls-feature-number {
    background: var(--ls-red);
    color: #fff;
    border-color: var(--ls-red);
}

.ls-feature h3 {
    margin-top: 28px;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 25px;
    font-weight: 900;

    text-transform: uppercase;
}

.ls-feature p {
    margin-top: 10px;

    color: var(--ls-muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.ls-cta {
    padding: 115px 0;

    border-bottom: 1px solid var(--ls-border);

    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(214, 59, 38, 0.11),
            transparent 30%
        ),
        #0b0d0d;
}

.ls-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.ls-cta h2 {
    margin: 9px 0 0;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: clamp(50px, 6vw, 85px);

    font-weight: 900;

    line-height: 0.87;

    letter-spacing: -2px;
}

.ls-cta h2 span {
    display: block;

    color: var(--ls-red);
}

.ls-cta p {
    margin-top: 18px;

    color: var(--ls-muted);

    font-size: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

.ls-footer {
    background: #060707;

    border-top: 1px solid var(--ls-border);
}

.ls-footer-inner {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 80px;

    padding: 70px 0;
}

.ls-logo-text {
    display: flex;
    align-items: baseline;

    gap: 7px;
}

.ls-logo-text span {
    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 22px;
    font-weight: 900;
}

.ls-logo-text strong {
    color: var(--ls-red);

    font-size: 10px;

    letter-spacing: 3px;
}

.ls-footer-brand p {
    max-width: 360px;

    margin-top: 18px;

    color: #676d69;

    font-size: 12px;

    line-height: 1.8;
}

.ls-footer-links {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 40px;
}

.ls-footer-links > div {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.ls-footer-links span {
    margin-bottom: 6px;

    color: #858b88;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.ls-footer-links a {
    color: #646a67;

    font-size: 12px;

    transition: color var(--ls-transition);
}

.ls-footer-links a:hover {
    color: #fff;
}

.ls-footer-bottom {
    border-top: 1px solid var(--ls-border);
}

.ls-footer-bottom .ls-container {
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: #4f5552;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

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

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

.ls-hero-content > * {
    animation: lsFadeUp 700ms ease both;
}

.ls-hero-content .ls-status {
    animation-delay: 80ms;
}

.ls-hero-content .ls-kicker {
    animation-delay: 140ms;
}

.ls-hero-content h1 {
    animation-delay: 200ms;
}

.ls-hero-content > p {
    animation-delay: 260ms;
}

.ls-hero-buttons {
    animation-delay: 320ms;
}

.ls-server-address {
    animation-delay: 380ms;
}


/* =========================================================
   AUTH — LOGIN / REGISTER
========================================================= */

body:has(form[action*="/user/login"]),
body:has(form[action*="/user/register"]) {
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(214, 59, 38, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(214, 59, 38, 0.05),
            transparent 30%
        ),
        #070808;
}

body:has(form[action*="/user/login"]) .ls-main,
body:has(form[action*="/user/register"]) .ls-main {
    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 130px 20px 80px;
}

body:has(form[action*="/user/login"]) .ls-main form,
body:has(form[action*="/user/register"]) .ls-main form {
    position: relative;

    width: min(100%, 500px);

    margin: 0 auto;

    padding: 42px;

    background:
        linear-gradient(
            180deg,
            rgba(17, 20, 20, 0.98),
            rgba(10, 12, 12, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 14px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);

    overflow: hidden;
}

body:has(form[action*="/user/login"]) .ls-main form::before,
body:has(form[action*="/user/register"]) .ls-main form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #9c281b,
            #d63b26,
            #ef6147
        );
}

body:has(form[action*="/user/login"]) .ls-main form label,
body:has(form[action*="/user/register"]) .ls-main form label {
    display: block;

    margin-bottom: 8px;

    color: #c7ccc9;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

body:has(form[action*="/user/login"]) .ls-main form .mb-3,
body:has(form[action*="/user/register"]) .ls-main form .mb-3,
body:has(form[action*="/user/login"]) .ls-main form .form-group,
body:has(form[action*="/user/register"]) .ls-main form .form-group {
    margin-bottom: 18px;
}

body:has(form[action*="/user/login"]) .ls-main form input[type="text"],
body:has(form[action*="/user/login"]) .ls-main form input[type="email"],
body:has(form[action*="/user/login"]) .ls-main form input[type="password"],
body:has(form[action*="/user/register"]) .ls-main form input[type="text"],
body:has(form[action*="/user/register"]) .ls-main form input[type="email"],
body:has(form[action*="/user/register"]) .ls-main form input[type="password"] {
    display: block;

    width: 100%;
    height: 48px;

    padding: 0 14px;

    box-sizing: border-box;

    background: #090c0c !important;

    color: #f2f3ef !important;

    border: 1px solid rgba(255, 255, 255, 0.10) !important;

    border-radius: 8px !important;

    outline: none !important;

    box-shadow: none !important;

    font-size: 13px;

    transition: border-color 180ms ease, box-shadow 180ms ease;
}

body:has(form[action*="/user/login"]) .ls-main form input:focus,
body:has(form[action*="/user/register"]) .ls-main form input:focus {
    background: #0d1111 !important;

    border-color: var(--ls-red) !important;

    box-shadow:
        0 0 0 3px rgba(214, 59, 38, 0.12) !important;
}

body:has(form[action*="/user/login"]) .ls-main form button[type="submit"],
body:has(form[action*="/user/login"]) .ls-main form input[type="submit"],
body:has(form[action*="/user/register"]) .ls-main form button[type="submit"],
body:has(form[action*="/user/register"]) .ls-main form input[type="submit"] {
    width: 100%;

    height: 50px;

    margin-top: 12px;

    background:
        linear-gradient(
            135deg,
            #d63b26,
            #bd3020
        ) !important;

    color: #fff !important;

    border: 0 !important;

    border-radius: 8px !important;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(214, 59, 38, 0.18);

    transition: transform 180ms ease, box-shadow 180ms ease;
}

body:has(form[action*="/user/login"]) .ls-main form button[type="submit"]:hover,
body:has(form[action*="/user/register"]) .ls-main form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(214, 59, 38, 0.25);
}

body:has(form[action*="/user/login"]) .ls-main h1,
body:has(form[action*="/user/login"]) .ls-main h2,
body:has(form[action*="/user/register"]) .ls-main h1,
body:has(form[action*="/user/register"]) .ls-main h2 {
    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 40px;

    font-weight: 900;

    text-transform: uppercase;
}

/* =========================================================
   LAST SURVIVORS — PROFILE / ACCOUNT
========================================================= */

body:has(form[action*="/profile/email"]),
body:has(form[action*="/profile/password"]) {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(214, 59, 38, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(214, 59, 38, 0.05),
            transparent 32%
        ),
        #070808;
}


/* =========================================
   ZONE PROFIL
========================================= */

body:has(form[action*="/profile/email"]) .ls-main,
body:has(form[action*="/profile/password"]) .ls-main {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    padding-top: 125px;
    padding-bottom: 100px;
}


/* =========================================
   TITRE
========================================= */

body:has(form[action*="/profile/email"]) .ls-main > h1,
body:has(form[action*="/profile/password"]) .ls-main > h1 {
    margin: 0 0 35px;

    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 56px;

    font-weight: 900;

    letter-spacing: -2px;

    line-height: 0.9;
}


/* =========================================
   ZONE IDENTITE
========================================= */

body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type,
body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type {
    position: relative;

    display: flex;

    align-items: center;

    gap: 28px;

    margin-bottom: 32px;

    padding: 32px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 21, 21, 0.98),
            rgba(10, 12, 12, 0.98)
        );

    border: 1px solid var(--ls-border);

    border-radius: 14px;

    overflow: hidden;

    box-shadow: var(--ls-shadow-lg);
}


/* Liseré rouge */

body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type::before,
body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: var(--ls-red);
}


/* Avatar */

body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type img,
body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type img {
    width: 118px !important;
    height: 118px !important;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 12px !important;

    border: 2px solid rgba(214, 59, 38, 0.45);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.45);
}


/* Pseudo */

body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type h2,
body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type h2 {
    margin: 0 0 10px;

    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 34px;

    font-weight: 900;
}


/* Informations */

body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type p,
body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type p {
    margin: 5px 0;

    color: #858b88;

    font-size: 12px;
}


/* =========================================
   BADGE ADMIN / RÔLE
========================================= */

body:has(form[action*="/profile/email"]) .ls-main .badge,
body:has(form[action*="/profile/password"]) .ls-main .badge {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding: 0 10px;

    margin-top: 7px;

    border-radius: 6px;

    background: rgba(214, 59, 38, 0.12);

    border: 1px solid rgba(214, 59, 38, 0.25);

    color: #ef705c;

    font-size: 9px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================
   INFORMATIONS
========================================= */

body:has(form[action*="/profile/email"]) .ls-main ul,
body:has(form[action*="/profile/password"]) .ls-main ul {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin: 0 0 32px;

    padding: 0;

    list-style: none;
}

body:has(form[action*="/profile/email"]) .ls-main li,
body:has(form[action*="/profile/password"]) .ls-main li {
    padding: 20px;

    background: rgba(15, 18, 18, 0.85);

    border: 1px solid var(--ls-border);

    border-radius: 10px;

    color: #8b918e;

    font-size: 11px;

    line-height: 1.7;

    transition: border-color var(--ls-transition);
}

body:has(form[action*="/profile/email"]) .ls-main li:hover,
body:has(form[action*="/profile/password"]) .ls-main li:hover {
    border-color: var(--ls-border-strong);
}

body:has(form[action*="/profile/email"]) .ls-main li strong,
body:has(form[action*="/profile/password"]) .ls-main li strong {
    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 20px;
}


/* =========================================
   ZONE FORMULAIRES
========================================= */

body:has(form[action*="/profile/email"]) .ls-main form,
body:has(form[action*="/profile/password"]) .ls-main form {
    position: relative;

    margin: 0;

    padding: 30px;

    background:
        linear-gradient(
            180deg,
            rgba(16, 19, 19, 0.98),
            rgba(10, 12, 12, 0.98)
        );

    border: 1px solid var(--ls-border);

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);
}


/* Deux colonnes */

body:has(form[action*="/profile/email"]) .ls-main form + form {
    margin-top: 20px;
}


/* Barre rouge */

body:has(form[action*="/profile/email"]) .ls-main form::before,
body:has(form[action*="/profile/password"]) .ls-main form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    border-radius: 12px 12px 0 0;

    background:
        linear-gradient(
            90deg,
            #9c281b,
            #d63b26,
            #ef6147
        );
}


/* Titres formulaires */

body:has(form[action*="/profile/email"]) .ls-main form h2,
body:has(form[action*="/profile/password"]) .ls-main form h2,
body:has(form[action*="/profile/email"]) .ls-main form h3,
body:has(form[action*="/profile/password"]) .ls-main form h3 {
    margin: 0 0 24px;

    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 24px;

    font-weight: 900;
}


/* Labels */

body:has(form[action*="/profile/email"]) .ls-main form label,
body:has(form[action*="/profile/password"]) .ls-main form label {
    display: block;

    margin-bottom: 8px;

    color: #9da39f;

    font-size: 9px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* Champs */

body:has(form[action*="/profile/email"]) .ls-main form input,
body:has(form[action*="/profile/password"]) .ls-main form input {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    box-sizing: border-box;

    background: #090c0c !important;

    border: 1px solid var(--ls-border-strong) !important;

    border-radius: 7px !important;

    color: #f4f5f2 !important;

    outline: none !important;

    box-shadow: none !important;

    font-size: 12px;
}

body:has(form[action*="/profile/email"]) .ls-main form input:focus,
body:has(form[action*="/profile/password"]) .ls-main form input:focus {
    border-color: var(--ls-red) !important;

    box-shadow:
        0 0 0 3px rgba(214, 59, 38, 0.10) !important;
}


/* Boutons */

body:has(form[action*="/profile/email"]) .ls-main form button,
body:has(form[action*="/profile/password"]) .ls-main form button {
    min-height: 44px;

    margin-top: 12px;

    padding: 0 18px;

    background: var(--ls-red) !important;

    border-radius: 7px;

    color: #fff !important;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background 180ms ease,
        transform 180ms ease;
}

body:has(form[action*="/profile/email"]) .ls-main form button:hover,
body:has(form[action*="/profile/password"]) .ls-main form button:hover {
    background: var(--ls-red-dark) !important;

    transform: translateY(-1px);
}


/* =========================================
   SECTIONS A2F
========================================= */

body:has(form[action*="/profile/email"]) .ls-main > a,
body:has(form[action*="/profile/password"]) .ls-main > a {
    display: inline-flex;

    align-items: center;

    min-height: 40px;

    padding: 0 14px;

    margin-bottom: 30px;

    background: rgba(214, 59, 38, 0.08);

    border: 1px solid rgba(214, 59, 38, 0.18);

    border-radius: 7px;

    color: #d95a47;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: background var(--ls-transition), border-color var(--ls-transition);
}

body:has(form[action*="/profile/email"]) .ls-main > a:hover,
body:has(form[action*="/profile/password"]) .ls-main > a:hover {
    background: rgba(214, 59, 38, 0.14);
    border-color: rgba(214, 59, 38, 0.30);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 850px) {

    body:has(form[action*="/profile/email"]) .ls-main,
    body:has(form[action*="/profile/password"]) .ls-main {
        width: min(
            100%,
            calc(100% - 30px)
        );

        padding-top: 100px;
    }

    body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type,
    body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type {
        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }

    body:has(form[action*="/profile/email"]) .ls-main ul,
    body:has(form[action*="/profile/password"]) .ls-main ul {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 520px) {

    body:has(form[action*="/profile/email"]) .ls-main > h1,
    body:has(form[action*="/profile/password"]) .ls-main > h1 {
        font-size: 43px;
    }

    body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type img,
    body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type img {
        width: 90px !important;
        height: 90px !important;
    }

    body:has(form[action*="/profile/email"]) .ls-main > div:first-of-type h2,
    body:has(form[action*="/profile/password"]) .ls-main > div:first-of-type h2 {
        font-size: 28px;
    }

    body:has(form[action*="/profile/email"]) .ls-main form,
    body:has(form[action*="/profile/password"]) .ls-main form {
        padding: 22px;
    }
}

/* =========================================================
   ALERTS
========================================================= */

.alert {
    position: relative;

    padding: 14px 16px 14px 20px;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.6;
}

.alert::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    border-radius: 8px 0 0 8px;
}

.alert-danger {
    background: rgba(214, 59, 38, 0.10);

    border: 1px solid rgba(214, 59, 38, 0.20);

    color: #e5aaa0;
}

.alert-danger::before {
    background: var(--ls-red);
}

.alert-success {
    background: rgba(52, 168, 83, 0.08);

    border: 1px solid rgba(52, 168, 83, 0.18);

    color: #9ad4a9;
}

.alert-success::before {
    background: #34a853;
}


/* =========================================================
   ACTUALITÉS
========================================================= */

.ls-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 58px;
}

.ls-news-card {
    background: var(--ls-panel);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    overflow: hidden;
    transition: transform var(--ls-transition), border-color var(--ls-transition);
}

.ls-news-card:hover {
    transform: translateY(-4px);
    border-color: var(--ls-border-strong);
}

.ls-news-image {
    position: relative;
    height: 168px;
    background:
        linear-gradient(180deg, rgba(7, 8, 8, 0) 40%, rgba(7, 8, 8, .9)),
        center / cover no-repeat;
    background-color: #14100f;
}

.ls-news-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    background: var(--ls-red);
    border-radius: 5px;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ls-news-body {
    padding: 22px 24px 26px;
}

.ls-news-date {
    color: #666c69;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ls-news-body h3 {
    margin: 10px 0 0;
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
}

.ls-news-body p {
    margin-top: 10px;
    color: var(--ls-muted);
    font-size: 12px;
    line-height: 1.75;
}

.ls-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--ls-red);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: gap var(--ls-transition);
}

.ls-news-card:hover .ls-news-link {
    gap: 10px;
}


/* =========================================================
   CLASSEMENT DES FACTIONS
========================================================= */

.ls-leaderboard {
    margin-top: 58px;
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    overflow: hidden;
}

.ls-leaderboard-row {
    position: relative;

    display: grid;
    grid-template-columns: 60px 1fr 140px 120px;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: var(--ls-panel);
    border-bottom: 1px solid var(--ls-border);
    border-left: 3px solid transparent;
    transition: background var(--ls-transition), border-color var(--ls-transition);
}

.ls-leaderboard-row:last-child {
    border-bottom: 0;
}

.ls-leaderboard-row:hover {
    background: var(--ls-panel-hover);
}

.ls-leaderboard-rank {
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #4f5552;
}

.ls-leaderboard-row.top-1 { border-left-color: var(--ls-gold); }
.ls-leaderboard-row.top-2 { border-left-color: var(--ls-silver); }
.ls-leaderboard-row.top-3 { border-left-color: var(--ls-bronze); }

.ls-leaderboard-row.top-1 .ls-leaderboard-rank { color: var(--ls-gold); }
.ls-leaderboard-row.top-2 .ls-leaderboard-rank { color: var(--ls-silver); }
.ls-leaderboard-row.top-3 .ls-leaderboard-rank { color: var(--ls-bronze); }

.ls-leaderboard-faction strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.ls-leaderboard-faction span {
    display: block;
    margin-top: 3px;
    color: var(--ls-muted);
    font-size: 10px;
}

.ls-leaderboard-power {
    text-align: right;
    color: var(--ls-red);
    font-size: 15px;
    font-weight: 900;
}

.ls-leaderboard-power small {
    display: block;
    margin-top: 2px;
    color: #666c69;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ls-leaderboard-members {
    text-align: right;
    color: var(--ls-muted);
    font-size: 11px;
}


/* =========================================================
   VOTE & RÉCOMPENSES
========================================================= */

.ls-vote-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 58px;
}

.ls-vote-card {
    padding: 28px 22px;
    text-align: center;
    background: var(--ls-panel);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    transition: transform var(--ls-transition), background var(--ls-transition);
}

.ls-vote-card:hover {
    transform: translateY(-4px);
    background: var(--ls-panel-hover);
}

.ls-vote-card strong {
    display: block;
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.ls-vote-card > span {
    display: block;
    margin-top: 8px;
    color: var(--ls-muted);
    font-size: 11px;
}

.ls-vote-reward {
    display: inline-block;
    margin-top: 16px;
    padding: 7px 10px;
    background: var(--ls-red-soft);
    border: 1px solid rgba(214, 59, 38, 0.18);
    border-radius: 6px;
    color: #ef705c;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ls-vote-button {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 18px;
    background: var(--ls-red);
    border-radius: 7px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background var(--ls-transition);
}

.ls-vote-button:hover {
    background: var(--ls-red-dark);
}


/* =========================================================
   GALERIE
========================================================= */

.ls-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 58px;
}

.ls-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #14100f center / cover no-repeat;
    border: 1px solid var(--ls-border);
    border-radius: 10px;
}

.ls-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.ls-gallery-item:hover img {
    transform: scale(1.06);
}

.ls-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.85));
    opacity: 0;
    transition: opacity var(--ls-transition);
}

.ls-gallery-item:hover::after {
    opacity: 1;
}

.ls-gallery-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;

    color: #fff;
    font-size: 11px;
    font-weight: 800;

    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--ls-transition), transform var(--ls-transition);
}

.ls-gallery-item:hover .ls-gallery-caption {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ÉQUIPE
========================================================= */

.ls-team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 58px;
}

.ls-team-card {
    padding: 24px 18px;
    text-align: center;
    background: var(--ls-panel);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
    transition: transform var(--ls-transition), background var(--ls-transition);
}

.ls-team-card:hover {
    transform: translateY(-4px);
    background: var(--ls-panel-hover);
}

.ls-team-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(214, 59, 38, 0.35);
    transition: border-color var(--ls-transition);
}

.ls-team-card:hover .ls-team-avatar {
    border-color: var(--ls-red);
}

.ls-team-card h3 {
    margin-top: 16px;
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.ls-team-role {
    display: inline-flex;
    margin-top: 9px;
    padding: 4px 9px;
    background: var(--ls-red-soft);
    border: 1px solid rgba(214, 59, 38, 0.18);
    border-radius: 5px;
    color: #ef705c;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   FAQ
========================================================= */

.ls-faq-list {
    max-width: 820px;
    margin: 58px auto 0;
}

.ls-faq-item {
    border-bottom: 1px solid var(--ls-border);
}

.ls-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 2px;

    color: #fff;
    font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;

    list-style: none;
    cursor: pointer;

    transition: color var(--ls-transition);
}

.ls-faq-item summary:hover {
    color: var(--ls-red);
}

.ls-faq-item summary::-webkit-details-marker {
    display: none;
}

.ls-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--ls-red);
    font-size: 20px;
    font-weight: 900;
    transition: transform var(--ls-transition);
}

.ls-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.ls-faq-item p {
    margin: 0 0 24px;
    padding-right: 34px;
    color: var(--ls-muted);
    font-size: 13px;
    line-height: 1.85;
}


/* =========================================================
   LAST SURVIVORS — CONFIRMATION MOT DE PASSE
========================================================= */

body:has(form[action*="/user/password/confirm"]) {
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(214, 59, 38, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(214, 59, 38, 0.05),
            transparent 30%
        ),
        #070808;
}


/* Zone principale */

body:has(form[action*="/user/password/confirm"]) .ls-main {
    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 130px 20px 80px;
}


/* Formulaire */

body:has(form[action*="/user/password/confirm"]) .ls-main form {
    position: relative;

    width: min(100%, 500px);

    margin: 0 auto;

    padding: 42px;

    background:
        linear-gradient(
            180deg,
            rgba(17, 20, 20, 0.98),
            rgba(10, 12, 12, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 14px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55);

    overflow: hidden;
}


/* Barre rouge */

body:has(form[action*="/user/password/confirm"]) .ls-main form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #9c281b,
            #d63b26,
            #ef6147
        );
}


/* Titre */

body:has(form[action*="/user/password/confirm"]) .ls-main h1,
body:has(form[action*="/user/password/confirm"]) .ls-main h2 {
    margin: 0 0 12px;

    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 38px;

    font-weight: 900;

    line-height: 0.95;

    text-transform: uppercase;

    letter-spacing: -1px;
}


/* Texte */

body:has(form[action*="/user/password/confirm"]) .ls-main p {
    margin-bottom: 24px;

    color: #858b88;

    font-size: 12px;

    line-height: 1.7;
}


/* Label */

body:has(form[action*="/user/password/confirm"]) .ls-main form label {
    display: block;

    margin-bottom: 8px;

    color: #c7ccc9;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* Champ mot de passe */

body:has(form[action*="/user/password/confirm"]) .ls-main form input[type="password"] {
    display: block;

    width: 100%;
    height: 48px;

    padding: 0 14px;

    box-sizing: border-box;

    background: #090c0c !important;

    color: #f2f3ef !important;

    border: 1px solid rgba(255, 255, 255, 0.10) !important;

    border-radius: 8px !important;

    outline: none !important;

    box-shadow: none !important;

    font-size: 13px;

    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}


/* Focus */

body:has(form[action*="/user/password/confirm"]) .ls-main form input[type="password"]:focus {
    background: #0d1111 !important;

    border-color: var(--ls-red) !important;

    box-shadow:
        0 0 0 3px rgba(214, 59, 38, 0.12) !important;
}


/* Bouton */

body:has(form[action*="/user/password/confirm"]) .ls-main form button[type="submit"],
body:has(form[action*="/user/password/confirm"]) .ls-main form input[type="submit"] {
    display: block;

    width: 100%;

    height: 50px;

    margin-top: 18px;

    background:
        linear-gradient(
            135deg,
            #d63b26,
            #bd3020
        ) !important;

    color: #fff !important;

    border: 0 !important;

    border-radius: 8px !important;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(214, 59, 38, 0.18);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}


/* Hover */

body:has(form[action*="/user/password/confirm"]) .ls-main form button[type="submit"]:hover,
body:has(form[action*="/user/password/confirm"]) .ls-main form input[type="submit"]:hover {
    background:
        linear-gradient(
            135deg,
            #e34a31,
            #c93421
        ) !important;

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(214, 59, 38, 0.25);
}


/* Erreurs */

body:has(form[action*="/user/password/confirm"]) .ls-main .invalid-feedback {
    display: block;

    margin-top: 7px;

    color: #e56c5b;

    font-size: 10px;
}


/* Alertes */

body:has(form[action*="/user/password/confirm"]) .ls-main .alert {
    width: min(100%, 500px);

    margin: 0 auto 18px;

    padding: 12px 15px;

    border-radius: 8px;

    background: rgba(214, 59, 38, 0.10);

    border: 1px solid rgba(214, 59, 38, 0.22);

    color: #e5aaa0;

    font-size: 12px;
}


/* Liens */

body:has(form[action*="/user/password/confirm"]) .ls-main form a {
    color: #858b88;

    font-size: 11px;

    text-decoration: none;

    transition: color 180ms ease;
}

body:has(form[action*="/user/password/confirm"]) .ls-main form a:hover {
    color: var(--ls-red);
}


/* Mobile */

@media (max-width: 600px) {

    body:has(form[action*="/user/password/confirm"]) .ls-main {
        padding: 105px 15px 50px;
    }

    body:has(form[action*="/user/password/confirm"]) .ls-main form {
        padding: 30px 22px;
    }

    body:has(form[action*="/user/password/confirm"]) .ls-main h1,
    body:has(form[action*="/user/password/confirm"]) .ls-main h2 {
        font-size: 32px;
    }
}

/* =========================================================
   LAST SURVIVORS — AUTHENTIFICATION 2FA
========================================================= */

body:has(form[action*="/profile/2fa"]) {
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(214, 59, 38, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(214, 59, 38, 0.05),
            transparent 30%
        ),
        #070808;
}


/* Zone principale */

body:has(form[action*="/profile/2fa"]) .ls-main {
    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 125px 20px 80px;
}


/* Carte */

body:has(form[action*="/profile/2fa"]) .ls-main form {
    position: relative;

    width: min(100%, 540px);

    margin: 0 auto;

    padding: 42px;

    background:
        linear-gradient(
            180deg,
            rgba(17, 20, 20, 0.98),
            rgba(10, 12, 12, 0.98)
        );

    border: 1px solid var(--ls-border);

    border-radius: 14px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.50);

    overflow: hidden;
}


/* Barre rouge */

body:has(form[action*="/profile/2fa"]) .ls-main form::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #9c281b,
            #d63b26,
            #ef6147
        );
}


/* Titre */

body:has(form[action*="/profile/2fa"]) .ls-main h1,
body:has(form[action*="/profile/2fa"]) .ls-main h2,
body:has(form[action*="/profile/2fa"]) .ls-main h3 {
    margin: 0 0 14px;

    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-size: 34px;

    font-weight: 900;

    line-height: 0.95;

    text-transform: uppercase;

    letter-spacing: -1px;
}


/* Texte */

body:has(form[action*="/profile/2fa"]) .ls-main p {
    margin-bottom: 24px;

    color: var(--ls-muted);

    font-size: 12px;

    line-height: 1.8;
}


/* Labels */

body:has(form[action*="/profile/2fa"]) .ls-main form label {
    display: block;

    margin-bottom: 8px;

    color: #c4c9c6;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.4px;
}


/* Champs */

body:has(form[action*="/profile/2fa"]) .ls-main form input[type="text"],
body:has(form[action*="/profile/2fa"]) .ls-main form input[type="number"],
body:has(form[action*="/profile/2fa"]) .ls-main form input[type="password"],
body:has(form[action*="/profile/2fa"]) .ls-main form input[type="email"] {
    width: 100%;

    height: 50px;

    padding: 0 15px;

    box-sizing: border-box;

    background: #090c0c !important;

    color: #f4f5f2 !important;

    border: 1px solid var(--ls-border-strong) !important;

    border-radius: 8px !important;

    outline: none !important;

    box-shadow: none !important;

    font-size: 13px;

    text-align: center;

    letter-spacing: 3px;
}


/* Focus */

body:has(form[action*="/profile/2fa"]) .ls-main form input:focus {
    border-color: var(--ls-red) !important;

    box-shadow:
        0 0 0 3px rgba(214, 59, 38, 0.10) !important;
}


/* Groupe formulaire */

body:has(form[action*="/profile/2fa"]) .ls-main form .mb-3,
body:has(form[action*="/profile/2fa"]) .ls-main form .form-group {
    margin-bottom: 20px;
}


/* Bouton principal */

body:has(form[action*="/profile/2fa"]) .ls-main form button[type="submit"],
body:has(form[action*="/profile/2fa"]) .ls-main form input[type="submit"] {
    width: 100%;

    height: 50px;

    margin-top: 12px;

    background:
        linear-gradient(
            135deg,
            #d63b26,
            #bd3020
        ) !important;

    color: #fff !important;

    border: 0 !important;

    border-radius: 8px !important;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(214, 59, 38, 0.18);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}


/* Hover */

body:has(form[action*="/profile/2fa"]) .ls-main form button[type="submit"]:hover,
body:has(form[action*="/profile/2fa"]) .ls-main form input[type="submit"]:hover {
    background:
        linear-gradient(
            135deg,
            #e34a31,
            #c93421
        ) !important;

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(214, 59, 38, 0.25);
}


/* Boutons secondaires */

body:has(form[action*="/profile/2fa"]) .ls-main form .btn-secondary,
body:has(form[action*="/profile/2fa"]) .ls-main form .btn-outline-secondary {
    min-height: 44px;

    padding: 0 18px;

    background: rgba(255, 255, 255, 0.04) !important;

    border: 1px solid var(--ls-border-strong) !important;

    border-radius: 7px;

    color: #d8dcda !important;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* Liens */

body:has(form[action*="/profile/2fa"]) .ls-main a {
    color: #8b918e;

    font-size: 11px;

    text-decoration: none;

    transition: color 180ms ease;
}

body:has(form[action*="/profile/2fa"]) .ls-main a:hover {
    color: var(--ls-red);
}


/* Alertes */

body:has(form[action*="/profile/2fa"]) .ls-main .alert {
    width: min(100%, 540px);

    margin: 0 auto 18px;

    padding: 12px 15px;

    border-radius: 8px;

    background: rgba(214, 59, 38, 0.10);

    border: 1px solid rgba(214, 59, 38, 0.22);

    color: #e5aaa0;

    font-size: 12px;
}


/* Erreurs */

body:has(form[action*="/profile/2fa"]) .ls-main .invalid-feedback {
    display: block;

    margin-top: 7px;

    color: #e56c5b;

    font-size: 10px;
}


/* QR code si Azuriom en affiche un */

body:has(form[action*="/profile/2fa"]) .ls-main img[src*="qr"],
body:has(form[action*="/profile/2fa"]) .ls-main .qr-code {
    display: block;

    width: 180px !important;
    height: 180px !important;

    margin: 20px auto;

    padding: 10px;

    background: #fff;

    border-radius: 10px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);
}


/* Code de secours */

body:has(form[action*="/profile/2fa"]) .ls-main code,
body:has(form[action*="/profile/2fa"]) .ls-main pre {
    display: block;

    margin: 18px 0;

    padding: 14px;

    background: #090c0c;

    border: 1px solid var(--ls-border);

    border-radius: 8px;

    color: #f0f2ef;

    text-align: center;

    letter-spacing: 2px;
}


/* Mobile */

@media (max-width: 600px) {

    body:has(form[action*="/profile/2fa"]) .ls-main {
        padding: 105px 15px 50px;
    }

    body:has(form[action*="/profile/2fa"]) .ls-main form {
        padding: 30px 22px;
    }

    body:has(form[action*="/profile/2fa"]) .ls-main h1,
    body:has(form[action*="/profile/2fa"]) .ls-main h2,
    body:has(form[action*="/profile/2fa"]) .ls-main h3 {
        font-size: 30px;
    }
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1050px) {

    .ls-nav-links {
        gap: 20px;

        margin-left: 10px;
    }

    .ls-nav-actions .ls-button-discord {
        display: none;
    }

    .ls-card-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .ls-news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-vote-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ls-leaderboard-row {
        grid-template-columns: 44px 1fr 110px;
    }

    .ls-leaderboard-members {
        display: none;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 820px) {

    .ls-container {
        width: min(
            var(--ls-container),
            calc(100% - 32px)
        );
    }

    .ls-nav {
        min-height: 70px;
    }

    .ls-mobile-button {
        display: block;
    }

    .ls-nav-links {
        position: absolute;

        top: calc(100% + 8px);

        left: 16px;
        right: 16px;

        display: none;

        flex-direction: column;

        gap: 0;

        margin: 0;

        padding: 8px;

        background: rgba(13, 16, 16, 0.98);

        border: 1px solid var(--ls-border);

        border-radius: 10px;
    }

    .ls-nav-links.open {
        display: flex;
    }

    .ls-nav-links a {
        padding: 13px 12px;
    }

    .ls-nav-links a::after {
        display: none;
    }

    .ls-nav-actions {
        display: none;
    }

    .ls-hero {
        min-height: 790px;
    }

    .ls-hero h1 {
        font-size: clamp(
            64px,
            18vw,
            105px
        );

        letter-spacing: -3px;
    }

    .ls-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .ls-main-button,
    .ls-secondary-button {
        width: 100%;
    }

    .ls-server-address {
        width: 100%;

        justify-content: space-between;
    }

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

    .ls-stat:nth-child(2) {
        border-right: 0;
    }

    .ls-stat:nth-child(3),
    .ls-stat:nth-child(4) {
        border-top: 1px solid var(--ls-border);
    }

    .ls-card-grid {
        grid-template-columns: 1fr;
    }

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

    .ls-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .ls-footer-bottom .ls-container {
        min-height: auto;

        padding: 18px 0;

        flex-direction: column;

        align-items: flex-start;
    }

    body:has(form[action*="/user/login"]) .ls-main,
    body:has(form[action*="/user/register"]) .ls-main {
        padding: 105px 15px 50px;
    }

    body:has(form[action*="/user/login"]) .ls-main form,
    body:has(form[action*="/user/register"]) .ls-main form {
        padding: 30px 22px;
    }

    body:has(form[action*="/profile/email"]) .ls-main,
    body:has(form[action*="/profile/password"]) .ls-main {
        padding-top: 95px;

        padding-bottom: 60px;
    }

    body:has(form[action*="/profile/email"]) .ls-main form,
    body:has(form[action*="/profile/password"]) .ls-main form {
        padding: 20px;
    }

    .ls-news-grid {
        grid-template-columns: 1fr;
    }

    .ls-vote-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ls-leaderboard-row {
        grid-template-columns: 36px 1fr 90px;
        padding: 16px 18px;
        gap: 8px;
    }

    .ls-leaderboard-rank {
        font-size: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .ls-brand-name strong {
        font-size: 17px;
    }

    .ls-brand-name span {
        font-size: 7px;

        letter-spacing: 3px;
    }

    .ls-hero {
        min-height: 760px;
    }

    .ls-hero-content {
        padding-top: 70px;
    }

    .ls-kicker {
        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .ls-hero h1 {
        font-size: 67px;
    }

    .ls-hero-content > p {
        font-size: 13px;
    }

    .ls-server-address {
        padding-left: 14px;

        gap: 10px;
    }

    .ls-server-address strong {
        font-size: 11px;
    }

    .ls-copy-button {
        padding: 0 10px;
    }

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

    .ls-stat {
        border-right: 0 !important;

        border-top: 1px solid var(--ls-border);
    }

    .ls-stat:first-child {
        border-top: 0;
    }

    .ls-section {
        padding: 90px 0;
    }

    .ls-section-heading h2 {
        font-size: 52px;
    }

    .ls-cta {
        padding: 85px 0;
    }

    .ls-footer-links {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    body:has(form[action*="/user/login"]) .ls-main h1,
    body:has(form[action*="/user/login"]) .ls-main h2,
    body:has(form[action*="/user/register"]) .ls-main h1,
    body:has(form[action*="/user/register"]) .ls-main h2 {
        font-size: 32px;
    }

    .ls-vote-grid,
    .ls-gallery-grid,
    .ls-team-grid {
        grid-template-columns: 1fr;
    }

    .ls-faq-item summary {
        font-size: 15px;
    }
}
.ls-server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-left: 10px;

    padding: 7px 10px;

    background: rgba(68, 201, 107, 0.06);

    border: 1px solid rgba(68, 201, 107, 0.12);

    border-radius: 999px;

    color: #7f8984;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.ls-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #44c96b;

    box-shadow:
        0 0 10px rgba(68, 201, 107, 0.6);
}

.ls-account-button {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 40px;

    padding: 4px 11px 4px 5px;

    background: rgba(255,255,255,0.04);

    border: 1px solid var(--ls-border);

    border-radius: 8px;

    transition:
        background 180ms ease,
        border-color 180ms ease;
}

.ls-account-button:hover {
    background: rgba(255,255,255,0.07);

    border-color: var(--ls-border-strong);
}

.ls-account-avatar {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 7px;

    background: var(--ls-red);

    color: #fff;

    font-size: 11px;
    font-weight: 900;
}

.ls-account-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ls-account-name {
    max-width: 110px;

    overflow: hidden;

    color: #e2e5e2;

    font-size: 11px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-logout-form {
    margin: 0;
}

/* =========================================================
   LAST SURVIVORS — STAFF PAGE
========================================================= */

.ls-staff-page {
    width: min(1180px, calc(100% - 48px));

    margin-inline: auto;

    padding-top: 125px;
    padding-bottom: 110px;

    color: var(--ls-text);
}


/* Contenu brut du plugin */

.ls-staff-page > .container,
.ls-staff-page > .content,
.ls-staff-page > div {
    width: 100%;

    max-width: 1100px;

    margin-inline: auto;
}


/* Avatar */

.ls-staff-page img {
    display: block;

    width: 120px;
    height: 120px;

    object-fit: cover;

    margin: 0 0 22px;

    border-radius: 14px;

    border: 2px solid rgba(214, 59, 38, 0.40);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.40);
}


/* Nom */

.ls-staff-page h1,
.ls-staff-page h2,
.ls-staff-page h3,
.ls-staff-page h4 {
    color: #fff;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        sans-serif;

    font-weight: 900;

    text-transform: uppercase;
}


/* Première grande partie de contenu */

.ls-staff-page h1 {
    margin-bottom: 30px;

    font-size: clamp(48px, 6vw, 72px);

    line-height: 0.9;

    letter-spacing: -2px;
}


/* Nom du membre */

.ls-staff-page h2,
.ls-staff-page h3,
.ls-staff-page h4 {
    margin-top: 0;

    margin-bottom: 12px;

    font-size: 28px;
}


/* Description */

.ls-staff-page p {
    max-width: 760px;

    margin-bottom: 20px;

    color: var(--ls-muted);

    font-size: 14px;

    line-height: 1.8;
}


/* Listes / informations */

.ls-staff-page ul {
    list-style: none;

    margin: 25px 0;
    padding: 0;
}

.ls-staff-page li {
    padding: 12px 15px;

    margin-bottom: 8px;

    background: rgba(255,255,255,0.025);

    border: 1px solid var(--ls-border);

    border-radius: 8px;

    color: var(--ls-muted-light);
}


/* Liens */

.ls-staff-page a {
    color: #b8bfbc;

    transition:
        color var(--ls-transition);
}

.ls-staff-page a:hover {
    color: var(--ls-red);
}


/* Boutons */

.ls-staff-page .btn {
    min-height: 42px;

    padding: 0 16px;

    border-radius: 7px;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.ls-staff-page .btn-primary {
    background: var(--ls-red) !important;

    border-color: var(--ls-red) !important;

    color: #fff !important;
}


/* Carte générique si le plugin en utilise */

.ls-staff-page .card {
    background:
        linear-gradient(
            180deg,
            rgba(17,20,20,0.98),
            rgba(10,12,12,0.98)
        ) !important;

    border: 1px solid var(--ls-border) !important;

    border-radius: 12px !important;

    box-shadow: var(--ls-shadow-lg);

    color: var(--ls-text);

    overflow: hidden;
}

.ls-staff-page .card-body {
    padding: 28px;
}


/* Mobile */

@media (max-width: 700px) {

    .ls-staff-page {
        width: min(
            100%,
            calc(100% - 30px)
        );

        padding-top: 100px;
        padding-bottom: 70px;
    }

    .ls-staff-page img {
        width: 90px;
        height: 90px;
    }

    .ls-staff-page h1 {
        font-size: 44px;
    }

    .ls-staff-page h2,
    .ls-staff-page h3,
    .ls-staff-page h4 {
        font-size: 24px;
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .staff-page .staff-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 620px) {

    .staff-page {
        width: min(
            100%,
            calc(100% - 30px)
        );

        padding-top: 100px;
        padding-bottom: 70px;
    }

    .staff-page h1 {
        font-size: 46px;
    }

    .staff-page .staff-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }
}