@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);
    --navbar: rgba(5, 5, 5, 0.92);

    --border: rgba(255, 255, 255, 0.11);

    --danger: #d84a4a;
    --danger-light: #ef6b6b;
}


/* =========================================
   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%;
    min-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(16px);
    -webkit-backdrop-filter: blur(16px);

    z-index: 1000;
}


/* =========================================
   LOGO
========================================= */

.logo {
    display: flex;
    align-items: center;

    color: #ffffff;

    font-size: 25px;
    font-weight: 900;

    letter-spacing: 3px;

    white-space: nowrap;

    transition: 0.25s ease;
}

.logo span {
    color: var(--accent);
}

.logo:hover {
    transform: translateY(-1px);
}


/* =========================================
   NAVIGATION
========================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 7px;
}

.nav-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 17px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    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: 17px;
    right: 17px;

    bottom: 5px;

    height: 2px;

    background: var(--accent);

    border-radius: 20px;
}

.nav-link.discord {
    margin-left: 8px;

    color: #ffffff;

    background: rgba(216, 162, 58, 0.12);

    border: 1px solid rgba(216, 162, 58, 0.30);
}

.nav-link.discord:hover {
    color: #111111;

    background: var(--accent);

    border-color: var(--accent);
}


/* =========================================
   PAGE
========================================= */

.generale-page {
    width: 100%;

    max-width: 1150px;

    margin: 0 auto;

    padding: 145px 30px 60px;
}


/* =========================================
   HEADER
========================================= */

.page-header {
    text-align: center;

    margin-bottom: 35px;
}

.badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    padding: 9px 19px;

    color: var(--accent-light);

    background: rgba(216, 162, 58, 0.09);

    border: 1px solid rgba(216, 162, 58, 0.30);

    border-radius: 50px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.page-header h1 {
    margin-bottom: 24px;

    font-size: clamp(46px, 6vw, 76px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -2px;
}

.page-header h1 span {
    color: var(--accent);
}

.page-header p {
    max-width: 760px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================
   AVERTISSEMENT
========================================= */

.warning-card {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 30px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(216, 74, 74, 0.12),
            rgba(216, 74, 74, 0.05)
        );

    border: 1px solid rgba(216, 74, 74, 0.32);

    border-radius: 12px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.warning-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: var(--danger);

    border-radius: 50%;

    font-size: 22px;

    font-weight: 900;
}

.warning-content h2 {
    margin-bottom: 10px;

    font-size: 22px;

    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;
}

.warning-content strong {
    color: #ffffff;
}


/* =========================================
   SECTIONS
========================================= */

.rules-section {
    margin-bottom: 30px;
}


/* =========================================
   TITRE SECTION
========================================= */

.section-title {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 18px;
}

.section-number {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: rgba(216, 162, 58, 0.09);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 9px;

    font-size: 15px;

    font-weight: 800;
}

.section-title h2 {
    margin-bottom: 4px;

    font-size: 28px;

    font-weight: 800;
}

.section-title p {
    color: var(--muted);

    font-size: 14px;
}

.danger-number {
    color: var(--danger-light);

    background: rgba(216, 74, 74, 0.10);

    border-color: rgba(216, 74, 74, 0.30);
}


/* =========================================
   RULE CARD
========================================= */

.rule-card {
    padding: 35px;

    background:
        linear-gradient(
            135deg,
            rgba(12, 12, 12, 0.84),
            rgba(8, 8, 8, 0.72)
        );

    border: 1px solid var(--border);

    border-radius: 12px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}


/* =========================================
   ZONES SAFE
========================================= */

.safe-intro {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 28px;
}

.safe-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 50%;

    font-size: 22px;

    font-weight: 900;
}

.safe-intro h3 {
    margin-bottom: 8px;

    font-size: 22px;

    font-weight: 800;
}

.safe-intro p {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   ZONES GRID
========================================= */

.zones-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}

.zone-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 17px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.zone-item:hover {
    transform: translateY(-2px);

    background: rgba(216, 162, 58, 0.07);

    border-color: rgba(216, 162, 58, 0.25);
}

.zone-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 8px;

    font-size: 10px;

    font-weight: 900;
}

.zone-item strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;
}

.zone-item small {
    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;
}


/* =========================================
   RULE ALERT
========================================= */

.rule-alert {
    padding: 18px 20px;

    color: rgba(255, 255, 255, 0.72);

    background: rgba(216, 162, 58, 0.055);

    border-left: 3px solid var(--accent);

    border-radius: 6px;

    font-size: 15px;

    line-height: 1.7;
}

.rule-alert strong {
    color: var(--accent);
}


/* =========================================
   NORD & MEXIQUE
========================================= */

.territory-card {
    border-color: rgba(216, 162, 58, 0.20);

    background:
        linear-gradient(
            135deg,
            rgba(216, 162, 58, 0.07),
            rgba(8, 8, 8, 0.78)
        );
}

.territory-header {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 25px;
}

.territory-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 50%;

    font-size: 20px;

    font-weight: 900;
}

.territory-header h3 {
    margin-bottom: 7px;

    font-size: 22px;

    font-weight: 800;
}

.territory-header p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}

.territory-content {
    margin-bottom: 25px;
}

.territory-content p {
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.territory-content p:last-child {
    margin-bottom: 0;
}

.territory-content strong {
    color: #ffffff;
}


/* =========================================
   DOCUMENTS
========================================= */

.documents-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 22px;
}

.document-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.document-item:hover {
    transform: translateY(-2px);

    background: rgba(216, 162, 58, 0.07);

    border-color: rgba(216, 162, 58, 0.25);
}

.document-icon {
    min-width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 8px;

    font-size: 10px;

    font-weight: 900;
}

.document-item strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;
}

.document-item small {
    display: block;

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;

    line-height: 1.5;
}

.territory-alert {
    background: rgba(216, 162, 58, 0.065);
}

.territory-alert strong {
    color: var(--accent);
}


/* =========================================
   ZONE INTERDITE
========================================= */

.forbidden-card {
    border-color: rgba(216, 74, 74, 0.22);

    background:
        linear-gradient(
            135deg,
            rgba(216, 74, 74, 0.075),
            rgba(8, 8, 8, 0.78)
        );
}

.forbidden-header {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 25px;
}

.forbidden-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: var(--danger);

    border-radius: 50%;

    font-size: 20px;

    font-weight: 900;
}

.forbidden-header h3 {
    margin-bottom: 7px;

    font-size: 22px;

    font-weight: 800;
}

.forbidden-header p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}

.forbidden-content {
    margin-bottom: 20px;
}

.forbidden-content p {
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.forbidden-content p:last-child {
    margin-bottom: 0;
}

.forbidden-content strong {
    color: #ffffff;
}

.danger-alert {
    background: rgba(216, 74, 74, 0.07);

    border-left-color: var(--danger);
}

.danger-alert strong {
    color: var(--danger-light);
}


/* =========================================
   RÉSUMÉ
========================================= */

.summary-card {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 40px;

    padding: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(216, 162, 58, 0.10),
            rgba(216, 162, 58, 0.035)
        );

    border: 1px solid rgba(216, 162, 58, 0.22);

    border-radius: 12px;
}

.summary-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 9px;

    font-size: 18px;

    font-weight: 900;
}

.summary-card h2 {
    margin-bottom: 7px;

    font-size: 21px;

    font-weight: 800;
}

.summary-card p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================
   DOCUMENTATION
========================================= */

.categories-section {
    margin-top: 55px;
}

.categories-header {
    text-align: center;

    margin-bottom: 30px;
}

.categories-badge {
    display: inline-block;

    margin-bottom: 12px;

    padding: 7px 15px;

    color: var(--accent-light);

    background: rgba(216, 162, 58, 0.08);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 50px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.categories-header h2 {
    margin-bottom: 12px;

    font-size: 32px;

    font-weight: 900;
}

.categories-header h2 span {
    color: var(--accent);
}

.categories-header p {
    color: var(--muted);

    font-size: 15px;
}


/* =========================================
   CATÉGORIES
========================================= */

.reglement-categories {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.category-button {
    min-height: 82px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 13px 15px;

    text-align: center;

    color: rgba(255, 255, 255, 0.75);

    background: rgba(8, 8, 8, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 9px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.category-button span {
    color: #ffffff;

    font-size: 14px;

    font-weight: 800;
}

.category-button small {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
}

.category-button:hover {
    background: rgba(216, 162, 58, 0.12);

    border-color: rgba(216, 162, 58, 0.35);

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(216, 162, 58, 0.10);
}

.category-button:hover span {
    color: var(--accent-light);
}

.category-button:hover small {
    color: rgba(255, 255, 255, 0.65);
}

.category-button.active {
    background: var(--accent);

    border-color: var(--accent);

    box-shadow:
        0 10px 30px rgba(216, 162, 58, 0.18);
}

.category-button.active span {
    color: #111111;
}

.category-button.active small {
    color: rgba(0, 0, 0, 0.60);
}

.category-button.active:hover {
    background: var(--accent-light);

    border-color: var(--accent-light);
}


/* =========================================
   FOOTER
========================================= */

footer {
    width: 100%;

    padding: 25px 6%;

    background: rgba(0, 0, 0, 0.48);

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #070707;
}

::-webkit-scrollbar-thumb {
    background: rgba(216, 162, 58, 0.55);

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}


/* =========================================
   SÉLECTION
========================================= */

::selection {
    color: #111111;

    background: var(--accent);
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 900px) {

    .navbar {
        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;
    }

    .nav-link.discord {
        margin-left: 0;
    }

    .generale-page {
        padding-top: 175px;
    }

    .reglement-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .navbar {
        padding: 13px 15px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-link {
        padding: 8px 9px;

        font-size: 12px;
    }

    .generale-page {
        padding: 155px 15px 50px;
    }

    .page-header h1 {
        font-size: 43px;
    }

    .page-header p {
        font-size: 15px;
    }

    .warning-card {
        padding: 23px;

        gap: 14px;
    }

    .warning-icon {
        width: 43px;
        height: 43px;

        font-size: 18px;
    }

    .warning-content h2 {
        font-size: 19px;
    }

    .warning-content p {
        font-size: 14px;
    }

    .section-title {
        gap: 13px;
    }

    .section-number {
        width: 47px;
        height: 47px;
    }

    .section-title h2 {
        font-size: 23px;
    }

    .rule-card {
        padding: 25px;
    }

    .safe-intro {
        gap: 13px;
    }

    .safe-icon {
        width: 45px;
        height: 45px;
    }

    .safe-intro h3 {
        font-size: 20px;
    }

    .safe-intro p {
        font-size: 14px;
    }

    .zones-grid {
        grid-template-columns: 1fr;
    }

    .zone-item {
        padding: 15px;
    }

    .territory-header {
        gap: 13px;
    }

    .territory-icon {
        width: 45px;
        height: 45px;
    }

    .territory-header h3 {
        font-size: 20px;
    }

    .territory-header p {
        font-size: 14px;
    }

    .territory-content p {
        font-size: 14px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-item {
        padding: 15px;
    }

    .forbidden-header {
        gap: 13px;
    }

    .forbidden-icon {
        width: 45px;
        height: 45px;
    }

    .summary-card {
        align-items: flex-start;

        padding: 23px;
    }

    .categories-header h2 {
        font-size: 27px;
    }

    .reglement-categories {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .category-button {
        min-height: 72px;

        padding: 10px;
    }

    .category-button span {
        font-size: 13px;
    }

    .category-button small {
        font-size: 10px;
    }

    .footer-content {
        flex-direction: column;

        justify-content: center;

        gap: 8px;

        text-align: center;
    }
}


/* =========================================
   TRÈS PETIT ÉCRAN
========================================= */

@media (max-width: 400px) {

    .nav-link {
        padding: 7px;

        font-size: 11px;
    }

    .generale-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-header h1 {
        font-size: 38px;
    }

    .rule-card {
        padding: 21px;
    }

    .warning-card {
        padding: 20px;
    }

    .reglement-categories {
        grid-template-columns: 1fr;
    }

}