@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


/* =========================================
   VARIABLES
========================================= */

:root {
    --accent: #d8a23a;
    --accent-light: #f0c86a;

    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);

    --background: #080808;

    --card: rgba(10, 10, 10, 0.80);
    --navbar: rgba(5, 5, 5, 0.92);

    --border: rgba(255, 255, 255, 0.11);

    --danger: #d84a4a;
    --danger-light: #ff7373;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: 'Inter', sans-serif;

    color: var(--text);
    background-color: var(--background);

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90),
            rgba(0, 0, 0, 0.68),
            rgba(0, 0, 0, 0.90)
        ),
        url("https://galerie.t-life.fr/media/gallery/texts.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--navbar);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    z-index: 1000;
}


/* =========================================
   LOGO
========================================= */

.logo {
    font-size: 25px;
    font-weight: 900;

    letter-spacing: 3px;

    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}


/* =========================================
   NAVIGATION
========================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 8px;
}

.nav-link {
    position: relative;

    padding: 12px 18px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 15px;
    font-weight: 600;

    border-radius: 7px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.07);

    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 5px;

    height: 2px;

    background: var(--accent);

    border-radius: 10px;
}


/* =========================================
   DISCORD
========================================= */

.nav-link.discord {
    margin-left: 8px;

    color: #ffffff;

    background: rgba(216, 162, 58, 0.15);

    border: 1px solid rgba(216, 162, 58, 0.35);
}

.nav-link.discord:hover {
    color: #111111;

    background: var(--accent);
}


/* =========================================
   PAGE
========================================= */

.legale-page {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;

    padding: 145px 30px 70px;
}


/* =========================================
   HEADER
========================================= */

.page-header {
    text-align: center;

    margin-bottom: 55px;
}

.badge {
    display: inline-block;

    margin-bottom: 20px;

    padding: 9px 18px;

    color: var(--accent-light);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.35);

    border-radius: 50px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.page-header h1 {
    font-size: clamp(45px, 6vw, 76px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.page-header h1 span {
    color: var(--accent);
}

.page-header p {
    max-width: 780px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================
   WARNING
========================================= */

.warning-card {
    display: flex;

    gap: 22px;

    padding: 30px;

    margin-bottom: 55px;

    background: rgba(216, 162, 58, 0.08);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 12px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.warning-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 10px;

    font-size: 22px;
    font-weight: 900;
}

.warning-content h2 {
    margin-bottom: 12px;

    font-size: 23px;
    font-weight: 800;
}

.warning-content p {
    margin-bottom: 12px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.warning-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   SECTIONS
========================================= */

.rules-section {
    margin-bottom: 55px;
}

.section-title {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}

.section-number {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 10px;

    font-size: 15px;
    font-weight: 800;
}

.section-title h2 {
    margin-bottom: 5px;

    font-size: 28px;
    font-weight: 800;
}

.section-title p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================
   RULE CARD
========================================= */

.rule-card {
    padding: 35px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 12px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.rule-card:hover {
    transform: translateY(-2px);

    background: rgba(15, 15, 15, 0.86);

    border-color: rgba(216, 162, 58, 0.28);
}


/* =========================================
   TAKEOVER HEADER
========================================= */

.takeover-header {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 30px;
}

.takeover-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.28);

    border-radius: 10px;

    font-size: 21px;
    font-weight: 900;
}

.takeover-header h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
}

.takeover-header p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================
   CONTENU
========================================= */

.takeover-content {
    margin-bottom: 30px;
}

.takeover-content p,
.illegal-content p,
.general-content p {
    margin-bottom: 17px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.85;
}

.takeover-content p:last-child,
.illegal-content p:last-child,
.general-content p:last-child {
    margin-bottom: 0;
}

.takeover-content strong,
.illegal-content strong,
.general-content strong {
    color: #ffffff;

    font-weight: 700;
}


/* =========================================
   LISTE DOSSIER
========================================= */

.takeover-list {
    display: flex;
    flex-direction: column;

    gap: 14px;

    margin-top: 25px;
}

.takeover-item {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.takeover-item:hover {
    transform: translateY(-2px);

    background: rgba(216, 162, 58, 0.06);

    border-color: rgba(216, 162, 58, 0.22);
}

.takeover-number {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;
}

.takeover-item h4 {
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;
}

.takeover-item p {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}

.takeover-item p:last-child {
    margin-bottom: 0;
}


/* =========================================
   RULE ALERT
========================================= */

.rule-alert {
    margin-top: 30px;

    padding: 20px 22px;

    color: var(--muted);

    background: rgba(216, 162, 58, 0.08);

    border-left: 3px solid var(--accent);

    border-radius: 6px;

    font-size: 15px;

    line-height: 1.75;
}

.rule-alert strong {
    color: #ffffff;
}


/* =========================================
   ILLEGAL
========================================= */

.danger-number {
    color: var(--danger);

    background: rgba(216, 74, 74, 0.10);

    border-color: rgba(216, 74, 74, 0.25);
}

.illegal-card {
    border-color: rgba(216, 74, 74, 0.16);
}

.illegal-header {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 30px;
}

.illegal-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--danger-light);

    background: rgba(216, 74, 74, 0.10);

    border: 1px solid rgba(216, 74, 74, 0.25);

    border-radius: 10px;

    font-size: 21px;
    font-weight: 900;
}

.illegal-header h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
}

.illegal-header p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}

.danger-alert {
    color: rgba(255, 255, 255, 0.75);

    background: rgba(216, 74, 74, 0.08);

    border-left-color: var(--danger);
}

.danger-alert strong {
    color: var(--danger-light);
}


/* =========================================
   GENERAL
========================================= */

.general-content h3 {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
}


/* =========================================
   DOCUMENTATION
========================================= */

.categories-section {
    margin-top: 75px;

    padding-top: 55px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.categories-header {
    text-align: center;

    margin-bottom: 35px;
}

.categories-badge {
    display: inline-block;

    margin-bottom: 15px;

    padding: 7px 15px;

    color: var(--accent-light);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.30);

    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.categories-header h2 {
    margin-bottom: 15px;

    font-size: 38px;
    font-weight: 900;
}

.categories-header h2 span {
    color: var(--accent);
}

.categories-header p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================
   CATEGORIES
========================================= */

.reglement-categories {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.category-button {
    min-height: 95px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 18px 20px;

    background: rgba(10, 10, 10, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.category-button:hover {
    transform: translateY(-3px);

    background: rgba(216, 162, 58, 0.08);

    border-color: rgba(216, 162, 58, 0.30);
}

.category-button.active {
    background: rgba(216, 162, 58, 0.12);

    border-color: rgba(216, 162, 58, 0.40);
}

.category-button span {
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
}

.category-button small {
    color: rgba(255, 255, 255, 0.50);

    font-size: 12px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    width: 100%;

    padding: 24px 6%;

    background: rgba(0, 0, 0, 0.45);

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-content {
    display: flex;

    justify-content: space-between;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 900px) {

    .navbar {
        height: auto;

        min-height: 75px;

        padding: 15px 5%;

        flex-direction: column;

        gap: 12px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .nav-link {
        padding: 9px 12px;

        font-size: 13px;
    }

    .legale-page {
        padding-top: 175px;
    }

    .reglement-categories {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .legale-page {
        padding: 155px 15px 50px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .page-header p {
        font-size: 16px;
    }

    .warning-card {
        flex-direction: column;

        padding: 25px;
    }

    .section-title {
        align-items: flex-start;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .rule-card {
        padding: 25px;
    }

    .takeover-header,
    .illegal-header {
        gap: 15px;
    }

    .takeover-icon,
    .illegal-icon {
        width: 46px;
        height: 46px;
    }

    .takeover-header h3,
    .illegal-header h3 {
        font-size: 22px;
    }

    .takeover-content p,
    .illegal-content p,
    .general-content p {
        font-size: 16px;

        line-height: 1.8;
    }

    .takeover-item {
        padding: 18px;

        gap: 14px;
    }

    .takeover-number {
        width: 38px;
        height: 38px;
    }

    .takeover-item h4 {
        font-size: 17px;
    }

    .takeover-item p {
        font-size: 14px;
    }

    .categories-header h2 {
        font-size: 31px;
    }

    .reglement-categories {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;

        align-items: center;

        gap: 8px;
    }

}