/* =========================================
   CONTACTO CSS - DISEÑO LIMPIO Y VIP
   ========================================= */

/* AJUSTE DEL MAIN (Para respetar el Header Fijo del Global) */
main {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alineación superior */
    min-height: 100vh;
    padding-top: 100px; /* IMPORTANTE: Espacio para el header fijo */
    padding-bottom: 50px;
}

/* SECCIÓN PRINCIPAL */
.contact-team {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* TÍTULO */
.contact-team h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #e50914);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-team p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #b3b3b3;
}

/* GRILLA (3 columnas en PC, 2 en Tablet, 1 en Móvil) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* --- TARJETA ESTÁNDAR --- */
.team-member {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    padding: 30px 20px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-color: #e50914;
}

/* --- TARJETA VIP (CREADOR) --- */
.creator-card {
    background: linear-gradient(145deg, rgba(40,40,40,0.95), rgba(60,10,10,0.6));
    border: 2px solid rgba(229, 9, 20, 0.6);
    transform: scale(1.05); /* Ligeramente más grande */
    z-index: 10;
}

.creator-card:hover {
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
    transform: scale(1.08) translateY(-10px);
    border-color: #ff4b00;
}

/* BADGE VIP */
.badge-vip {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #e50914, #ff4b00);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
}

/* DESCRIPCIÓN (Solo VIP) */
.description {
    font-style: italic;
    color: #ddd !important;
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
    padding: 0 10px;
    line-height: 1.4;
}

/* FOTO DE PERFIL */
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 3px solid #e50914;
    object-fit: cover;
}

/* TEXTOS GENERALES */
.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
    color: white;
}

.contact-number {
    margin: 5px 0;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.email-text {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-bottom: 15px !important;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 25px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: white;
    color: #25d366;
}

/* CÓDIGO QR */
.qr-code {
    margin-top: 15px;
}

.qr-code img {
    max-width: 100px;
    border-radius: 8px;
    border: 2px solid white;
}

/* NIEVE (Misma del global para consistencia) */
.snow {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 5;
}
.snowflake {
    position: absolute; top: -10px; width: 10px; height: 10px;
    background: white; border-radius: 50%; opacity: 0.8;
    animation: fall linear infinite;
}
@keyframes fall {
    to { transform: translateY(100vh); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en Tablet */
    }
    .creator-card {
        transform: scale(1); /* En móvil quitamos el zoom exagerado */
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr; /* 1 columna en Celular */
    }
}

/* --- LOADER (CARGADOR - NUEVO) --- */
.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
    /* TRUCO PARA GRILLA: Ocupar todas las columnas */
    grid-column: 1 / -1; 
    color: white;
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #e50914; /* Rojo Techno */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.loading-text {
    color: #ccc;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}


