: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);
}

body * {
    user-select: none;
    cursor: default;
}

input,
textarea,
select {
    user-select: text !important;
    cursor: text !important;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--nf-bg);
    color: var(--nf-text);
    font-family: 'NunitoSans-Regular', sans-serif;
}

.nf-main {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .nf-main {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .nf-left {
        max-width: 100%;
        width: 100%;
    }

    .nf-sidebar {
        max-width: 100%;
        width: 100%;
    }
}

.nf-navbar .nf-container {
    justify-content: space-between !important;
}

.nf-content {
    justify-content: center;
}

.nf-left {
    flex: 4;
    max-width: 900px;
}

.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;
}

.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;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.nf-page2 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.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 {
    width: 900px;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 35px;
    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: 35px;
    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));
}

.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;
}

.nf-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-logo img {
    height: 55px;
    transition: 0.3s ease;
}

.nf-logo img:hover {
    transform: scale(1.05);
}

.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%;
}

.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;
}

@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;
    }
}

.nf-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.nf-buttons .nf-btn {
    flex: none;
    min-width: 160px;
    text-align: center;
}

.nf-btn,
.nf-buttons a,
button,
a {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.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;
}

.nf-btn:hover {
    background: var(--nf-primary);
    color: #fff;
}

.nf-btn-big {
    padding: 18px 26px;
    font-size: 18px;
}

.nf-btn-small {
    padding: 14px 22px;
    font-size: 16px;
}

.nf-btn-full {
    padding: 14px;
    background: var(--nf-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

.nf-btn-full:hover {
    background: var(--nf-primary-light);
}

.nf-download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.nf-download-btn {
    display: flex;
    flex-direction: column;
    background: var(--nf-primary);
    color: #fff;
    padding: 18px 28px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    max-width: 450px;
    transition: 0.25s ease;
    box-shadow: var(--nf-shadow);
    text-decoration: none !important;
}

.nf-download-btn span {
    font-size: 14px;
    opacity: 0.8;
}

.nf-download-btn:hover {
    background: var(--nf-primary-light);
    color: #000;
}

.nf-download-btn::after,
.nf-btn::after,
.nf-buttons a::after {
    content: none !important;
    display: none !important;
}

.nf-ranking-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 25px auto 30px auto;
    max-width: 900px;
}

.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;
}

.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;
    text-decoration: none;
}

.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 {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 40px auto;
    padding: 20px 25px;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--nf-shadow);
}

.nf-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--nf-card-light);
    border-radius: 10px;
    overflow: hidden;
}

.nf-table thead {
    background: var(--nf-primary);
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.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);
}

@media (max-width: 900px) {
    .nf-ranking-tabs {
        flex-direction: column;
    }

    .nf-tab {
        width: 100%;
        justify-content: center;
    }

    .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;
    }
}

.nf-download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.nf-download-btn {
    display: flex;
    flex-direction: column;
    background: var(--nf-primary);
    color: #fff;
    padding: 18px 28px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    max-width: 450px;
    transition: 0.25s ease;
    box-shadow: var(--nf-shadow);
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.nf-download-btn span {
    font-size: 14px;
    opacity: 0.8;
}

.nf-download-btn:hover {
    background: var(--nf-primary-light);
    color: #000;
}

.nf-download-btn::after {
    content: none !important;
    display: none !important;
}

.nf-system-req {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.nf-req-block {
    flex: 1;
    min-width: 300px;
    background: var(--nf-card-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--nf-border);
    box-shadow: var(--nf-shadow);
}

.nf-req-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 15px;
}

.nf-req-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-req-block li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.nf-req-table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--nf-shadow);
}

.nf-req-table thead {
    background: var(--nf-primary);
}

.nf-req-table thead th {
    padding: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.nf-event-empty{
    text-align: center;
}

.nf-req-table tbody tr {
    border-bottom: 1px solid var(--nf-border);
}

.nf-req-table tbody tr:last-child {
    border-bottom: none;
}

.nf-req-table td {
    padding: 14px 18px;
    color: var(--nf-text);
    font-size: 14px;
    line-height: 1.6;
    vertical-align: top;
}

.nf-req-table td strong {
    color: var(--nf-primary-light);
    font-weight: 700;
}

.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;
    text-decoration: none;
    transition: 0.25s ease;
}

.nf-footer-nav a:hover {
    color: #fff;
}

.nf-footer-copy {
    color: var(--nf-text-muted);
    font-size: 12px;
}

.nf-sidebar {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nf-card {
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--nf-shadow);
}

.nf-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 12px;
    text-align: center;
}

.nf-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--nf-bg-light);
    border: 1px solid var(--nf-border);
    border-radius: 8px;
    color: var(--nf-text);
    font-size: 15px;
    margin-bottom: 10px;
    transition: 0.25s;
}

.nf-input:focus {
    border-color: var(--nf-primary);
    box-shadow: 0 0 8px rgba(140, 90, 255, 0.4);
    outline: none;
}

.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-links {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.nf-links a {
    font-size: 13px;
    color: var(--nf-primary-light);
    text-decoration: none;
    transition: 0.25s ease;
}

.nf-links a:hover {
    color: #fff;
}

.nf-btn-full {
    width: 100%;
    padding: 12px 16px;
    background: var(--nf-primary);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    text-align: center;
}

.nf-btn-full:hover {
    background: var(--nf-primary-light);
}

.nf-user-welcome {
    font-size: 14px;
    color: var(--nf-text);
    margin-bottom: 8px;
}

.nf-user-welcome a {
    color: var(--nf-primary-light);
    text-decoration: none;
    font-weight: 600;
}

.nf-user-welcome a:hover {
    color: #fff;
}

.nf-user-points {
    font-size: 14px;
    color: var(--nf-text);
    margin-bottom: 12px;
}

.nf-user-points b {
    color: var(--nf-primary-light);
}

.nf-user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nf-user-menu li a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--nf-primary-light);
    font-size: 14px;
    text-decoration: none;
    transition: 0.25s ease;
}

.nf-user-menu li a:hover {
    background: var(--nf-card-light);
    color: #fff;
}

.nf-user-menu li a.logout {
    color: #ff6b6b;
}

.nf-user-menu li a.logout:hover {
    background: rgba(255, 107, 107, 0.12);
    color: #ff9b9b;
}

.nf-stat-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--nf-border);
    font-size: 14px;
}

.nf-stat-line:last-child {
    border-bottom: none;
}

.nf-stat-line .value {
    font-weight: 700;
    color: #fff;
}

.nf-stat-line .label {
    color: var(--nf-primary-light);
}

.nf-top-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--nf-border);
    font-size: 14px;
}

.nf-top-item:last-child {
    border-bottom: none;
}

.nf-top-item .rank {
    color: var(--nf-primary-light);
    font-weight: 700;
}

.nf-top-item .name {
    color: #fff;
}

.nf-top-item .value {
    color: var(--nf-text-muted);
}

.nf-page-content,
.nf-page2,
.nf-table-wrapper,
.nf-header-image,
.nf-ranking-tabs,
.nf-form,
.nf-download-list,
.nf-system-req,
.nf-req-table {
    width: 100%;
    max-width: 900px;
    margin: 10px auto;
}

.nf-header-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    width: 100%;
}

.nf-recaptcha-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 25px;
}

.nf-recaptcha-center .g-recaptcha {
    transform: scale(0.90);
    transform-origin: center;
}

.g-recaptcha,
.nf-recaptcha-center iframe {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nf-search-bar {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 25px auto;
}

.nf-search-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nf-search-grid .nf-input {
    width: 220px !important;
    max-width: 220px !important;
    flex: none !important;
}

.nf-btn-small {
    width: auto !important;
    flex: none !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.nf-search-grid .nf-btn-small {
    margin-top: -10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 10px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span,
.pagination a:visited {
    background: var(--nf-card-light) !important;
    border: 1px solid var(--nf-border) !important;
    color: var(--nf-primary-light) !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: 0.25s ease !important;
}

.pagination a:hover {
    background: var(--nf-primary) !important;
    color: #fff !important;
    border-color: var(--nf-primary) !important;
}

.pagination span {
    background: var(--nf-primary) !important;
    color: #fff !important;
    border-color: var(--nf-primary) !important;
}

.pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 25px 0 10px 0 !important;
    flex-wrap: wrap !important;
}

.nf-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nf-accordion-item {
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 10px;
    box-shadow: var(--nf-shadow);
    overflow: hidden;
}

.nf-accordion-header {
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--nf-primary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.25s ease;
}

.nf-accordion-header:hover {
    background: var(--nf-card-light);
}

.nf-accordion-content {
    display: none;
    padding: 20px;
    background: var(--nf-bg-light);
    border-top: 1px solid var(--nf-border);
}

.nf-accordion-content.open {
    display: block;
}

.nf-admin-card {
    padding: 25px;
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 12px;
    box-shadow: var(--nf-shadow);
    margin-top: 20px;
}

.nf-card-content {
    padding: 10px 5px;
}

.nf-btn-danger {
    background: #d9534f;
}

.nf-btn-danger:hover {
    background: #c9302c;
}

.nf-card {
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid var(--nf-border);
    background: var(--nf-card);
    box-shadow: var(--nf-shadow);
}

.nf-vote-info {
    border-left: 4px solid #3498db;
    background: rgba(52, 152, 219, 0.08);
}

.nf-vote-success {
    border-left: 4px solid #2ecc71;
    background: rgba(46, 204, 113, 0.08);
}

.nf-vote-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 10px;
}

.nf-vote-text {
    font-size: 15px;
    color: var(--nf-text);
    margin-bottom: 10px;
}

.nf-vote-link {
    color: #3498db;
    font-weight: 600;
    text-decoration: underline;
}

.nf-btn-blue {
    background: #3498db !important;
}

.nf-btn-blue:hover {
    background: #2980b9 !important;
}

.nf-vote-error {
    border-left: 4px solid #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

.nf-vote-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 10px;
}

.nf-vote-text {
    font-size: 15px;
    color: var(--nf-text);
    margin-bottom: 10px;
}

.nf-btn-red {
    background: #e74c3c !important;
}

.nf-btn-red:hover {
    background: #c0392b !important;
}

.nf-champion {
    background: linear-gradient(135deg, #8e44ad, #d35400);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.nf-top-item .value {
    font-weight: 700;
}

.nf-top-item .value.champion {
    background: linear-gradient(135deg, #8e44ad, #d35400);
    padding: 3px 8px;
    border-radius: 6px;
    color: #fff;
}

.nf-event-calendar {
    width: 100%;
    max-width: 280px;
    margin: 0;
    padding: 15px;
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 10px;
    box-shadow: var(--nf-shadow);
}

.nf-event-title {
    text-align: center;
    color: var(--nf-primary-light);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.nf-event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nf-event-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 8px rgba(140, 90, 255, 0.25);
}

.nf-event-icon img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(140, 90, 255, 0.45);
}

.nf-event-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nf-event-title2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--nf-primary-light);
    text-transform: uppercase;
}

.nf-event-sub {
    font-size: 11px;
    color: var(--nf-text-muted);
    line-height: 1.3;
}

@media (max-width: 900px) {
    .nf-event-calendar {
        max-width: 100%;
        width: 100%;
    }

    .nf-event-card {
        padding: 12px;
        gap: 12px;
    }

    .nf-event-title2 {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .nf-main {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        align-items: flex-start;
    }

    .nf-left,
    .nf-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
    }

    .nf-page,
    .nf-page2,
    .nf-page-content,
    .nf-table-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
    }

    .nf-page-title,
    .nf-header-title {
        font-size: 20px !important;
        text-align: left !important;
    }

    .nf-search-bar {
        max-width: 100% !important;
        width: 100% !important;
    }

    .nf-search-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nf-search-grid .nf-input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .nf-btn,
    .nf-btn-small,
    .nf-btn-full {
        width: 100% !important;
        text-align: center;
    }

    .nf-card {
        width: 100% !important;
        text-align: left !important;
    }

    .nf-card-title {
        text-align: left !important;
    }

    .nf-event-calendar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
    }

    .nf-event-card {
        padding: 12px !important;
        gap: 12px !important;
    }

    .nf-event-title2 {
        max-width: 220px !important;
    }

    .nf-table thead {
        display: none !important;
    }

    .nf-table tr {
        display: block;
        margin-bottom: 15px;
        padding: 12px;
        border-radius: 8px;
    }

    .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;
    }

    .nf-input {
        width: 100% !important;
    }

    .nf-menu {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
}

@media (max-width: 900px) {
    .nf-buttons {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .nf-buttons .nf-btn {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        justify-content: flex-start !important;
        padding: 14px 18px !important;
    }
}

@media (max-width: 900px) {
    .nf-page,
    .nf-page2 {
        padding: 15px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .nf-header-title {
        font-size: 20px !important;
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    .nf-search-bar {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
    }

    .nf-search-grid {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .nf-search-grid .nf-input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .nf-search-grid .nf-btn-small {
        width: 100% !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .nf-ranking-tabs {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin: 15px 0 !important;
    }

    .nf-tab {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 12px !important;
    }

    .nf-table-wrapper {
        padding: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .nf-table thead {
        display: none !important;
    }

    .nf-table tr {
        display: block !important;
        background: var(--nf-card-light);
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 8px;
    }

    .nf-table td {
        display: flex !important;
        justify-content: space-between !important;
        padding: 6px 0 !important;
        font-size: 14px !important;
    }

    .nf-table td::before {
        content: attr(data-label);
        color: var(--nf-primary-light);
        font-weight: 600;
    }

    .pagination {
        gap: 8px !important;
        margin-top: 15px !important;
    }

    .pagination a,
    .pagination span {
        width: auto !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

/* ============================
   RESPONSIVE MOBILE — TOUT CENTRÉ
   ============================ */

@media (max-width: 900px) {
    .nf-main,
    .nf-left,
    .nf-sidebar,
    .nf-page,
    .nf-page2,
    .nf-page-content,
    .nf-table-wrapper,
    .nf-card,
    .nf-event-calendar {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .nf-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .nf-buttons .nf-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .nf-search-grid {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .nf-search-grid .nf-input,
    .nf-search-grid .nf-btn-small {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Tabs */
    .nf-ranking-tabs {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .nf-tab {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .nf-event-card {
        justify-content: center !important;
        text-align: center !important;
    }

    .nf-event-body {
        align-items: center !important;
    }

    .nf-table tr {
        text-align: center !important;
    }

    .nf-table td {
        justify-content: center !important;
    }

    .nf-table td::before {
        width: 100%;
        text-align: center !important;
    }

    .pagination {
        justify-content: center !important;
    }
}

.nf-download-header {
    text-align: center;
    margin-bottom: 25px;
}

.nf-download-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--nf-primary-light);
}

.nf-download-sub {
    font-size: 14px;
    color: var(--nf-text-muted);
}

.nf-download-section {
    margin-bottom: 35px;
}

.nf-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 15px;
}

.nf-mirror-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nf-mirror-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    padding: 15px;
    border-radius: 10px;
    transition: 0.25s ease;
    color: var(--nf-text);
}

.nf-mirror-btn:hover {
    background: var(--nf-primary);
    color: #fff;
}

.nf-mirror-icon {
    font-size: 26px;
    color: var(--nf-primary-light);
}

.nf-mirror-text span {
    font-size: 12px;
    opacity: 0.7;
}

.nf-req-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.nf-req-item {
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.nf-req-item img {
    width: 40px;
    margin-bottom: 10px;
}

.nf-accordion-header {
    background: var(--nf-card-light);
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: var(--nf-primary-light);
}

.nf-accordion-content {
    display: none;
    padding: 15px;
    background: var(--nf-bg-light);
    border-radius: 8px;
    margin-top: 8px;
}

.nf-accordion-content.open {
    display: block;
}

@media (max-width: 900px) {
    .nf-req-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nf-register-wrapper {
    display: flex;
    gap: 40px;
    background: var(--nf-card);
    border: 1px solid var(--nf-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--nf-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.nf-register-left,
.nf-register-right {
    flex: 1;
}

.nf-reg-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--nf-primary-light);
    margin-bottom: 20px;
}

.nf-reg-req {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-reg-req li {
    background: var(--nf-card-light);
    border: 1px solid var(--nf-border);
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.nf-reg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nf-reg-group label {
    font-size: 13px;
    color: var(--nf-primary-light);
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.nf-input-icon {
    position: relative;
}

.nf-input-icon i {
    position: absolute;
    left: 14px;
    top: 40%;
    transform: translateY(-52%);
    font-size: 16px;
    color: var(--nf-primary-light);
    pointer-events: none;
    opacity: 0.9;
}

.nf-input-icon .nf-input {
    padding-left: 45px !important;
    height: 46px !important;
    line-height: 46px !important;
}


.nf-reg-btn {
    width: 100%;
    padding: 14px;
    background: var(--nf-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 15px;
}

.nf-reg-btn:hover {
    background: var(--nf-primary-light);
    color: #000;
}

.nf-reg-login {
    margin-top: 15px;
    font-size: 13px;
    color: var(--nf-text-muted);
}

.nf-reg-login a {
    color: var(--nf-primary-light);
    font-weight: 600;
}


@media (max-width: 900px) {
    .nf-register-wrapper {
        flex-direction: column;
        padding: 25px;
    }
}

.nf-req-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.nf-req-premium {
    padding: 20px;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--nf-primary-light);
    border-radius: 10px;
    transition: 0.25s ease;
    backdrop-filter: blur(6px);
}

.nf-req-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(140, 90, 255, 0.4);
}

.nf-req-icon {
    height: 50px;
    width: 50px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    border: 1px solid var(--nf-primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(20, 20, 20, 0.4);
    box-shadow: 0 0 10px rgba(140, 90, 255, 0.3);
}

.nf-req-icon i {
    font-size: 22px;
    color: var(--nf-primary-light);
}

.nf-req-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--nf-primary-light);
    opacity: 0.7;
    margin-bottom: 5px;
}

.nf-req-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 900px) {
    .nf-req-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

i.fa-solid,
i.fa-brands,
i.fa-regular {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.nf-stat-line i,
.nf-top-item i {
    margin-right: 6px;
    color: var(--nf-primary-light);
}

.nf-card-title i {
    margin-right: 8px;
    color: var(--nf-primary-light);
}

.nf-error-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.4);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 12px rgba(255, 60, 60, 0.25);
}

.nf-error-icon {
    font-size: 22px;
    color: #ff4d4d;
}

.nf-error-text {
    color: #ffb3b3;
    font-size: 14px;
    font-weight: 600;
}

.nf-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.nf-msg-success {
    background: rgba(0, 255, 120, 0.08);
    border: 1px solid rgba(0, 255, 120, 0.35);
    color: #9affc8;
    box-shadow: 0 0 12px rgba(0, 255, 120, 0.25);
}

.nf-msg-error {
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.4);
    color: #ffb3b3;
    box-shadow: 0 0 12px rgba(255, 60, 60, 0.25);
}

.nf-msg-info {
    background: rgba(120, 120, 255, 0.08);
    border: 1px solid rgba(120, 120, 255, 0.35);
    color: #c5c8ff;
    box-shadow: 0 0 12px rgba(120, 120, 255, 0.25);
}

.nf-msg i {
    font-size: 20px;
}

.nf-card-title,
.nf-header-title,
.nf-event-title {
    position: relative;
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 22px;
    margin-top: -6px;
}

.nf-card-title::after,
.nf-header-title::after,
.nf-event-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b48cff, #7a3cff);
    box-shadow: 0 0 8px rgba(140, 80, 255, 0.6);
}

.nf-download-title {
    position: relative;
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 25px;
    margin-top: -6px;
    font-size: 28px;
    font-weight: 700;
    color: #e8e0ff;
}

.nf-download-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b48cff, #7a3cff);
    box-shadow: 0 0 8px rgba(140, 80, 255, 0.6);
}

.nf-section-title {
    position: relative;
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 22px;
    margin-top: -4px;
    font-size: 20px;
    font-weight: 600;
    color: #d8caff;
}

.nf-section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 55px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b48cff, #7a3cff);
    box-shadow: 0 0 8px rgba(140, 80, 255, 0.6);
}

.nf-reg-title {
    position: relative;
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 25px;
    margin-top: -6px;
    font-size: 22px;
    font-weight: 700;
    color: #e8e0ff;
}

/* Barre centrée */
.nf-reg-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b48cff, #7a3cff);
    box-shadow: 0 0 8px rgba(140, 80, 255, 0.6);
}

/* GRID */
.nf-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

/* GRID COMPACTE */
.nf-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* CARD COMPACTE */
.nf-news-card {
    background: #1a1a1f;
    border: 1px solid #6a00ff;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(106,0,255,0.35);
    text-align: center;
}

/* HEADER COMPACT */
.nf-news-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.nf-news-tag {
    background: #6a00ff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
}

.nf-news-date {
    opacity: 0.7;
    font-size: 12px;
}

/* TITRE COMPACT */
.nf-news-title {
    font-size: 17px;
    margin-bottom: 6px;
}

/* BANNIÈRE COMPACTE */
.nf-news-banner {
    width: 100%;
    height: 130px;
    background: url('/img/bg2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin: 10px 0;
}

/* TEXTE COMPACT */
.nf-news-text {
    opacity: 0.8;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
}

/* BOUTONS ADMIN COMPACTS */
.nf-news-admin {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.nf-btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

/* MODALE COMPACTE */
.nf-modal-content {
    background: #1a1a1f;
    border: 1px solid #6a00ff;
    padding: 18px;
    width: 420px;
    border-radius: 10px;
    box-shadow: 0 0 20px #6a00ff;
}

.nf-modal-close {
    font-size: 24px;
}

.nf-news-preview {
    background: #1a1a1f;
    border: 1px solid #6a00ff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.nf-news-preview-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nf-news-preview-item:last-child {
    border-bottom: none;
}

.nf-news-preview-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.nf-news-preview-title {
    font-weight: bold;
    font-size: 14px;
}

.nf-news-preview-date {
    opacity: 0.7;
    font-size: 12px;
}

.nf-news-preview-text {
    opacity: 0.8;
    font-size: 13px;
    margin-bottom: 8px;
}

/* Carte event avec barre latérale */
.nf-event-card {
    position: relative;
    padding-left: 10px;
    border-left: 4px solid transparent;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 10px;
    background: #1a1a1f;
}

/* Couleurs */
.nf-status-en_cours {
    border-left-color: #23ff00;
    animation: glowPulse 1.5s infinite;
}

.nf-status-prochain {
    border-left-color: #6a00ff;
}

.nf-status-suivant {
    border-left-color: #0099ff;
}

/* Glow EN COURS */
@keyframes glowPulse {
    0% { box-shadow: 0 0 4px #23ff00; }
    50% { box-shadow: 0 0 12px #23ff00; }
    100% { box-shadow: 0 0 4px #23ff00; }
}


.nf-remember {
    margin: 8px 0;
    font-size: 13px;
    opacity: 0.8;
}

.nf-remember input {
    margin-right: 5px;
}

.nf-donate-tag {
    background: #6a00ff;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 8px;
    font-weight: 600;
}

.nf-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.nf-alert-info {
    background: rgba(106, 0, 255, 0.12);
    border-color: #6a00ff;
    color: #d6cfff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nf-alert-info strong {
    font-weight: 600;
}

.nf-donate-info-box {
    background: rgba(106, 0, 255, 0.15);
    display: block !important;
    border: 1px solid #6a00ff;
    color: #e4d9ff;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
    box-shadow: 0 0 8px rgba(106, 0, 255, 0.25);
    white-space: pre-line;
    text-align: center;
}

.nf-donate-info-box strong {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

/* Vote — paliers & statistiques */
.nf-vote-page .nf-vote-sub {
    color: var(--nf-text-muted);
    font-size: 14px;
    margin: -8px 0 20px;
    text-align: center;
}

.nf-vote-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

.nf-vote-hero {
    text-align: center;
    padding: 28px 22px;
}

.nf-vote-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(140, 90, 255, 0.15);
    border: 1px solid var(--nf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--nf-primary-light);
}

.nf-vote-check-form {
    margin-top: 12px;
}

.nf-vote-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.nf-vote-tier-card {
    background: var(--nf-bg-light);
    border: 1px solid var(--nf-border);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    position: relative;
}

.nf-vote-tier-card.is-active {
    border-color: #c9a227;
    box-shadow: 0 0 16px rgba(201, 162, 39, 0.25);
}

.nf-vote-tier-icon {
    font-size: 22px;
    color: var(--nf-primary-light);
    margin-bottom: 8px;
}

.nf-vote-tier-name {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.nf-vote-tier-range,
.nf-vote-tier-points {
    font-size: 12px;
    color: var(--nf-text-muted);
}

.nf-vote-tier-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.2);
    color: #f0d78c;
}

.nf-vote-tiers-hint {
    font-size: 12px;
    color: var(--nf-text-muted);
    margin-top: 14px;
}

.nf-vote-reward-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-vote-reward-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

.nf-vote-reward-list li i {
    color: var(--nf-primary);
    width: 22px;
}

.nf-vote-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.nf-vote-stat-wide {
    grid-column: 1 / -1;
}

.nf-vote-cooldown {
    text-align: center;
    margin-bottom: 16px;
}

.nf-vote-countdown {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #f0d78c;
    font-variant-numeric: tabular-nums;
    margin: 12px 0;
}

.nf-vote-bonus-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.nf-vote-bonus-pill {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: #f0d78c;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.nf-vote-buff-note,
.nf-vote-cooldown-msg {
    font-size: 13px;
    color: var(--nf-text-muted);
}

.nf-vote-bonus-inline {
    font-size: 12px;
    color: var(--nf-text-muted);
}

.nf-vote-stat {
    background: var(--nf-bg-light);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.nf-vote-stat .num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--nf-primary-light);
}

.nf-vote-stat .lbl {
    font-size: 11px;
    color: var(--nf-text-muted);
}

.nf-vote-stat-highlight {
    margin-top: 14px;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(140,90,255,0.25), rgba(106,0,255,0.15));
    text-align: center;
}

.nf-vote-stat-highlight .num {
    display: block;
    font-size: 26px;
    font-weight: 800;
}

.nf-vote-current-name {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #f0d78c;
}

.nf-vote-current-pts {
    text-align: center;
    color: var(--nf-text-muted);
}

.nf-vote-history-list {
    list-style: none;
    padding: 0 4px 0 0;
    margin: 0;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 39, 0.45) rgba(255, 255, 255, 0.06);
}

.nf-vote-history-list::-webkit-scrollbar {
    width: 6px;
}

.nf-vote-history-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
}

.nf-vote-history-list::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.45);
    border-radius: 3px;
}

.nf-vote-history-list li {
    padding: 10px 6px 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}

.nf-vote-history-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.nf-vote-history-row .src {
    font-size: 11px;
    color: var(--nf-text-muted);
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.nf-vote-flash {
    margin-bottom: 16px;
}

.nf-vote-bonus-pick--inline {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nf-vote-bonus-pick--inline .nf-card-title {
    margin-top: 0;
}

.nf-vote-bonus-pick-desc,
.nf-vote-bonus-pick-hint {
    font-size: 13px;
    color: var(--nf-text-muted);
    text-align: center;
}

.nf-vote-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.nf-vote-bonus-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--nf-bg-light);
    margin: 0;
}

.nf-vote-bonus-card--metin {
    border-color: rgba(160, 100, 255, 0.45);
}

.nf-vote-bonus-card--boss {
    border-color: rgba(80, 200, 120, 0.45);
}

.nf-vote-bonus-card--drop {
    border-color: rgba(201, 162, 39, 0.45);
}

.nf-vote-bonus-card--human {
    border-color: rgba(220, 140, 80, 0.45);
}

.nf-vote-bonus-card-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
    min-height: 2.7em;
}

.nf-vote-bonus-card-icon {
    font-size: 28px;
    color: #f0d78c;
    opacity: 0.9;
}

.nf-vote-bonus-card-btn {
    width: 100%;
}

.nf-inline-form {
    display: inline-block;
    margin: 0;
}

@media (max-width: 960px) {
    .nf-vote-layout {
        grid-template-columns: 1fr;
    }
}
