/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de tema se definen en themes.css */

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.5s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    z-index: 1002;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: background-color var(--transition-slow), border-color var(--transition-slow);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Controles de tema */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-foro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-foro:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-foro i {
    font-size: 0.8rem;
}

.theme-toggle {
    position: relative;
}

.theme-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-primary);
    font-size: 1rem;
}

.theme-btn:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.theme-btn:active {
    transform: scale(0.95);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-bg);
    overflow: hidden;
    padding: 120px 0 80px 0;
}

/* Fondo decorativo fijo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 0, 0, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 53, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 0, 0, 0.05), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 255, 136, 0.1), transparent),
        radial-gradient(1px 1px at 200px 90px, rgba(139, 92, 246, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Badge de comunidad en crecimiento */
.community-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    animation: glow 3s ease-in-out infinite alternate;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.community-badge i {
    animation: bounce 2s ease-in-out infinite;
    font-size: 1rem;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-number.text-stat {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Tooltips para estadísticas */
.stat[data-tooltip] {
    position: relative;
    cursor: help;
}

.stat[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    animation: tooltipFadeIn 0.3s ease;
}

.stat[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    z-index: 1000;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-server {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    width: 100%;
    justify-content: center;
    margin-top: 0;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-server:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-server i {
    margin-right: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Secciones */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Servidores Section */
.servidores {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.servidores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.server-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.server-card.muonline::before {
    background: var(--gradient-secondary);
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.server-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.2));
}

.server-card.minecraft .server-icon {
    color: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

.server-card.muonline .server-icon {
    color: var(--secondary-color);
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.3));
}

.server-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Badge de beta */
.dev-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: betaPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    display: inline-block;
    white-space: nowrap;
}

@keyframes betaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 3px 12px rgba(99, 102, 241, 0.4);
    }
}

.server-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.server-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary-color);
    width: 20px;
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.server-status.online {
    color: var(--primary-color);
}

.server-status.beta {
    color: var(--accent-color);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    animation: betaGlow 2s ease-in-out infinite alternate;
    margin-bottom: 1rem;
}

@keyframes betaGlow {
    from {
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    }
}

.server-status i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Changelog Section */
.changelog {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Filtros de Changelog */
.changelog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.changelog-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 220px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    margin: 0 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-date:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.timeline-date::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.timeline-item:nth-child(odd) .timeline-date::before {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-date::before {
    left: -12px;
}

.date {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.version {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content .server-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content .server-badge.minecraft {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: var(--text-inverse);
}

.timeline-content .server-badge.muonline {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
}

.timeline-content .server-badge.general {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
}

.timeline-content ul {
    list-style: none;
    margin-top: 1rem;
}

.timeline-content li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.timeline-content li:last-child {
    border-bottom: none;
}

.timeline-content li:hover {
    color: var(--text-primary);
    padding-left: 2.5rem;
}

.timeline-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
    top: 0.8rem;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.loading-spinner {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.loading-spinner i {
    margin-right: 0.5rem;
}

/* Mejoras en el diseño general */
.hero {
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-5px);
    }
    50% {
        transform: translateX(10px) translateY(-10px);
    }
    75% {
        transform: translateX(-5px) translateY(5px);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Mejoras en las tarjetas de servidores */
.server-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.server-card > * {
    position: relative;
    z-index: 2;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.server-card:hover::before {
    left: 100%;
}

.server-card.minecraft::before {
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
}

.server-card.muonline::before {
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
}

.server-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px) scale(1.02);
}

.server-card.minecraft:hover {
    border-color: var(--accent-color) !important;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2) !important;
    transform: translateY(-10px) scale(1.02) !important;
}

.server-card.minecraft:hover .server-icon {
    color: var(--accent-color) !important;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6)) !important;
    transform: scale(1.1) !important;
}

.server-card.muonline:hover {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2) !important;
    transform: translateY(-10px) scale(1.02) !important;
}

.server-card.muonline:hover .server-icon {
    color: var(--secondary-color) !important;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6)) !important;
    transform: scale(1.1) !important;
}

/* Mejoras en las tarjetas de comunidad */
.comunidad-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comunidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.comunidad-card:hover::before {
    left: 100%;
}

.comunidad-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-8px) scale(1.02);
}

/* Comunidad Section */
.comunidad {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.comunidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comunidad-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.comunidad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.comunidad-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.comunidad-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-controls {
        margin-top: 1rem;
    }
    
    .btn-foro {
        font-size: 0.5rem;
        padding: 0.5rem 0.8rem;
    }

    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .servidores-grid {
        grid-template-columns: 1fr;
    }

    .changelog-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-date {
        flex: none;
        margin: 0 0 1rem 0;
        text-align: left;
    }

    .timeline-date::before {
        left: -10px !important;
        right: auto !important;
    }

    .comunidad-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.server-card,
.comunidad-card,
.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}


/* Efectos de hover mejorados */
.server-card:hover .server-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.4));
}

.server-card.minecraft:hover .server-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
}

.server-card.muonline:hover .server-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
}

.comunidad-card:hover .card-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

/* Skeleton Loader */
.skeleton-loader {
    display: block;
}

.skeleton-loader.hidden {
    display: none;
}

.skeleton-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-date {
    flex: 0 0 220px;
    height: 80px;
    background: var(--border-color);
    border-radius: 20px;
    margin: 0 2rem;
    position: relative;
    overflow: hidden;
}

.skeleton-content {
    flex: 1;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.skeleton-title {
    height: 24px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 60%;
}

.skeleton-text {
    height: 16px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    width: 100%;
}

.skeleton-text.short {
    width: 70%;
}

.skeleton-text:nth-child(2) { width: 90%; }
.skeleton-text:nth-child(3) { width: 85%; }
.skeleton-text:nth-child(4) { width: 75%; }

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Shimmer effect for skeleton */
.skeleton-date::after,
.skeleton-content::after,
.skeleton-title::after,
.skeleton-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Custom Spinner */
.custom-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.spinner-ring {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}

.spinner-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    margin: 4px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spinner-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-color) transparent transparent transparent;
}

.spinner-ring div:nth-child(1) { animation-delay: -0.45s; }
.spinner-ring div:nth-child(2) { animation-delay: -0.3s; }
.spinner-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes spinner-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Efectos sutiles adicionales */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% {
        width: 60px;
        opacity: 1;
    }
    50% {
        width: 100px;
        opacity: 0.7;
    }
}

/* Efecto de partículas sutiles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 0, 0, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 53, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 0, 0, 0.05), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
    pointer-events: none;
}

@keyframes particles {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-200px);
    }
}
