body{
    background-image: url("img/testfon.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    background-color: #070c11; /* color base si no carga la imagen */
}
/* =========================
   HEADER / MENU MU ONLINE
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(180deg, rgba(7, 12, 28, 0.96) 0%, rgba(10, 16, 37, 0.92) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(119, 89, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 50%, rgba(123, 92, 255, 0.08), transparent 30%),
        radial-gradient(circle at 80% 50%, rgba(0, 183, 255, 0.07), transparent 30%);
}

.header__content {
    position: relative;
    z-index: 2;
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 22px;
}

/* LOGO */
.header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    transition: transform .25s ease, filter .25s ease;
}

.header__logo img {
    max-height: 46px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(124, 92, 255, 0.28));
    transition: transform .25s ease, filter .25s ease;
}

.header__logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(124, 92, 255, 0.42));
}

/* NAV */
.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.header__nav > li {
    position: relative;
    list-style: none;
}

.header__nav > li > a,
.header__nav > li > .dropdown-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
    color: #e8ecff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 12px;
    transition:
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

/* línea animada abajo */
.header__nav > li > a::after,
.header__nav > li > .dropdown-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7b5cff, #23c8ff);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s ease;
    box-shadow: 0 0 12px rgba(123, 92, 255, 0.45);
}

/* hover */
.header__nav > li:hover > a,
.header__nav > li:hover > .dropdown-link,
.header__nav > li > a:hover,
.header__nav > li > .dropdown-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 0 0 1px rgba(123, 92, 255, 0.18);
    transform: translateY(-1px);
}

.header__nav > li:hover > a::after,
.header__nav > li:hover > .dropdown-link::after,
.header__nav > li > a:hover::after,
.header__nav > li > .dropdown-link:hover::after {
    transform: scaleX(1);
}

/* item activo opcional */
.header__nav > li.active > a,
.header__nav > li.active > .dropdown-link {
    color: #fff;
    background: rgba(123, 92, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(123, 92, 255, 0.2);
}

.header__nav > li.active > a::after,
.header__nav > li.active > .dropdown-link::after {
    transform: scaleX(1);
}

/* flechita dropdown */
.header__nav .dropdown-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform .25s ease, opacity .25s ease;
    opacity: .85;
}

.header__dropdown:hover .dropdown-link svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* DROPDOWN */
.header__dropdown-menu {
    margin-top: 12px !important;
    padding: 10px !important;
    min-width: 220px;
    border-radius: 16px !important;
    border: 1px solid rgba(123, 92, 255, 0.18) !important;
    background: linear-gradient(180deg, rgba(13, 19, 42, 0.98) 0%, rgba(10, 14, 30, 0.98) 100%) !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255,255,255,0.02) inset;
    backdrop-filter: blur(12px);
}

.header__dropdown-menu li {
    list-style: none;
}

.header__dropdown-menu li a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #dfe7ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .25s ease;
}

.header__dropdown-menu li a:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(123, 92, 255, 0.15), rgba(35, 200, 255, 0.12));
    box-shadow: inset 0 0 0 1px rgba(123, 92, 255, 0.16);
    padding-left: 18px;
}

/* BOTON CONNECT */
.header__cta {
    margin-left: auto;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid rgba(123, 92, 255, 0.28);
    background: linear-gradient(180deg, rgba(15, 22, 50, 0.95), rgba(10, 15, 34, 0.95));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all .28s ease;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}

.header__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(123, 92, 255, 0.16), transparent);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.header__cta:hover {
    transform: translateY(-2px);
    border-color: rgba(35, 200, 255, 0.45);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.38),
        0 0 18px rgba(90, 120, 255, 0.18);
}

.header__cta:hover::before {
    transform: translateX(100%);
}

.header__cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: .92;
}

/* BOTON HAMBURGUESA */
.header__btn {
    border-radius: 12px;
    transition: background .25s ease, box-shadow .25s ease;
}

.header__btn:hover {
    background: rgba(255,255,255,0.04);
    box-shadow: inset 0 0 0 1px rgba(123, 92, 255, 0.16);
}

.header__btn span {
    transition: all .25s ease;
}

.header__btn:hover span {
    background: linear-gradient(90deg, #7b5cff, #23c8ff);
}

/* MOBILE */
@media (max-width: 991px) {
    .header__content {
        min-height: 76px;
    }

    .header__nav {
        margin-left: 0;
        gap: 4px;
    }

    .header__nav > li > a,
    .header__nav > li > .dropdown-link {
        width: 100%;
        justify-content: space-between;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 13px;
    }

    .header__dropdown-menu {
        min-width: 100%;
        margin-top: 8px !important;
        border-radius: 12px !important;
    }

    .header__cta {
        height: 44px;
        padding: 0 16px;
        font-size: 12px;
    }
}
.header__nav > li > a,
.header__nav > li > .dropdown-link,
.header__dropdown-menu li a,
.header__cta {
    font-family: 'Rajdhani', sans-serif;
}

.header__logo {
    font-family: 'Cinzel', serif;
}
@media (max-width: 768px) {
    .header__nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        width: 100%;
    }

    .header__nav > li {
        flex: 1;
        min-width: 0;
    }

    .header__nav > li > a,
    .header__nav > li > .dropdown-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 6px;
        height: 34px;
        font-size: 10px;
        letter-spacing: 0.03em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 8px;
    }

    .header__nav .dropdown-link svg {
        display: none;
    }
}
/* =========================
   MOBILE MENU - SIN ROMPER JS
========================= */
@media (max-width: 768px) {

    .header__content {
        min-height: 70px;
        padding: 0 12px;
    }

    .header__logo img {
        max-height: 34px;
    }

    .header__btn {
        border-radius: 10px;
    }

    .header__btn:hover {
        background: rgba(255,255,255,0.04);
    }

    .header__cta {
        height: 38px;
        min-width: 38px;
        padding: 0 12px;
        border-radius: 10px;
    }

    .header__cta span {
        display: none;
    }

    .header__cta svg {
        margin: 0;
        width: 16px;
        height: 16px;
    }

    /* IMPORTANTE:
       no forzamos display:flex ni width raros en header__nav
       dejamos que el JS del template lo abra/cierre
    */
    .header__nav {
        background: linear-gradient(180deg, rgba(7, 12, 28, 0.98) 0%, rgba(10, 16, 37, 0.98) 100%);
        border: 1px solid rgba(119, 89, 255, 0.14);
        border-radius: 14px;
		height: 60px;
        padding: 10px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.35);
        backdrop-filter: blur(10px);
    }
	.header__nav {
    transform: translate3d(-100%,0,0);
    transition: transform .4s ease;
}
.header__nav.header__nav--active {
    transform: translate3d(0,0,0);
}

    .header__nav > li {
        width: 100%;
        margin: 0 0 6px 0;
    }

    .header__nav > li:last-child {
        margin-bottom: 0;
    }

    .header__nav > li > a,
    .header__nav > li > .dropdown-link {
        width: 100%;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #eef2ff;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(123, 92, 255, 0.10);
        transition: all .25s ease;
    }

    .header__nav > li > a:hover,
    .header__nav > li > .dropdown-link:hover {
        background: linear-gradient(90deg, rgba(123, 92, 255, 0.12), rgba(35, 200, 255, 0.08));
        border-color: rgba(123, 92, 255, 0.22);
        color: #fff;
    }

    .header__nav > li > a::after,
    .header__nav > li > .dropdown-link::after {
        display: none;
    }

    .header__nav .dropdown-link svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .header__dropdown-menu {
        margin-top: 6px !important;
        padding: 6px !important;
        border-radius: 10px !important;
        background: rgba(8, 13, 30, 0.98) !important;
        border: 1px solid rgba(123, 92, 255, 0.14) !important;
        box-shadow: none !important;
    }

    .header__dropdown-menu li a {
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 11px;
        letter-spacing: 0.04em;
    }
}
/* =========================
   HERO SERVER BOX
========================= */

.serverbox {
    position: absolute;
    right: 72px;
    top: 78px;
    width: 390px;
    padding: 22px 22px 24px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(18, 28, 60, 0.96) 0%, rgba(14, 22, 46, 0.98) 100%);
    border: 1px solid rgba(118, 142, 255, 0.12);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.38),
        inset 0 0 0 1px rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.serverbox__badge {
    position: absolute;
    top: -14px;
    right: 26px;
    padding: 8px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ff4d5f 0%, #d61f50 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(255, 61, 103, 0.35);
}

.serverbox__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.serverbox__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(46, 72, 146, 0.55), rgba(20, 33, 72, 0.8));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
}

.serverbox__icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.serverbox__title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.serverbox__title span {
    display: block;
    margin-top: 3px;
    color: #9ca8cf;
    font-size: 14px;
    font-weight: 500;
}

.serverbox__total {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(5, 8, 18, 0.95), rgba(8, 12, 24, 0.95));
    border: 1px solid rgba(255, 230, 0, 0.15);
    box-shadow:
        inset 0 0 18px rgba(255,255,255,0.02),
        0 0 18px rgba(255, 224, 0, 0.06);
    text-align: center;
}

.serverbox__total-number {
    display: block;
    color: #fff200;
    text-shadow: 0 0 10px rgba(255, 242, 0, 0.45);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.serverbox__total-text {
    display: block;
    margin-top: 6px;
    color: #d7defa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.serverbox__servers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.serverline {
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(9, 14, 28, 0.96), rgba(12, 18, 34, 0.96));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.01);
}

.serverline__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.serverline__name {
    color: #ffe100;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.serverline__count {
    color: #ffd84e;
    font-size: 12px;
    font-weight: 700;
}

.serverline__bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            90deg,
            #111 0 12px,
            #1f1f1f 12px 14px
        );
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.serverline__fill {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #00ff4c 0%, #b7ff00 65%, #ffd400 100%);
    box-shadow: 0 0 10px rgba(115, 255, 0, 0.25);
}

.serverbox__more {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid rgba(193, 110, 255, 0.8);
    background: rgba(19, 28, 60, 0.8);
    transition: all .25s ease;
}

.serverbox__more:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(193, 110, 255, 0.25);
}

.serverbox__more svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Ajuste del hero izquierdo para que no se choque */
.hero__content--left {
    position: relative;
    min-height: 550px;
    padding: 70px 520px 70px 80px;
}

/* Responsive */
@media (max-width: 1199px) {
    .serverbox {
        right: 40px;
        width: 350px;
    }

    .hero__content--left {
        padding: 60px 430px 60px 50px;
    }
}

@media (max-width: 991px) {
    .serverbox {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 30px;
    }

    .hero__content--left {
        min-height: auto;
        padding: 50px 30px;
    }

    .serverbox__more {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 18px;
    }
}

@media (max-width: 575px) {
    .serverbox {
        padding: 18px 16px 18px;
        border-radius: 20px;
    }

    .serverbox__title h3 {
        font-size: 24px;
    }

    .serverbox__total-number {
        font-size: 34px;
    }

    .serverline__name {
        font-size: 11px;
    }

    .serverline__count {
        font-size: 11px;
    }
}

/* =========================
   HERO BUTTONS IMPROVED
========================= */

.hero__btns {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero__btn {
    position: relative;
    overflow: hidden;
    min-width: 220px;
    height: 50px;
    padding: 0 30px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.hero__btn span {
    position: relative;
    z-index: 2;
}

/* boton principal */
.hero__btn--primary,
.hero__btn:first-child {
    color: #ffffff;
    border: 1px solid rgba(205, 116, 255, 0.45);
    background: linear-gradient(180deg, rgba(32, 25, 71, 0.88), rgba(24, 20, 54, 0.92));
    box-shadow:
        0 14px 30px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 24px rgba(185, 92, 255, 0.12);
}

.hero__btn--primary::before,
.hero__btn:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.hero__btn--primary:hover,
.hero__btn:first-child:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 34px rgba(0,0,0,0.32),
        0 0 28px rgba(185, 92, 255, 0.18);
}

.hero__btn--primary:hover::before,
.hero__btn:first-child:hover::before {
    transform: translateX(120%);
}

/* boton secundario */
.hero__btn--secondary,
.hero__btn--nephrite {
    color: #dff8ff;
    border: 1px solid rgba(31, 182, 255, 0.45);
    background: linear-gradient(180deg, rgba(11, 44, 79, 0.72), rgba(8, 27, 53, 0.84));
    box-shadow:
        0 14px 30px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 24px rgba(0, 170, 255, 0.10);
}

.hero__btn--secondary::before,
.hero__btn--nephrite::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.hero__btn--secondary:hover,
.hero__btn--nephrite:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 34px rgba(0,0,0,0.32),
        0 0 26px rgba(0, 170, 255, 0.18);
}

.hero__btn--secondary:hover::before,
.hero__btn--nephrite:hover::before {
    transform: translateX(120%);
}

/* pequeño glow inferior */
.hero__btn::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 2px;
    border-radius: 999px;
    opacity: .8;
}

.hero__btn--primary::after,
.hero__btn:first-child::after {
    background: linear-gradient(90deg, rgba(255,255,255,0), #cf79ff, rgba(255,255,255,0));
}

.hero__btn--secondary::after,
.hero__btn--nephrite::after {
    background: linear-gradient(90deg, rgba(255,255,255,0), #3fd7ff, rgba(255,255,255,0));
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199px) {


    .hero__btn {
        min-width: 200px;
        height: 58px;
    }
}

@media (max-width: 991px) {

    .hero__btns {
        gap: 14px;
    }

    .hero__btn {
        min-width: 190px;
        height: 54px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {


    .hero__btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero__btn {
        width: 100%;
        min-width: 100%;
        height: 52px;
        border-radius: 14px;
        font-size: 13px;
    }
}
.hero {
    padding: 20px 0 0 !important;
}
.news-ranking-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.news-ranking-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 30px;
    align-items: start;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading--small {
    margin-bottom: 22px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c06bff;
    margin-bottom: 10px;
}

.section-title {
    margin: 0;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
}

.section-heading--small .section-title {
    font-size: 28px;
}

/* NOTICIAS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    background: rgba(20, 31, 58, 0.92);
    border: 1px solid rgba(111, 153, 255, 0.12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 107, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.news-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0c1628;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-body {
    padding: 20px;
}

.news-date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    color: #7ea7ff;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.news-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.news-title a {
    color: #fff;
    text-decoration: none;
}

.news-title a:hover {
    color: #c06bff;
}

.news-desc {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
}

.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #59b8ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.news-readmore:hover {
    color: #c06bff;
}

/* PAGINACIÓN */
.news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    color: #d8e4ff;
    background: rgba(21, 33, 61, 0.95);
    border: 1px solid rgba(126, 167, 255, 0.16);
    transition: all 0.25s ease;
    font-weight: 700;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #3a7dff, #b455ff);
    color: #fff;
    border-color: transparent;
}

/* RANKING */
.ranking-box {
    position: sticky;
    top: 100px;
    background: rgba(20, 31, 58, 0.94);
    border: 1px solid rgba(111, 153, 255, 0.12);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(9, 18, 35, 0.8);
    border: 1px solid rgba(126, 167, 255, 0.10);
    transition: all 0.25s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    border-color: rgba(192, 107, 255, 0.28);
    background: rgba(13, 23, 43, 0.95);
}

.ranking-position {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #214eff, #8f49ff);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(76, 91, 255, 0.25);
}

.ranking-avatar {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0c1628;
    border: 1px solid rgba(255,255,255,0.06);
}

.ranking-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ranking-info {
    min-width: 0;
}

.ranking-name {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ranking-stats span {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(126, 167, 255, 0.08);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 600;
}

.ranking-more {
    display: block;
    margin-top: 20px;
    text-align: center;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #295dff, #b455ff);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(80, 98, 255, 0.25);
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .news-ranking-wrapper {
        grid-template-columns: 1fr 320px;
    }

    .section-title {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .news-ranking-wrapper {
        grid-template-columns: 1fr;
    }

    .ranking-box {
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .news-body {
        padding: 18px;
    }

    .news-title {
        font-size: 20px;
    }
}
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(30, 65, 130, 0.16) 0%, rgba(5, 10, 20, 0.96) 45%, #030812 100%);
    backdrop-filter: blur(8px);
    transition: opacity .5s ease, visibility .5s ease;
}

.site-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.orbital-loader {
    position: relative;
    width:250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital-loader .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.orbital-loader .ring-1 {
    border: 2px solid rgba(85, 160, 255, 0.10);
    box-shadow:
        0 0 25px rgba(72, 131, 255, 0.12),
        inset 0 0 20px rgba(72, 131, 255, 0.08);
}

.orbital-loader .ring-2 {
    inset: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid #46a6ff;
    border-right: 2px solid rgba(156, 87, 255, 0.95);
    box-shadow:
        0 0 18px rgba(70, 166, 255, 0.45),
        0 0 35px rgba(156, 87, 255, 0.18);
    animation: spinClockwise 1.2s linear infinite;
}

.orbital-loader .ring-3 {
    inset: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(87, 196, 255, 0.95);
    border-left: 2px solid rgba(196, 107, 255, 0.95);
    filter: blur(0.2px);
    opacity: 0.9;
    animation: spinCounter 1.9s linear infinite;
}

.orbital-loader .core {
    width: 204px;
    height: 204px;
    border-radius: 50%;
    background: radial-gradient(circle, #8fd3ff 0%, #4d9dff 35%, #7b4dff 100%);
    box-shadow:
        0 0 18px rgba(110, 190, 255, 0.8),
        0 0 35px rgba(88, 123, 255, 0.45),
        0 0 60px rgba(123, 77, 255, 0.25);
    animation: pulseCore 1.8s ease-in-out infinite;
    position: relative;
}

.orbital-loader .core::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 187, 255, 0.18) 0%, rgba(123, 77, 255, 0.06) 45%, transparent 70%);
    animation: pulseAura 1.8s ease-in-out infinite;
}

.loader-text {
    text-align: center;
}

.loader-text h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-text p {
    margin: 0;
    color: rgba(190, 210, 255, 0.72);
    font-size: 14px;
    letter-spacing: 0.8px;
}

.loader-text h3::after {
    content: "...";
    display: inline-block;
    width: 24px;
    text-align: left;
    animation: dots 1.4s steps(4, end) infinite;
}

@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes spinCounter {
    from { transform: rotate(360deg); }
    to   { transform: rotate(0deg); }
}

@keyframes pulseCore {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 18px rgba(110, 190, 255, 0.8),
            0 0 35px rgba(88, 123, 255, 0.45),
            0 0 60px rgba(123, 77, 255, 0.25);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 0 24px rgba(110, 190, 255, 1),
            0 0 48px rgba(88, 123, 255, 0.62),
            0 0 75px rgba(123, 77, 255, 0.36);
    }
}

@keyframes pulseAura {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes dots {
    0%   { content: ""; }
    25%  { content: "."; }
    50%  { content: ".."; }
    75%  { content: "..."; }
    100% { content: ""; }
}

@media (max-width: 768px) {
    .orbital-loader {
        width: 120px;
        height: 120px;
    }

    .loader-text h3 {
        font-size: 20px;
    }

    .loader-text p {
        font-size: 13px;
    }
}