/* ===================================== */
/* MU RANKINGS - MAIN STYLESHEET */
/* ===================================== */

/* === VARIABLES CSS === */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #0f1626;
    --bg-tertiary: #141d33;
    --bg-card: #111a2e;
    --bg-hover: #16213d;
    --bg-surface: rgba(255, 255, 255, 0.04);
    --color-primary: #f5b841;
    --color-primary-dark: #d99a22;
    --color-primary-light: #ffd166;
    --color-accent: #ff9f1c;
    --color-accent-dark: #e68a00;
    --text-primary: #f1f5ff;
    --text-secondary: #c7d2fe;
    --text-muted: #8b9bb8;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(245, 184, 65, 0.35);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-golden: 0 0 25px rgba(245, 184, 65, 0.25);
    --gradient-button: linear-gradient(90deg, #f5b841 0%, #ff9f1c 100%);
    --gradient-button-hover: linear-gradient(90deg, #d99a22 0%, #e68a00 100%);
}

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === HEADER MEJORADO === */
header {
    background: rgba(17, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 1400px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    text-decoration: none;
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    flex: 1;
    list-style: none;
}

.nav-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-icon-item svg {
    width: 18px;
    height: 18px;
}

.nav-icon-item:hover {
    background: rgba(245, 184, 65, 0.1);
    color: var(--color-primary);
}

.nav-icon-item.active {
    background: rgba(245, 184, 65, 0.15);
    color: var(--color-primary);
}

.nav-icon-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 15, 26, 0.95);
    color: var(--color-primary);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid rgba(245, 184, 65, 0.3);
    z-index: 100;
}

.nav-icon-item:hover::after {
    opacity: 1;
}

.nav-label {
    display: none;
}

.nav-section {
    width: 100%;
}

.nav-user-menu {
    display: flex;
    gap: 0.25rem;
}

/* === HAMBURGER MENU === */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    margin-left: auto;
    z-index: 1004;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav container - desktop a la derecha */
.nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-container .nav-section {
    display: flex;
    align-items: center;
}

/* Ocultar Home en desktop */
.nav-home-section {
    display: none;
}

/* Arreglar tooltips en desktop */
.nav-user-menu .nav-icon-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 15, 26, 0.95);
    color: var(--color-primary);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid rgba(245, 184, 65, 0.3);
    z-index: 100;
}

.nav-user-menu .nav-icon-item:hover::after {
    opacity: 1;
}

/* === FLASH MESSAGES === */
.flash-message {
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.flash-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.flash-error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* === MAIN CONTENT === */
main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

/* === HERO CON CTA === */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
    margin-bottom: 2.5rem;
    background: none;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.hero h1 .highlight {
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* CTA BUTTON */
.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-button);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 184, 65, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 184, 65, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-stat {
    padding: 1.5rem;
    background: rgba(17, 26, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.hero-stat:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === PREMIUM ROW === */
.premium-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.premium-section {
    margin-bottom: 2.5rem;
}

/* === SECTION === */
.section {
    margin-bottom: 2.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-count {
    margin-left: auto;
    background: var(--bg-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
    display: none;
}

.show-count .section-count {
    display: block;
}

.show-more-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.show-more-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.activity-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.week-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* === OLDER SERVERS EN 3 COLUMNAS === */
.older-servers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
    overflow: visible;
}

.older-servers-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
}

/* === SERVER LIST === */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
}

.server-item {
    background: #111a2e;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.7fr 0.7fr 0.9fr 28px;
    gap: 0.8rem;
    align-items: center;
    transition: all 0.2s;
    overflow: visible;
}

.server-item:hover {
    background: #16213d;
}

/* === FEATURED: gradiente dorado sutil === */
.server-item.featured {
    background: linear-gradient(90deg, rgba(245, 184, 65, 0.15) 0%, #111a2e 35%);
    border: 1px solid rgba(245, 184, 65, 0.3);
}

.server-item.featured:hover {
    background: linear-gradient(90deg, rgba(245, 184, 65, 0.2) 0%, #16213d 35%);
    border-color: rgba(245, 184, 65, 0.4);
}

.server-item.featured .server-name a {
    color: var(--color-primary);
    font-weight: 700;
}

.server-item.featured .server-meta {
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0.9;
}

/* === BOOSTED <100: solo icono, sin fondo especial === */
.server-item.boosted:not(.high-boosted) {
    background: #111a2e;
    border: 1px solid var(--border-color);
}

.server-item.boosted:not(.high-boosted):hover {
    background: #16213d;
}

/* === FEATURED + BOOSTED <100: gradiente dorado sutil === */
.server-item.featured.boosted:not(.high-boosted) {
    background: linear-gradient(90deg, rgba(245, 184, 65, 0.15) 0%, #111a2e 35%);
    border: 1px solid rgba(245, 184, 65, 0.3);
}

.server-item.featured.boosted:not(.high-boosted):hover {
    background: linear-gradient(90deg, rgba(245, 184, 65, 0.2) 0%, #16213d 35%);
    border-color: rgba(245, 184, 65, 0.4);
}

.server-item.featured.boosted:not(.high-boosted) .server-name a {
    color: var(--color-primary);
    font-weight: 700;
}

.server-item.featured.boosted:not(.high-boosted) .server-meta {
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0.9;
}

.server-item.featured.boosted:not(.high-boosted) .info-icon {
    background: var(--bg-secondary);
    border-color: rgba(245, 184, 65, 0.3);
    color: var(--color-primary);
}

.server-item.featured.boosted:not(.high-boosted) .info-icon:hover {
    background: var(--bg-hover);
    border-color: rgba(245, 184, 65, 0.4);
}

/* === HIGH BOOSTED 100+: DORADO LLAMATIVO === */
.server-item.high-boosted {
    background: linear-gradient(135deg, #f5b841 0%, #f7931e 100%);
    border: 1px solid rgba(247, 147, 30, 0.5);
    box-shadow: 0 0 20px rgba(245, 184, 65, 0.3);
    transition: all 0.3s;
}

.server-item.high-boosted:hover {
    background: linear-gradient(135deg, #f7c955 0%, #ffa533 100%);
    border-color: rgba(247, 147, 30, 0.7);
    box-shadow: 0 0 25px rgba(245, 184, 65, 0.4);
    transform: translateY(-1px);
}

.server-item.high-boosted .server-name a {
    color: #0a0f1e;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.server-item.high-boosted .server-meta {
    color: #0a0f1e;
    font-weight: 700;
    opacity: 0.85;
}

.server-item.high-boosted .info-icon {
    background: rgba(10, 15, 30, 0.15);
    border: 1px solid rgba(10, 15, 30, 0.25);
    color: #0a0f1e;
}

.server-item.high-boosted .info-icon:hover {
    background: rgba(10, 15, 30, 0.25);
    border-color: rgba(10, 15, 30, 0.35);
}

/* Featured + High Boosted: más brillante */
.server-item.featured.high-boosted {
    background: linear-gradient(135deg, #f7c955 0%, #ffa533 100%);
    border-color: rgba(247, 147, 30, 0.7);
    box-shadow: 0 0 25px rgba(245, 184, 65, 0.4);
}

.server-item.featured.high-boosted:hover {
    background: linear-gradient(135deg, #ffd970 0%, #ffb548 100%);
    box-shadow: 0 0 30px rgba(245, 184, 65, 0.5);
    transform: translateY(-1px);
}

/* === ICONOS A LA IZQUIERDA === */
.server-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    position: relative;
    flex-shrink: 0;
}

.server-status-icon svg {
    width: 14px;
    height: 14px;
}

/* Featured solo: estrella dorada */
.server-item.featured:not(.boosted):not(.high-boosted) .server-status-icon svg {
    fill: var(--color-primary);
    filter: drop-shadow(0 1px 2px rgba(245, 184, 65, 0.4));
}

/* Boosted <100: rayo dorado */
.server-item.boosted:not(.high-boosted):not(.featured) .server-status-icon svg {
    fill: var(--color-primary);
    filter: drop-shadow(0 1px 2px rgba(245, 184, 65, 0.3));
}

/* High boosted: rayo oscuro */
.server-item.high-boosted:not(.featured) .server-status-icon svg {
    fill: #0a0f1e;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
    width: 15px;
    height: 15px;
}

/* Featured + Boosted <100: diamante dorado */
.server-item.featured.boosted:not(.high-boosted) .server-status-icon svg {
    fill: var(--color-primary);
    filter: drop-shadow(0 1px 2px rgba(245, 184, 65, 0.4));
}

/* Featured + High: diamante oscuro grande */
.server-item.featured.high-boosted .server-status-icon svg {
    fill: #0a0f1e;
    filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.4));
    width: 16px;
    height: 16px;
}

/* === TOOLTIP === */
.server-status-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(10, 15, 30, 0.95);
    color: var(--color-primary);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    border: 1px solid rgba(245, 184, 65, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999 !important;
}

.server-status-icon:hover::after {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(-8px);
}

.server-status-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: rgba(10, 15, 30, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 9999 !important;
}

.server-status-icon:hover::before {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0);
}

/* === INFO ICON === */
.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
    flex-shrink: 0;
}

.info-icon:hover {
    background: var(--bg-hover);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.info-icon svg {
    width: 14px;
    height: 14px;
}

.server-item.featured .info-icon {
    background: var(--bg-secondary);
    border-color: rgba(245, 184, 65, 0.3);
    color: var(--color-primary);
}

.server-item.featured .info-icon:hover {
    background: var(--bg-hover);
    border-color: rgba(245, 184, 65, 0.4);
}

.server-name {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    overflow: visible;
    position: relative;
}

.server-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-name a:hover {
    color: var(--text-primary);
}

.server-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === BANNER SECTION === */
.banner-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.banner-slot {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.banner-slot:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-golden);
    transform: translateY(-2px);
}

.banner-sponsored {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 2;
    pointer-events: none;
    text-transform: uppercase;
    opacity: 0.8;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.banner-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.banner-placeholder:hover {
    color: var(--color-primary);
}

/* === FOOTER === */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .banner-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .banner-slot {
        min-height: 120px;
    }
    
    .banner-image,
    .banner-placeholder {
        height: 120px;
    }
    
    .premium-row,
    .activity-row,
    .week-row {
        grid-template-columns: 1fr;
    }
    
    .older-servers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-stat {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    header {
        position: relative;
        z-index: 1003;
    }
    
    header nav {
        gap: 0.5rem;
        position: relative;
    }
    
    .logo {
        margin-right: auto;
    }
    
    .language-switcher {
        order: 2;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(17, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 4.5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
        border-left: 1px solid var(--border-color);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        order: 4;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    /* Mostrar Home en mobile */
    .nav-home-section {
        display: block;
    }
    
    .nav-section {
        width: 100%;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .nav-links,
    .nav-user-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-icon-item {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.9rem 1rem;
        border-radius: 8px;
    }
    
    .nav-icon-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .nav-label {
        display: block;
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .nav-icon-item::after {
        display: none;
    }
    
    .nav-user-menu .nav-icon-item::after {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1001;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        font-size: 0.9rem;
        padding: 0.9rem 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
    
    .server-item {
        grid-template-columns: 2fr 0.6fr 0.6fr 0.6fr 0.7fr 28px;
        gap: 0.5rem;
        padding: 0.6rem 0.8rem;
    }
    
    .server-name {
        font-size: 0.75rem;
    }
    
    .server-meta {
        font-size: 0.72rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .server-status-icon {
        width: 14px;
        height: 14px;
        margin-right: 0.35rem;
    }
    
    .server-status-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .server-item.high-boosted .server-status-icon svg {
        width: 13px;
        height: 13px;
    }
    
    .server-item.featured.high-boosted .server-status-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .server-status-icon::after {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .server-item {
        grid-template-columns: 1.8fr 0.55fr 0.55fr 0.55fr 0.65fr 28px;
        gap: 0.35rem;
        padding: 0.55rem 0.6rem;
    }
    
    .server-name {
        font-size: 0.68rem;
    }
    
    .server-meta {
        font-size: 0.65rem;
    }
    
    .server-status-icon {
        width: 12px;
        height: 12px;
        margin-right: 0.3rem;
    }
    
    .server-status-icon svg {
        width: 11px;
        height: 11px;
    }
    
    .server-item.high-boosted .server-status-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .server-item.featured.high-boosted .server-status-icon svg {
        width: 13px;
        height: 13px;
    }
    
    .server-status-icon::after {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}
/* === LANGUAGE SWITCHER CON SVG === */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 184, 65, 0.08);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.lang-current:hover {
    background: rgba(245, 184, 65, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.lang-code {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.lang-current:hover .lang-arrow {
    transform: translateY(2px);
}

/* DROPDOWN */
.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: rgba(17, 26, 46, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* OPCIONES DE IDIOMA */
.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(245, 184, 65, 0.1);
    color: var(--color-primary);
    padding-left: 1.2rem;
}

.lang-option.active {
    background: rgba(245, 184, 65, 0.15);
    color: var(--color-primary);
}

/* BANDERAS SVG */
.flag-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 20px;
}

.flag-svg {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-option .name {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .lang-current {
        padding: 0.5rem 0.7rem;
        gap: 0.4rem;
    }
    
    .lang-icon {
        width: 16px;
        height: 16px;
    }
    
    .lang-code {
        font-size: 0.75rem;
    }
    
    .lang-arrow {
        width: 12px;
        height: 12px;
    }
    
    .lang-dropdown {
        min-width: 170px;
        right: -10px;
    }
    
    .lang-option {
        padding: 0.7rem 0.9rem;
    }
    
    .flag-container {
        width: 24px;
        height: 18px;
    }
    
    .lang-option .name {
        font-size: 0.85rem;
    }
}

/* Mobile muy pequeño */
@media (max-width: 480px) {
    .lang-current {
        padding: 0.45rem 0.6rem;
    }
    
    .lang-icon {
        width: 14px;
        height: 14px;
    }
    
    .lang-code {
        display: none;
    }
    
    .lang-dropdown {
        min-width: 150px;
    }
    
    .flag-container {
        width: 22px;
        height: 16px;
    }
}