:root {
    --bg: #07111f;
    --panel: #0f1c2a;
    --panel-soft: #101d2d;
    --line: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --muted: #b8c2d1;
    --accent: #ff8c00;
    --accent-2: #7289da;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        linear-gradient(180deg, rgba(4, 10, 18, 0.74), rgba(4, 10, 18, 0.88)),
        radial-gradient(circle at top left, rgba(255, 140, 0, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(114, 137, 218, 0.12), transparent 30%),
        url("/assets/statics/images/LigueBackground.png") center/cover no-repeat,
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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

.ligue-page {
    max-width: 1400px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 150px 30px 80px;
}

.ligue-hero {
    margin-bottom: 32px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 700;
}

.ligue-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.05;
}

.hero-text {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.ligue-section {
    margin-top: 28px;
}

.ligue-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}

.ligue-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}

.ligue-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    z-index: 0;
}

.ligue-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(7, 17, 31, 0.2) 5%, rgba(7, 17, 31, 0.86) 80%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 171, 88, 0.24) 26%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(110deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 56%);
    background-size: 100% 100%, 0% 0%, 0% 100%;
    background-position: center, center, -150% 0;
    background-repeat: no-repeat;
    transition: background-size 0.42s cubic-bezier(0.22, 1, 0.36, 1), background-position 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    will-change: background-size, background-position;
    pointer-events: none;
    z-index: 0;
}

.ligue-btn-team::before {
    background-image:
        linear-gradient(135deg, rgba(255, 140, 0, 0.3), rgba(255, 255, 255, 0.03)),
        url("/assets/statics/images/LigueTeam.jpg");
    background-position: center, center;
    background-size: cover, 115%;
    background-repeat: no-repeat, no-repeat;
}

.ligue-btn-solo::before {
    background-image:
        linear-gradient(135deg, rgba(114, 137, 218, 0.3), rgba(255, 255, 255, 0.03)),
        url("/assets/statics/images/LigueSolo.jpg");
    background-position: center, center;
    background-size: cover, 115%;
    background-repeat: no-repeat, no-repeat;
}

.ligue-btn-solo::after {
    background-image:
        linear-gradient(180deg, rgba(7, 17, 31, 0.2) 5%, rgba(7, 17, 31, 0.86) 80%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 171, 88, 0.24) 26%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(-110deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 56%);
    background-position: center, center, 150% 0;
}

.ligue-btn > * {
    position: relative;
    z-index: 1;
}

.ligue-btn:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.26);
    filter: saturate(1.12) brightness(1.04);
}

.ligue-btn:hover::after {
    background-size: 100% 100%, 175% 175%, 190% 100%;
    background-position: center, center, 55% 0;
    animation: ligue-center-flash 0.95s ease-out;
}

.ligue-btn-solo:hover::after {
    background-position: center, center, 45% 0;
}

@keyframes ligue-center-flash {
    0% {
        filter: brightness(1);
    }

    45% {
        filter: brightness(1.2);
    }

    100% {
        filter: brightness(1.05);
    }
}

.ligue-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.ligue-btn-title {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.ligue-btn-text {
    color: #e7edf7;
    line-height: 1.5;
    font-size: 1.05rem;
    max-width: 32ch;
}

@media (max-width: 768px) {
    .ligue-page {
        padding: 120px 18px 60px;
    }

    .ligue-buttons {
        grid-template-columns: 1fr;
    }

    .ligue-btn {
        min-height: 180px;
        padding: 22px;
    }
}