@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.78);
    --card-hover: rgba(15, 15, 15, 0.88);

    --navbar: rgba(5, 5, 5, 0.90);

    --border: rgba(255, 255, 255, 0.11);
    --border-accent: rgba(216, 162, 58, 0.30);

    --danger: #d9534f;
    --danger-light: #ff7772;

    --success: #5fca8d;
}


/* =========================================
   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.88),
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.88)
        ),
        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;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   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
========================================= */

.illegale-page {
    width: 100%;

    max-width: 1150px;

    margin: 0 auto;

    padding: 145px 30px 70px;
}


/* =========================================
   HEADER
========================================= */

.page-header {
    text-align: center;

    margin-bottom: 60px;
}

.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(46px, 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: 800px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================
   AVERTISSEMENT
========================================= */

.warning-card {
    display: flex;

    gap: 25px;

    padding: 30px;

    margin-bottom: 60px;

    background: rgba(216, 162, 58, 0.08);

    border: 1px solid rgba(216, 162, 58, 0.30);

    border-radius: 12px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.warning-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 10px;

    font-size: 25px;

    font-weight: 900;
}

.warning-content {
    flex: 1;
}

.warning-content h2 {
    margin-bottom: 12px;

    font-size: 24px;

    font-weight: 800;
}

.warning-content p {
    margin-bottom: 10px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.warning-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   SECTION
========================================= */

.rules-section {
    margin-bottom: 65px;
}


/* =========================================
   TITRE SECTION
========================================= */

.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: 9px;

    font-size: 15px;

    font-weight: 800;
}

.section-title h2 {
    margin-bottom: 5px;

    font-size: 30px;

    font-weight: 800;
}

.section-title p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================
   CARTE PRINCIPALE
========================================= */

.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,
        background 0.25s ease,
        border-color 0.25s ease;
}

.rule-card:hover {
    transform: translateY(-2px);

    background: var(--card-hover);

    border-color: var(--border-accent);
}


/* =========================================
   GROUPES
========================================= */

.group-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.group-card {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 24px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.group-card:hover {
    transform: translateY(-3px);

    background: rgba(216, 162, 58, 0.07);

    border-color: rgba(216, 162, 58, 0.25);
}

.group-icon {
    width: 60px;
    height: 60px;

    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: 12px;

    font-weight: 900;

    letter-spacing: 1px;
}

.group-content {
    flex: 1;
}

.group-content h3 {
    margin-bottom: 5px;

    font-size: 20px;

    font-weight: 800;
}

.group-content p {
    margin-bottom: 12px;

    color: var(--muted);

    font-size: 13px;
}

.member-count {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--muted);

    font-size: 14px;
}

.member-count strong {
    color: var(--accent);

    font-size: 19px;

    font-weight: 900;
}

.member-count small {
    margin-left: 4px;

    color: rgba(255, 255, 255, 0.50);

    font-size: 12px;
}


/* =========================================
   REPRISE
========================================= */

.takeover-card {
    position: relative;
}

.takeover-header {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 35px;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--border);
}

.takeover-icon {
    width: 60px;
    height: 60px;

    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: 12px;

    font-weight: 900;
}

.takeover-header h3 {
    margin-bottom: 8px;

    font-size: 24px;

    font-weight: 800;
}

.takeover-header p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   DOCUMENTS
========================================= */

.documents-list {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-bottom: 25px;
}

.document-item {
    display: flex;

    gap: 20px;

    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;
}

.document-item:hover {
    background: rgba(216, 162, 58, 0.06);

    border-color: rgba(216, 162, 58, 0.22);
}

.document-number {
    width: 45px;
    height: 45px;

    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.22);

    border-radius: 8px;

    font-size: 12px;

    font-weight: 900;
}

.document-item h3 {
    margin-bottom: 8px;

    font-size: 18px;

    font-weight: 800;
}

.document-item p {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.75;
}

.document-item p:last-child {
    margin-bottom: 0;
}


/* =========================================
   ALERTES
========================================= */

.rule-alert {
    padding: 18px 20px;

    color: rgba(255, 255, 255, 0.80);

    background: rgba(216, 162, 58, 0.08);

    border-left: 3px solid var(--accent);

    border-radius: 6px;

    font-size: 15px;

    line-height: 1.7;
}

.rule-alert strong {
    color: var(--accent-light);

    font-weight: 800;
}


/* =========================================
   BRAQUAGES
========================================= */

.robbery-card {
    position: relative;
}

.robbery-intro {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 35px;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--border);
}

.robbery-icon {
    width: 60px;
    height: 60px;

    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: 24px;

    font-weight: 900;
}

.robbery-intro h3 {
    margin-bottom: 8px;

    font-size: 24px;

    font-weight: 800;
}

.robbery-intro p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   GRILLE BRAQUAGES
========================================= */

.robbery-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 25px;
}

.robbery-item {
    padding: 25px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.robbery-item:hover {
    transform: translateY(-3px);

    background: rgba(216, 162, 58, 0.06);

    border-color: rgba(216, 162, 58, 0.25);
}


/* =========================================
   TITRE BRAQUAGE
========================================= */

.robbery-header {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.robbery-number {
    width: 38px;
    height: 38px;

    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.22);

    border-radius: 7px;

    font-size: 11px;

    font-weight: 900;
}

.robbery-header h3 {
    font-size: 18px;

    font-weight: 800;

    line-height: 1.3;
}


/* =========================================
   INFORMATIONS BRAQUAGE
========================================= */

.robbery-info {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.robbery-info div {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 11px 13px;

    background: rgba(0, 0, 0, 0.20);

    border-radius: 6px;
}

.robbery-info span {
    color: rgba(255, 255, 255, 0.60);

    font-size: 13px;

    line-height: 1.4;
}

.robbery-info strong {
    color: var(--accent-light);

    font-size: 14px;

    font-weight: 800;

    text-align: right;
}


/* =========================================
   ALERTE BRAQUAGE
========================================= */

.robbery-alert {
    margin-top: 5px;
}


/* =========================================
   CATEGORIES
========================================= */

.categories-section {
    margin-top: 75px;

    margin-bottom: 50px;
}

.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;

    letter-spacing: -1px;
}

.categories-header h2 span {
    color: var(--accent);
}

.categories-header p {
    color: var(--muted);

    font-size: 16px;
}


/* =========================================
   BOUTONS CATEGORIES
========================================= */

.reglement-categories {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.category-button {
    min-height: 85px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

    padding: 18px 20px;

    background: rgba(10, 10, 10, 0.75);

    border: 1px solid var(--border);

    border-radius: 9px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.category-button span {
    color: #ffffff;

    font-size: 15px;

    font-weight: 800;
}

.category-button small {
    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;
}

.category-button:hover {
    transform: translateY(-3px);

    background: rgba(216, 162, 58, 0.08);

    border-color: rgba(216, 162, 58, 0.35);
}

.category-button.active {
    background: rgba(216, 162, 58, 0.13);

    border-color: rgba(216, 162, 58, 0.45);
}

.category-button.active span {
    color: var(--accent-light);
}


/* =========================================
   BOUTONS BAS DE PAGE
========================================= */

.bottom-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 45px;
}

.back-button,
.home-button {
    min-height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 25px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.back-button {
    color: #111111;

    background: var(--accent);

    box-shadow:
        0 10px 30px rgba(216, 162, 58, 0.18);
}

.back-button:hover {
    background: var(--accent-light);

    transform: translateY(-3px);
}

.home-button {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.16);
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(255, 255, 255, 0.30);

    transform: translateY(-3px);
}


/* =========================================
   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;
    }

    .illegale-page {
        padding-top: 175px;
    }

    .group-grid {
        grid-template-columns: 1fr;
    }

    .robbery-grid {
        grid-template-columns: 1fr;
    }

    .reglement-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .illegale-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;

        line-height: 1.7;
    }


    /* WARNING */

    .warning-card {
        flex-direction: column;

        padding: 25px;

        gap: 18px;
    }


    /* SECTION */

    .section-title {
        align-items: flex-start;

        gap: 15px;
    }

    .section-number {
        width: 48px;
        height: 48px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .section-title p {
        font-size: 14px;
    }


    /* CARDS */

    .rule-card {
        padding: 25px;
    }


    /* GROUPES */

    .group-card {
        padding: 20px;

        gap: 15px;
    }

    .group-icon {
        width: 52px;
        height: 52px;
    }

    .group-content h3 {
        font-size: 18px;
    }


    /* REPRISE */

    .takeover-header {
        flex-direction: column;

        gap: 15px;
    }

    .takeover-header h3 {
        font-size: 21px;
    }

    .takeover-header p {
        font-size: 15px;
    }

    .document-item {
        flex-direction: column;

        gap: 15px;

        padding: 20px;
    }

    .document-number {
        width: 42px;
        height: 42px;
    }


    /* BRAQUAGES */

    .robbery-intro {
        flex-direction: column;

        gap: 15px;
    }

    .robbery-intro h3 {
        font-size: 21px;
    }

    .robbery-intro p {
        font-size: 15px;
    }

    .robbery-item {
        padding: 20px;
    }

    .robbery-header {
        align-items: flex-start;
    }

    .robbery-header h3 {
        font-size: 16px;
    }

    .robbery-info div {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }

    .robbery-info strong {
        text-align: left;
    }


    /* CATEGORIES */

    .categories-section {
        margin-top: 55px;
    }

    .categories-header h2 {
        font-size: 31px;
    }

    .reglement-categories {
        grid-template-columns: 1fr;
    }


    /* BOUTONS */

    .bottom-buttons {
        flex-direction: column;

        width: 100%;
    }

    .back-button,
    .home-button {
        width: 100%;
    }


    /* FOOTER */

    .footer-content {
        flex-direction: column;

        align-items: center;

        gap: 8px;

        text-align: center;
    }
}


/* =========================================
   PETITS ÉCRANS
========================================= */

@media (max-width: 400px) {

    .page-header h1 {
        font-size: 37px;
    }

    .rule-card {
        padding: 20px;
    }

    .warning-card {
        padding: 20px;
    }

    .group-card {
        flex-direction: column;

        align-items: flex-start;
    }

    .member-count {
        flex-wrap: wrap;
    }

    .robbery-item {
        padding: 18px;
    }
}