/* ==========================================================================
   Variables Globales y Reseteo (Paleta Gamer / Azul U3Games)
   ========================================================================== */
:root {
    --bg-navbar: #090e17;
    --bg-dropdown: #0d1424;
    --bg-dropdown-hover: rgba(0, 110, 255, 0.15);
    
    --text-color: #ffffff;
    --text-muted: #8e9bb0;
    
    --accent-blue: #006eff;
    --accent-blue-hover: #338bff;
    --border-blue: rgba(0, 110, 255, 0.4);
    
    --height-navbar: 70px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #05080e;
    color: var(--text-color);
    padding-top: var(--height-navbar);
    overflow-x: hidden;
}

/* ==========================================================================
   Barra de Navegación Superior Fija (Responsive)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--height-navbar);
    background-color: var(--bg-navbar);
    border-bottom: 2px solid var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 110, 255, 0.15);
    z-index: 1000;
}

.navbar-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Branding / Logo */
.brand-logo {
    font-size: 1.6rem;
    font-weight: 900;
    font-style: italic;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.brand-logo .blue-text {
    color: var(--accent-blue);
    margin-right: 2px;
}

/* Toggle Móvil */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Menú Principal */
.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    height: var(--height-navbar);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom-color: var(--accent-blue);
}

.arrow {
    font-size: 0.55rem;
    margin-left: 6px;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent-blue);
}

/* Submenús Desplegables */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 210px;
    background-color: var(--bg-dropdown);
    list-style: none;
    border: 1px solid var(--border-blue);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 110, 255, 0.1);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    transition: all 0.2s ease;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--accent-blue);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dropdown-menu li a:hover {
    color: #ffffff;
    background-color: var(--bg-dropdown-hover);
    padding-left: 24px;
}

.dropdown-menu li a:hover::before {
    opacity: 1;
}

/* Botón Login */
.nav-item-btn {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espacio entre el icono y el texto */
    background: linear-gradient(135deg, var(--accent-blue), #0042a3);
    color: #ffffff;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 110, 255, 0.3);
    transition: all 0.25s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--accent-blue-hover), var(--accent-blue));
    box-shadow: 0 0 18px rgba(0, 110, 255, 0.6);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Slider Section (Ultra Optimizado & Full Responsive)
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    /* Usa svh para evitar problemas con la barra de navegación en móviles iOS/Android */
    height: calc(100svh - var(--height-navbar));
    min-height: 480px;
    max-height: 850px;
    overflow: hidden;
    background-color: #05080e;
    user-select: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
}

/* Slides y Transiciones aceleradas por Hardware */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s ease-out, visibility 0.8s;
    display: flex;
    align-items: center;
    will-change: opacity, transform;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide picture,
.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    /* Oscurece la imagen de fondo de forma uniforme */
    filter: brightness(0.65);
}

/* Capas de Gradiente Desactivadas/Suaves */
.slider-overlay-left {
    display: none;
}

.slider-overlay-bottom {
    display: none;
}

/* Contenido de cada Slide */
.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease-out 0.2s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

/* Título principal en blanco puro */
.slide-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.08;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Texto resaltado en azul original */
.slide-content h1 .blue-text {
    color: var(--accent-blue) !important;
    text-shadow: 0 0 25px rgba(0, 110, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Párrafo descriptivo en blanco puro */
.slide-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 30px;
    max-width: 580px;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* Botón Principal */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-blue), #0042a3);
    color: #ffffff;
    padding: 15px 32px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 110, 255, 0.4);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue-hover), var(--accent-blue));
    box-shadow: 0 0 30px rgba(0, 110, 255, 0.8);
    transform: translateY(-3px);
}

/* Flechas de Navegación */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(9, 14, 23, 0.6);
    border: 1px solid var(--border-blue);
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

.slider-arrow:hover {
    background-color: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
    border-color: var(--accent-blue-hover);
}

/* Indicadores de imágenes (Dots) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 32px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--accent-blue);
    width: 48px;
    box-shadow: 0 0 12px var(--accent-blue);
}

/* Adaptación Móvil */
@media (max-width: 768px) {
    .slide-content {
        padding: 0 24px;
    }
}

/* ==========================================================================
   MEDIA QUERIES - Adaptación Pantallas Grandes, Tablets y Móviles
   ========================================================================== */

/* Pantallas 4K / UltraWide (> 1800px) */
@media (min-width: 1800px) {
    .hero-slider {
        max-height: 950px;
    }
    .slide-content h1 {
        font-size: 4.8rem;
    }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .slide-content {
        margin: 0 40px;
        max-width: 100%;
    }
    .slider-overlay-left {
        width: 85%;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
}

/* Smartphones y Dispositivos Pequeños (max-width: 768px) */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 15px;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--height-navbar);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--height-navbar));
        background-color: var(--bg-navbar);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .nav-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        padding: 15px 25px;
        width: 100%;
        justify-content: space-between;
    }

    /* Submenús en Móvil */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 0, 0, 0.3);
        display: block;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        overflow: hidden;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }

    .dropdown.active .arrow {
        transform: rotate(180deg);
        color: var(--accent-blue);
    }

    /* Slider Adaptado a Móvil */
    .hero-slider {
        height: calc(100svh - var(--height-navbar));
        min-height: 420px;
    }

    .slider-overlay-left {
        width: 100%;
        background: linear-gradient(180deg, rgba(5, 8, 14, 0.6) 0%, rgba(5, 8, 14, 0.92) 60%, rgba(5, 8, 14, 0.98) 100%);
    }

    .slide-content {
        margin: 0 15px 60px 15px;
        padding: 25px 20px;
        max-width: 100%;
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--accent-blue);
    }

    .slide-content p {
        max-width: 100%;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .btn-primary {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots {
        bottom: 20px;
    }

    .dot {
        width: 24px;
        height: 4px;
    }
    
    .dot.active {
        width: 36px;
    }
}

/* ==========================================================================
   Sección de Estadísticas de la Comunidad (Rediseño Visual Pro)
   ========================================================================== */
.stats-section {
    width: 100%;
    background: linear-gradient(180deg, #05080f 0%, #080c14 50%, #05080f 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 140, 255, 0.15);
    border-bottom: 1px solid rgba(0, 140, 255, 0.15);
}

/* Efecto de brillo ambiental de fondo */
.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.stats-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Tarjeta Gamer Moderna con Elevación */
.stat-card {
    background: linear-gradient(135deg, rgba(13, 20, 36, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
    border: 1px solid rgba(0, 110, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Línea de brillo superior al hacer hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 140, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 110, 255, 0.15);
}

.stat-card:hover::after {
    opacity: 1;
}

/* Contenedor del Icono Corregido */
.stat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 55px !important;
    width: 55px !important;
    height: 55px !important;
    background: linear-gradient(135deg, rgba(0, 110, 255, 0.25) 0%, rgba(0, 110, 255, 0.08) 100%);
    border: 1px solid rgba(0, 110, 255, 0.4);
    border-radius: 10px;
    flex-shrink: 0 !important;
    box-sizing: border-box;
    box-shadow: inset 0 2px 6px rgba(0, 110, 255, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.05);
}

/* Forzar tamaño y color blanco puro exclusivamente al icono */
.stat-icon::before,
.stat-icon {
    font-size: 1.4rem !important;
    color: #ffffff !important;
}

/* Información */
.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 110, 255, 0.25);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-top: 6px;
}

/* Ajustes Móvil */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 15px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-card {
        padding: 18px 14px;
        gap: 14px;
    }

    .stat-icon {
        min-width: 48px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .stat-icon,
    .stat-icon::before {
        font-size: 1.2rem !important;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Sección: Por qué unirte a la comunidad
   ========================================================================== */
.features-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #05080e;
    position: relative;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Encabezado */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title .blue-text {
    color: var(--accent-blue);
}

.section-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Rejilla de características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Tarjeta individual */
.feature-card {
    background-color: #090e17;
    border: 1px solid rgba(0, 110, 255, 0.2);
    border-radius: 8px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 110, 255, 0.15);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(0, 110, 255, 0.2), rgba(0, 110, 255, 0.05));
    border: 1px solid var(--border-blue);
    color: var(--accent-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 110, 255, 0.6);
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Banner CTA */
.cta-banner {
    background: linear-gradient(135deg, #0d1424 0%, #090e17 100%);
    border: 1px solid var(--border-blue);
    border-radius: 8px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cta-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 28px;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 22px 20px;
    }
}

/* ==========================================================================
   Sección Top Vote Server (Completo)
   ========================================================================== */
.top-vote-section {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(180deg, #090d16 0%, #060a12 100%);
    border-top: 1px solid var(--border-blue);
    position: relative;
    overflow: hidden;
}

.top-vote-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1fr 480px !important; /* Columna izquierda flexible, columna derecha fija de 480px */
    gap: 40px;
    align-items: center;
}

.top-vote-content {
    width: 100%;
}

.top-vote-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 110, 255, 0.15);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Lista de Características */
.top-vote-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.vote-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.vote-feature-item i {
    font-size: 1.4rem;
    color: var(--accent-blue);
    background: #0d1424;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 110, 255, 0.2);
    flex-shrink: 0;
}

.vote-feature-item h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.vote-feature-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Botones de Acción */
.top-vote-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Vista Previa de Imagen Fija (Columna Derecha) */
.top-vote-card-preview {
    width: 100%;
    max-width: 480px;
    justify-self: end;
}

.preview-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-blue);
    background: #0d1424;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.preview-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.preview-image-wrapper:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 35px rgba(0, 110, 255, 0.25);
}

/* Responsividad */
@media (max-width: 992px) {
    .top-vote-container {
        grid-template-columns: 1fr !important;
    }

    .top-vote-card-preview {
        max-width: 100%;
        justify-self: center;
    }
}

@media (max-width: 576px) {
    .top-vote-actions .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Sección de Redes Sociales
   ========================================================================== */
.socials-section {
    width: 100%;
    background: #05080f;
    padding: 70px 20px;
    border-top: 1px solid rgba(0, 140, 255, 0.15);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Cuadrícula de Redes */
.socials-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Tarjeta de Red Social Individual */
.social-card {
    background: linear-gradient(135deg, rgba(13, 20, 36, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
    border: 1px solid rgba(0, 110, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 140, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 110, 255, 0.15);
}

/* Icono de la Red */
.social-card .social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(0, 110, 255, 0.1);
    border: 1px solid rgba(0, 110, 255, 0.3);
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    flex-shrink: 0 !important;
    transition: background 0.3s ease;
}

/* Información de texto */
.social-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.social-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.social-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Flecha indicadora al final */
.social-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-card:hover .social-arrow {
    transform: translateX(4px);
    color: var(--accent-blue);
}

/* Colores personalizados al hacer Hover según la Red */
.social-card.telegram:hover .social-icon { background: #229ed9; border-color: #229ed9; }
.social-card.discord:hover .social-icon { background: #5865f2; border-color: #5865f2; }
.social-card.gitlab:hover .social-icon { background: #fc6d26; border-color: #fc6d26; }
.social-card.github:hover .social-icon { background: #2b3137; border-color: #2b3137; }
.social-card.teamspeak:hover .social-icon { background: #e31c5f; border-color: #e31c5f; }
.social-card.youtube:hover .social-icon { background: #ff0000; border-color: #ff0000; }
.social-card.steam:hover .social-icon { background: #171a21; border-color: #171a21; }
.social-card.twitter:hover .social-icon { background: #000000; border-color: #555555; }

/* Ajustes Responsivos para Móvil */
@media (max-width: 768px) {
    .socials-section {
        padding: 40px 15px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .socials-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 14px;
    }
}

/* ==========================================================================
   Ajuste Fuerte para Botones en Paralelo debajo de la Imagen
   ========================================================================== */
.top-vote-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 15px;
}

.top-vote-actions .btn-cta {
    flex: 1 1 0% !important; /* Fuerza a ambos botones a compartir el ancho 50/50 */
    width: auto !important; /* Anula cualquier width: 100% previo */
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 10px !important; /* Padding ajustado para que el texto no rompa */
    font-size: 0.85rem !important;
    white-space: nowrap !important; /* Evita saltos de línea innecesarios en el texto */
    text-align: center;
}

/* Reducción de icono opcional para encajar mejor */
.top-vote-actions .btn-cta i {
    font-size: 1rem;
    margin-right: 6px;
}

/* En móviles pequeños se apilan para garantizar la usabilidad */
@media (max-width: 480px) {
    .top-vote-actions {
        flex-direction: column !important;
    }
    .top-vote-actions .btn-cta {
        width: 100% !important;
    }
}

/* ==========================================================================
   Sección: Trivia / Sabías Que... (Slider)
   ========================================================================== */
.trivia-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #080c14;
    border-top: 1px solid rgba(0, 110, 255, 0.15);
    border-bottom: 1px solid rgba(0, 110, 255, 0.15);
}

.trivia-container {
    max-width: 1000px; /* Ancho ajustado para centrar el slider */
    margin: 0 auto;
}

.trivia-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.trivia-slider-container {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

/* Slides de Trivia */
.trivia-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.trivia-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tarjeta individual dentro del Slider */
.trivia-card {
    background-color: #0d1424;
    border: 1px solid rgba(0, 110, 255, 0.3);
    border-radius: 8px;
    padding: 35px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.trivia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-blue);
    border-radius: 8px 0 0 8px;
}

.trivia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.trivia-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 110, 255, 0.12);
    border: 1px solid var(--border-blue);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
}

.trivia-year {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.trivia-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.35;
}

.trivia-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.trivia-card p strong {
    color: #ffffff;
}

.trivia-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* Flechas de Navegación */
.trivia-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-color: #0d1424;
    border: 1px solid var(--border-blue);
    color: #ffffff;
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.prev-trivia { left: -55px; }
.next-trivia { right: -55px; }

.trivia-arrow:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 110, 255, 0.6);
}

/* Puntos Indicadores del Slider Trivia */
.trivia-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite que se adapten si hay muchas diapositivas */
    gap: 10px;
    margin-top: 30px;
    padding: 10px 0;
    width: 100%;
}

.trivia-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trivia-dot.active,
.trivia-dot:hover {
    background-color: var(--accent-blue);
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--accent-blue);
}

/* Responsive */
@media (max-width: 1100px) {
    .prev-trivia { left: -15px; }
    .next-trivia { right: -15px; }
}

@media (max-width: 768px) {
    .trivia-section {
        padding: 50px 15px;
    }

    .trivia-card {
        padding: 25px 20px;
    }

    .trivia-card h3 {
        font-size: 1.2rem;
    }

    .trivia-card p {
        font-size: 0.92rem;
    }

    .trivia-arrow {
        display: none; /* Ocultar flechas en móvil y usar dots/deslizamiento */
    }
}

/* ==========================================================================
   Sección Footer / Pie de Página
   ========================================================================== */
.footer-section {
    width: 100%;
    background-color: #060a12;
    border-top: 1px solid var(--border-blue);
    padding-top: 60px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand .brand-logo {
    margin-bottom: 15px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 340px;
}

/* Redes Sociales */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: #0d1424;
    border: 1px solid rgba(0, 110, 255, 0.3);
    border-radius: 6px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-btn:hover {
    color: #ffffff;
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(0, 110, 255, 0.4);
}

.social-btn.telegram:hover { background-color: #24A1DE; border-color: #24A1DE; }
.social-btn.discord:hover { background-color: #5865F2; border-color: #5865F2; }
.social-btn.github:hover { background-color: #2b3137; border-color: #ffffff; }
.social-btn.youtube:hover { background-color: #FF0000; border-color: #FF0000; }

/* Títulos y Enlaces del Footer */
.footer-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-blue);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Barra Inferior (Copyright) */
.footer-bottom {
    background-color: #04060a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom-container strong {
    color: var(--accent-blue);
}

.footer-credits {
    opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================================================
   Estilos Completos de la Sección de Apoyo y Donaciones (U3Games)
   ========================================================================== */

.support-section {
    padding: 80px 20px;
    background-color: #0b0f19;
    color: #e2e8f0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout de dos columnas */
.support-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .support-split-layout {
        grid-template-columns: 1fr;
    }
}

/* Columna Izquierda: Información de Rangos y Foro */
.support-card-alt {
    background: linear-gradient(145deg, #131b2e, #0f1626);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.support-icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.support-icon-title i {
    font-size: 28px;
    color: #d4af37;
}

.support-card-alt h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0;
}

.support-card-alt p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.support-benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.support-benefits-list li i {
    color: #10b981;
    font-size: 14px;
}

/* Botón de acceso a las suscripciones del foro */
.support-forum-action {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-btn-forum {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #1e293b;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f8fafc;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.support-btn-forum:hover {
    background-color: #334155;
    border-color: #d4af37;
    color: #ffffff;
    transform: translateY(-2px);
}

.support-btn-forum i {
    color: #d4af37;
}

/* Columna Derecha: Caja de Donaciones */
.support-donate-box {
    background: linear-gradient(145deg, #131b2e, #0f1626);
    border: 1px solid rgba(0, 112, 243, 0.2);
    border-radius: 12px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.donate-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.donate-box-header i {
    font-size: 28px;
    color: #0070ba;
}

.donate-box-header h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0;
}

.support-donate-box p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Selector de Cantidades Rápidas */
.donate-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.amount-btn:hover {
    background-color: #334155;
    border-color: #0070ba;
}

.amount-btn.active {
    background-color: #0070ba;
    border-color: #0070ba;
    box-shadow: 0 0 10px rgba(0, 112, 243, 0.4);
}

/* Input Personalizado */
.donate-custom-input {
    margin-bottom: 25px;
}

.donate-custom-input label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.donate-custom-input input {
    width: 100%;
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.donate-custom-input input:focus {
    border-color: #0070ba;
}

/* Botón de PayPal */
.support-btn-paypal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #0070ba;
    color: #ffffff;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(0, 112, 243, 0.3);
}

.support-btn-paypal:hover {
    background-color: #005ea6;
    transform: translateY(-2px);
}

.donate-secure-text {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 15px;
}

.donate-secure-text i {
    color: #10b981;
    margin-right: 4px;
}