:root {
    --nf-bg: #0b0912;
    --nf-bg-light: #15101f;
    --nf-card: #1a1526;
    --nf-card-light: #221b33;
    --nf-primary: #8c5aff;
    --nf-primary-light: #c9b7ff;
    --nf-text: #e6ddff;
    --nf-text-muted: #a99acb;
    --nf-border: rgba(140, 90, 255, 0.25);
    --nf-shadow: 0 0 25px rgba(0,0,0,0.4);
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--nf-bg);
    color: var(--nf-text);
    font-family: 'NunitoSans-Regular', sans-serif;
}

a {
    color: var(--nf-primary-light);
    text-decoration: none;
    transition: 0.25s ease;
}

a:hover {
    color: #fff;
}

.nf-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nf-main {
    display: flex;
    gap: 30px;
}

.nf-left {
    flex: 3;
}

.nf-sidebar {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nf-slider {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--nf-shadow);
}

.nf-slide {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.nf-slide-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--nf-primary-light);
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 0 10px #000;
}

/* Stats du slider */
.nf-stats-bars {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.nf-stat {
    display: flex;
    justify-content: space-between;
    width: 260px;
    background: var(--nf-card-light);
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid var(--nf-border);
}

.nf-stat .label {
    color: var(--nf-primary-light);
    font-size: 13px;
}

.nf-stat .value {
    color: #fff;
    font-weight: 700;
}

.nf-page {
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 12px;
    box-shadow: var(--nf-shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.nf-page-header {
    background-size: cover;
    background-position: center;
    padding: 55px 20px;
    text-align: center;
    border-bottom: 1px solid var(--nf-border);
}

.nf-page-title {
    color: var(--nf-primary-light);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(140,90,255,0.35);
}

.nf-page-content {
    padding: 35px 40px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--nf-text);
}

.nf-reward-images {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 20px 0;
}

.nf-reward-images img {
    width: 55px;
    height: auto;
    border-radius: 6px;
    filter: drop-shadow(0 0 6px rgba(140,90,255,0.35));
    transition: 0.25s ease;
}

.nf-reward-images img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(140,90,255,0.6));
}

/* ================================
   NAVBAR PREMIUM NÉFÉRIA2
================================ */

.nf-navbar {
    width: 100%;
    background: #0d0b14;
    border-bottom: 1px solid rgba(140, 90, 255, 0.25);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    margin-bottom: 65px;
}

/* Conteneur interne */
.nf-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nf-logo img {
    height: 55px;
    transition: 0.3s ease;
}

.nf-logo img:hover {
    transform: scale(1.05);
}

/* Menu desktop */
.nf-menu {
    list-style: none;
    display: flex;
    gap: 45px;
    align-items: center;
}

.nf-menu li a {
    color: #d8caff;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
    transition: 0.25s ease;
    padding: 10px 0;
    position: relative;
}

.nf-menu li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #8c5aff;
    transition: 0.3s ease;
}

.nf-menu li a:hover::after {
    width: 100%;
}

/* Burger menu (mobile) */
.nf-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nf-burger span {
    width: 28px;
    height: 3px;
    background: #d8caff;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {

    .nf-burger {
        display: flex;
    }

    .nf-menu {
        position: absolute;
        top: 75px;
        right: 0;
        width: 220px;
        background: #15101f;
        border-left: 1px solid rgba(140, 90, 255, 0.25);
        border-bottom: 1px solid rgba(140, 90, 255, 0.25);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        display: none;
    }

    .nf-menu.open {
        display: flex;
    }
}

/* ================================
   BOUTONS TOP (Download / Login / Discord)
================================ */

/* Conteneur des boutons aligné avec l'image */
.nf-buttons {
    width: 100%;
    max-width: 100%; /* suit la largeur du bloc image */
    display: flex;
    justify-content: space-between; /* espace égal */
    gap: 20px;
}

/* Boutons identiques et non extensibles */
.nf-btn {
    flex: 1;
    padding: 14px 22px;
    border-radius: 8px;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    color: var(--nf-primary-light);
    font-weight: 600;
    text-align: center;
    font-size: 16px;
    transition: 0.25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bouton Télécharger légèrement plus grand */
.nf-btn-big {
    padding: 18px 26px;
    font-size: 18px;
}

/* Connexion / Discord */
.nf-btn-small {
    padding: 14px 22px;
    font-size: 16px;
}

.nf-page {
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 12px;
    box-shadow: var(--nf-shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.nf-page-header {
    background-size: cover;
    background-position: center;
    padding: 55px 20px;
    text-align: center;
    border-bottom: 1px solid var(--nf-border);
}

.nf-page-title {
    color: var(--nf-primary-light);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(140,90,255,0.35);
}

.nf-page-content {
    padding: 35px 40px;
    font-size: 16px;
    line-height: 1.7;
}


.nf-recaptcha,
.g-recaptcha,
.nf-recaptcha iframe {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ================================
   ONGLET DE CLASSEMENT
================================ */

.nf-ranking-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.nf-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--nf-primary-light);
    font-weight: 600;
    transition: 0.25s ease;
}

.nf-tab img {
    width: 22px;
    height: 22px;
}

.nf-tab:hover {
    background: var(--nf-primary);
    color: #fff;
}

.nf-tab.active {
    background: var(--nf-primary);
    color: #fff;
}

/* Dropdown */
.nf-tab-dropdown {
    position: relative;
}

.nf-tab-dropdown-content {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: var(--nf-shadow);
    z-index: 10;
}

.nf-tab-dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: var(--nf-primary-light);
    transition: 0.25s ease;
}

.nf-tab-dropdown-content a:hover {
    background: var(--nf-primary);
    color: #fff;
}

.nf-tab-dropdown:hover .nf-tab-dropdown-content {
    display: block;
}

.nf-table-wrapper {
    margin-top: 20px;
}

.nf-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--nf-card-light);
    border-radius: 10px;
    overflow: hidden;
}

.nf-table thead {
    background: var(--nf-primary);
}

.nf-table thead th {
    padding: 14px;
    color: #fff;
    font-size: 15px;
    text-align: left;
}

.nf-table tbody tr {
    border-bottom: 1px solid var(--nf-border);
    transition: 0.25s ease;
}

.nf-table tbody tr:hover {
    background: rgba(140, 90, 255, 0.08);
}

.nf-table td {
    padding: 12px 14px;
    color: var(--nf-text);
    font-size: 15px;
}

.nf-table th:first-child,
.nf-table td:first-child {
    width: 60px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    font-weight: 700;
    color: var(--nf-primary-light);
}

.nf-sidebar {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nf-sidebar .nf-card {
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--nf-shadow);
}

.nf-sidebar .nf-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 12px;
    text-align: center;
}

.nf-sidebar .nf-input {
    width: 100%;
    padding: 10px;
    background: var(--nf-bg-light);
    border: 1px solid var(--nf-border);
    border-radius: 6px;
    color: var(--nf-text);
    font-size: 14px;
    margin-bottom: 10px;
}

.nf-sidebar .nf-btn-full {
    width: 100%;
    padding: 10px;
    background: var(--nf-primary);
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.nf-sidebar .nf-btn-full:hover {
    background: var(--nf-primary-light);
}

.nf-sidebar .nf-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.nf-sidebar .nf-links a {
    font-size: 13px;
    color: var(--nf-primary-light);
}

.nf-recaptcha {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.nf-recaptcha .g-recaptcha {
    transform: scale(0.82);
    transform-origin: 0 0;
}

.g-recaptcha,
.nf-recaptcha iframe {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


.nf-sidebar .nf-stat-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--nf-border);
    font-size: 14px;
}

.nf-sidebar .nf-stat-line:last-child {
    border-bottom: none;
}

.nf-sidebar .nf-stat-line .value {
    font-weight: 700;
    color: #fff;
}

.nf-sidebar .nf-top-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--nf-border);
    font-size: 14px;
}

.nf-sidebar .nf-top-item:last-child {
    border-bottom: none;
}

.nf-sidebar .nf-top-item .rank {
    color: var(--nf-primary-light);
    font-weight: 700;
}

.nf-sidebar .nf-top-item .name {
    color: #fff;
}

.nf-footer {
    margin-top: 40px;
    padding: 25px 0;
    background: var(--nf-bg-light);
    border-top: 1px solid var(--nf-border);
}

.nf-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    padding: 0 30px;
}

.nf-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nf-footer-nav a {
    color: var(--nf-primary-light);
    font-size: 14px;
}

.nf-footer-copy {
    color: var(--nf-text-muted);
    font-size: 12px;
}

@media (max-width: 900px) {

    .nf-main {
        flex-direction: column;
    }

    .nf-burger {
        display: flex;
    }

    .nf-menu {
        position: absolute;
        top: 75px;
        right: 0;
        width: 220px;
        background: #15101f;
        border-left: 1px solid rgba(140, 90, 255, 0.25);
        border-bottom: 1px solid rgba(140, 90, 255, 0.25);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        display: none;
    }

    .nf-menu.open {
        display: flex;
    }

    /* Ranking tabs */
    .nf-ranking-tabs {
        flex-direction: column;
    }

    .nf-tab {
        width: 100%;
        justify-content: center;
    }

    /* Table responsive */
    .nf-table thead {
        display: none;
    }

    .nf-table tr {
        display: block;
        margin-bottom: 15px;
        background: var(--nf-card-light);
        border-radius: 8px;
        padding: 10px;
    }

    .nf-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
    }

    .nf-table td::before {
        content: attr(data-label);
        color: var(--nf-primary-light);
        font-weight: 600;
    }
}

/* Conteneur global pour toutes les pages (hors navbar) */
.nf-page-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

