/* ===== ESTILOS PARA LA SECCIÓN MAPA ===== */

/* Contenedor principal */
.mapa-main {
    background: linear-gradient(to bottom, #0040ff00 0%, #000000d6 40%, #000 100%) !important;
    min-height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* Hero Section */
.mapa-hero-section {
    padding: 120px 0 60px;
    position: relative;
    z-index: 2;
}

.mapa-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Lado izquierdo del hero */
.mapa-hero-left {
    position: relative;
}

.mapa-ubicaciones-label {
    display: inline-block;
    background: linear-gradient(135deg, #0e2486 0%, #1155ad 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(24, 39, 106, 0.4);
}

.mapa-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mapa-hero-num {
    color: #1b42ee;
    -webkit-text-fill-color: #233582;
    font-size: 4rem;
    font-weight: 800;
}

.mapa-hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4f6cff;
    -webkit-text-fill-color: #a5b4fc;
}

.mapa-hero-desc {
    font-size: 2rem;
    font-weight: 500;
    color: #818cf8;
    -webkit-text-fill-color: #818cf8;
}

.mapa-hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-top: 20px;
}

/* Lado derecho del hero - Tarjetas de estadísticas */
.mapa-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mapa-stat-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mapa-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mapa-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mapa-stat-card:hover::before {
    opacity: 1;
}

.mapa-stat-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.mapa-stat-content {
    position: relative;
    z-index: 2;
}

.mapa-stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.mapa-stat-content p {
    font-size: 0.9rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sección del mapa */
.mapa-mapa-section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.mapa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.mapa-wrapper {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.mapa-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 25px;
}

.mapa-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.mapa-mapa-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.mapa-mapa-img:hover {
    transform: scale(1.02);
}

/* Pines de ubicación */
.mapa-pin {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.mapa-pin-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #002fff 0%, #0054c1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    animation: pulse 2s infinite;
}

.mapa-pin-marker::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #254bf5 0%, #0073f68a 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mapa-pin:hover .mapa-pin-marker {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.mapa-pin-tooltip {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.mapa-pin:hover .mapa-pin-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.mapa-pin-tooltip h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.mapa-pin-tooltip p {
    color: #a5b4fc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.mapa-pin-status {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Sección de países con más frecuencia */
.mapa-servers-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.mapa-servers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.mapa-servers-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mapa-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.mapa-server-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mapa-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mapa-server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mapa-server-card:hover::before {
    opacity: 1;
}

.mapa-server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.mapa-server-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #294d73 0%, #004b9a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.mapa-server-info {
    flex: 1;
    margin-left: 20px;
}

.mapa-server-info h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.mapa-server-info p {
    color: #a5b4fc;
    font-size: 0.9rem;
}

.mapa-server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.mapa-server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    position: relative;
    z-index: 2;
}

.mapa-server-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    display: block;
    color: #a5b4fc;
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mapa-hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .mapa-stats-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mapa-hero-section {
        padding: 100px 0 40px;
    }
    
    .mapa-hero-content {
        padding: 0 20px;
    }
    
    .mapa-hero-title {
        font-size: 2.5rem;
    }
    
    .mapa-hero-num {
        font-size: 3rem;
    }
    
    .mapa-hero-subtitle {
        font-size: 1.8rem;
    }
    
    .mapa-hero-desc {
        font-size: 1.5rem;
    }
    
    .mapa-stats-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mapa-container {
        padding: 0 20px;
    }
    
    .mapa-wrapper {
        padding: 20px;
    }
    
    .mapa-servers-container {
        padding: 0 20px;
    }
    
    .mapa-servers-title {
        font-size: 2rem;
    }
    
    .mapa-servers-grid {
        grid-template-columns: 1fr;
    }
    
    .mapa-server-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .mapa-hero-title {
        font-size: 2rem;
    }
    
    .mapa-hero-num {
        font-size: 2.5rem;
    }
    
    .mapa-pin-marker {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .mapa-pin-tooltip {
        min-width: 150px;
        padding: 15px;
    }
} 