/* ============================================================
    REGISTRO INTEGRAL DE FUENTES (FONT AWESOME)
   ============================================================ */
@font-face {
    font-family: 'FontAwesomeSolid';
    src: url('../fonts/fa-solid-900.woff2') format('woff2'),
        url('../fonts/fa-solid-900.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

/* --- ESTILOS BASE --- */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- SECCIÓN 1: HERO / PANDALA --- */
.hero-section {
    min-height: 100vh;
    background: url('../img/fondomelo10.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

/* --- NAVBAR ESTILO ANKAMA PRO (FLOTANTE Y ESCALADA) --- */
.navbar-ankama {
    background-color: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    height: 75px;
    width: 94%;
    max-width: 1850px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.nav-left {
    display: flex;
    align-items: center;
}

.ankama-trigger {
    background: rgba(54, 54, 54, 0.03);
    padding: 0 45px;
    height: 75px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    transition: background 0.3s ease;
}

.ankama-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
}

.img-ankama {
    height: 65px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.ankama-trigger:hover .img-ankama {
    transform: scale(1.1);
}

.chevron {
    color: #fff;
    font-size: 12px;
}

.nav-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
}

.brand-logo {
    padding: 0 25px;
    cursor: pointer;
}

.brand-logo img {
    height: 85px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.brand-logo:hover img {
    transform: translateY(-3px) scale(1.05);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    padding-left: 25px;
}

.nav-menu a {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    transition: 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: #4caf50;
    transform: translateY(-2px);
}

.ext-icon {
    font-size: 11px;
    opacity: 0.6;
    margin-left: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 20px;
}

.lang-selector {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* --- BOTÓN CONECTAR / JUGAR INTERACTIVO --- */
.btn-jugar-green {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    background: #3c9e3f !important;
    color: white !important;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 900;
    font-size: 16px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), 0 4px 15px rgba(60, 158, 63, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-block;
}

.btn-jugar-green:hover {
    background: #45a049 !important;
    transform: scale(1.1) translateY(-2px) !important;
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(130, 185, 38, 0.8)) !important;
}

/* --- LETRERO DE MADERA --- */
.wood-title {
    background: url('../img/') no-repeat center center;
    background-size: 100% 100%;
    width: 650px;
    height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    right: 20px;
    z-index: 10;
    text-align: center;
}

.wood-title h2 {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #fff;
    font-size: 3.5rem;
    text-transform: uppercase;
    text-shadow: 4px 4px 10px #000;
    font-weight: 900;
    line-height: 0.95;
    display: block;
    margin: 0;
    transform: translateY(70px);
}

.unete-ya-text {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 35px 0 10px 0;
    text-shadow: 2px 2px 5px #000;
    transform: translateY(90px);
}

/* BOTÓN DESCARGAR HERO */
.btn-descargar-hero {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    display: inline-block;
    background-color: #95d333;
    color: #ffffff;
    padding: 12px 65px;
    font-size: 2.1rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.25), 0 6px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    transform: translateY(100px);
}

.btn-descargar-hero:hover {
    background-color: #2ecc21;
    transform: translateY(100px);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* --- LOGO FLOTANTE --- */
.logo-floating {
    position: absolute;
    top: 115px;
    left: 40px;
    z-index: 2000;
    animation: flotarLogo 4s ease-in-out infinite;
}

.logo-floating img {
    height: 200px;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
}

@keyframes flotarLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- CARACTERÍSTICAS --- */
.features-section {
    padding: 100px 0;
    background-image: url('../img/madera.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    border-top: 5px solid #000000;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
    margin-top: 60px;
}

.botfus-card-img {
    width: 420px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.botfus-card-img:hover {
    transform: translateY(-10px);
}

.botfus-card-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

.overlay-text {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    pointer-events: none;
}

.overlay-text h3 {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 800;
}

.overlay-text p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px #000;
}

/* --- BOTONES SECUNDARIOS --- */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-main {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-orange {
    background: #ff6600;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    color: white;
}

/* ============================================================
    PÁGINA DE TIENDA (DISEÑO GLASSMORPHISM)
   ============================================================ */
.shop-wrapper {
    min-height: 100vh;
    padding-top: 140px;
    background: #0a0a0a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.shop-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 25px;
    padding: 0 20px;
}

.shop-sidebar {
    width: 280px;
}

.glass-card {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.shop-title {
    color: #4caf50;
    font-family: 'FontAwesomeSolid', sans-serif !important;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.shop-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
}

.shop-nav a.active {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.balance-card .amount {
    color: #00eeff;
    font-size: 1.6rem;
    font-weight: 900;
}

.shop-content {
    flex: 1;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.item-card {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.item-card:hover {
    border-color: #4caf50;
    transform: translateY(-5px);
}

.item-img-box {
    width: 100%;
    height: 180px;
    background: #000;
}

.item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    padding: 20px;
}

.item-info h3 {
    color: #fff;
    font-family: 'FontAwesomeSolid', sans-serif !important;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.item-info p {
    color: #666;
    font-size: 0.8rem;
}

.item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    color: #f1c40f;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 5px;
}

.buy-button {
    background: #4caf50;
    color: #fff;
    font-family: 'FontAwesomeSolid', sans-serif !important;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s;
}

.buy-button:hover {
    background: #66bb6a;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

/* ============================================================
    DROPDOWN DE USUARIO (REPARADO)
   ============================================================ */
.user-dropdown-black {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    background: rgba(26, 26, 26, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px);
    border-top: 3px solid #82b926;
    width: 280px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9) !important;
    z-index: 10001 !important;
    text-align: left;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-dropdown-black.show {
    display: block !important;
    animation: fadeInDown 0.25s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ankama-arrow-up {
    position: absolute;
    top: -12px;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #82b926;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.avatar-circle {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #82b926;
    background: #000;
}

.avatar-img-fix {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.vip-badge-yellow {
    background: #f1c40f;
    color: #000;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.no-abonado-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ankama-currency-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ankama-menu-nav a {
    color: #eee !important;
    text-decoration: none;
    padding: 10px 5px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    transition: 0.2s;
    border-radius: 4px;
}

.ankama-menu-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #82b926 !important;
}

.btn-desconexion-header {
    display: block;
    background: #333;
    color: #fff !important;
    text-align: center;
    padding: 12px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* --- FIX FORZADO: CARRITO INTERACTIVO --- */
.shop-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10000 !important;
}

.shop-icon-link:hover {
    transform: scale(1.4) rotate(-10deg) !important;
    filter: drop-shadow(0 0 12px #82b926) !important;
}

.shop-icon-link i {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.shop-icon-link:hover i {
    color: #82b926 !important;
}

/* ============================================================
    PÁGINA DE DESCARGAS
   ============================================================ */
.seccion-descargas-britania {
    min-height: 100vh;
    background: url('../img/fondo3.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    color: white;
    text-align: center;
}

.box-titulo-retro-dark {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 40px;
}

.box-titulo-retro-dark h1 {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boton-descarga-amarillo {
    background: linear-gradient(to bottom, #ffd941 0%, #ffbb00 100%);
    padding: 30px 60px;
    border: 3px solid #000;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    display: inline-block;
    transition: transform 0.2s;
}

.boton-descarga-amarillo:hover {
    transform: scale(1.05);
}

.boton-descarga-amarillo h2 {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #000;
    font-size: 2.1rem;
    font-weight: 900;
    margin: 0;
}

.sub-naranja {
    color: #d35400;
    font-weight: 800;
    display: block;
    margin-top: 5px;
}

.sub-version {
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
}

.links-inferiores-retro {
    margin-top: 25px;
    text-align: center;
}

.links-inferiores-retro a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    margin: 8px 0;
    text-shadow: 2px 2px 4px #000;
}

/* ============================================================
    CARRUSEL TREFUS GIGANTE E INFINITO
   ============================================================ */
.trefus-double-container {
    width: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 5px solid #1a1a1a;
}

.trefus-carousel {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.trefus-track {
    display: flex;
    width: max-content;
}

.trefus-slide {
    width: 800px;
    height: 450px;
    flex-shrink: 0;
}

.trefus-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #000;
    filter: brightness(0.8);
}

.row-top .trefus-track {
    animation: slide-left 40s linear infinite;
}

.row-bottom .trefus-track {
    animation: slide-right 40s linear infinite;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.trefus-double-container:hover .trefus-track {
    animation-play-state: running;
}

/* ============================================================
    CORRECCIÓN REDES SOCIALES (BLANCO CRISTAL / BLUR)
   ============================================================ */
.footer-social-header {
    background: rgba(32, 1, 73, 0.192) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(20, 1, 32, 0.185) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
    padding: 25px 0;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.social-label {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #ffffff !important;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(3, 3, 3, 0.8), 0 0 15px rgba(255, 255, 255, 0.5);
}

.social-links-top img {
    width: 45px;
    height: 45px;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links-top img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
}


/* --------------------------------------------------------------------------------------------- */

/* ============================================================
    MEJORA DE INTERACTIVIDAD PARA EL MENÚ DE USUARIO
   ============================================================ */

/* 1. Seleccionamos el enlace que envuelve al muñequito */
/* Si tu icono está dentro de un <a> busca ponerle esta clase */
.user-trigger-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    position: relative !important;
    text-decoration: none;
}

/* 2. Efecto al pasar el mouse por el muñequito (Hover) */
.user-trigger-link:hover {
    transform: scale(1.3) translateY(-3px) !important;
    /* Crece y sube un poquito */
    filter: drop-shadow(0 0 10px #82b926) !important;
    /* Brillo verde Britania */
}

/* 3. El icono fa-user cambia a verde */
.user-trigger-link:hover i.fa-user {
    color: #82b926 !important;
}

/* 4. Animación para que el menú baje suavemente al abrirse */
.user-dropdown-black.show {
    display: block !important;
    animation: menuSlideDown 0.3s ease-out !important;
}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- DISEÑO RANKING BRITANIA --- */
.ranking-wrapper {
    padding-top: 120px;
    /* Para que no lo tape la navbar fija */
    min-height: 100vh;
    background: url('../img/fondo3.jpg') no-repeat center center fixed;
    background-size: cover;
}

.ranking-container-ankama {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(130, 185, 38, 0.2);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.ranking-header h1 {
    font-family: 'FontAwesomeSolid', sans-serif !important;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.highlight {
    color: #82b926;
}

/* Tabla Estilo Arkafus */
.arkafus-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.arkafus-table th {
    color: #888;
    font-size: 13px;
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #82b926;
}

.ranking-row {
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.ranking-row:hover {
    background: rgba(130, 185, 38, 0.1);
    transform: translateX(10px);
}

.pos-badge {
    background: #222;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
}

/* Colores de Podio */
.gold .pos-badge {
    background: #f1c40f;
    color: #000;
}

.silver .pos-badge {
    background: #bdc3c7;
    color: #000;
}

.bronze .pos-badge {
    background: #cd7f32;
    color: #000;
}

.rank-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #444;
    vertical-align: middle;
    margin-right: 10px;
}

.progress-bar-bg {
    width: 120px;
    height: 8px;
    background: #333;
    display: inline-block;
    border-radius: 10px;
    margin-right: 10px;
}

.progress-fill {
    height: 100%;
    background: #82b926;
    border-radius: 10px;
    box-shadow: 0 0 10px #82b926;
}

.arka-row--top1 td {
    background-color: rgba(255, 204, 0, 0.08) !important;
    background-image: linear-gradient(110deg,
            rgba(255, 204, 0, 0.22) 0%,
            rgba(255, 246, 201, 0.30) 18%,
            rgba(255, 204, 0, 0.16) 36%,
            rgba(177, 200, 50, 0.03) 52%,
            rgba(0, 0, 0, 0) 70%) !important;
    background-size: 240% 100% !important;
    background-position: 0% 50% !important;
    animation: top1-td-shimmer 1.9s ease-in-out infinite;
    box-shadow: inset 0 0 0 1px rgba(255, 204, 0, 0.22) !important;
}

.arka-row--top1:hover td {
    animation-duration: 1.25s;
}

.arka-row--top1 .td-player-new {
    position: relative;
}

.arka-row--top1 .td-player-new::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 246, 201, 0.95), rgba(255, 204, 0, 0.65), rgba(255, 246, 201, 0.15));
    box-shadow: 0 0 18px rgba(255, 204, 0, 0.35);
    pointer-events: none;
}

.arka-row--top1 .char-name-new.neon-glow-text {
    background: none !important;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--neon-lime) !important;
    -webkit-text-fill-color: initial;
    -webkit-text-stroke: 0;
    text-shadow: 0 0 10px rgba(177, 200, 50, 0.3) !important;
    animation: none !important;
}

.arka-row--top1:hover .char-name-new.neon-glow-text {
    text-shadow: 0 0 10px rgba(177, 200, 50, 0.3) !important;
}

.arka-row--top1 .face-crop-new {
    border-color: rgba(255, 204, 0, 0.65) !important;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.30), 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.arka-row--top1:hover .face-crop-new {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 0 28px rgba(255, 204, 0, 0.45), 0 6px 10px rgba(0, 0, 0, 0.35) !important;
}

@keyframes top1-td-shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 120% 50%;
    }
}

@keyframes top1-name-glow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.25);
    }
}

.rank-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 22px;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 14px;
}

.page-indicator {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.page-actions {
    display: flex;
    gap: 8px;
}

.page-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    color: #fff;
    background: rgba(12, 12, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.page-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(177, 200, 50, 0.45);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65), 0 0 14px rgba(177, 200, 50, 0.25);
}

.page-btn.disabled {
    pointer-events: none;
    opacity: 0.35;
}