/* Variables de colores */
:root {
    --facebook: #1877F2;
    --instagram: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --tiktok: #000000;
    --youtube: #FF0000;
    --twitter: #1DA1F2;
    --text-light: #ffffff;
    --text-dark: #333333;
    --overlay-color: rgba(50, 50, 50, 0.85);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('https://paco-chacon.s3.us-west-1.amazonaws.com/assets/background.jpg') center/cover no-repeat fixed;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    line-height: 1.6;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 500px;
    padding: 1.5rem;
    text-align: center;
}

/* Encabezado */
header h1 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.description {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    margin-bottom: 1.5rem;
    opacity: 0.85;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Contenedor de redes sociales */
.social-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.social-grid {
    width: 100%;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-row.single {
    justify-content: center;
}

/* Tarjetas de redes sociales */
.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.2rem 0.8rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 140px;
    min-height: 140px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.social-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.follow-text {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Efectos hover */
.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

/* Colores específicos por red social */
.facebook:hover { background-color: var(--facebook); }
.instagram:hover { background: var(--instagram); }
.tiktok:hover { background-color: var(--tiktok); }
.youtube:hover { background-color: var(--youtube); }
.twitter:hover { background-color: var(--twitter); }

.social-card:hover .social-icon i {
    color: white;
}

.social-card:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Llamado a la acción */
.call-to-action {
    margin-top: 1.5rem;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 500;
    opacity: 0.9;
    padding: 0 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Media Queries para responsive */
@media (max-width: 1024px) {
    .container {
        max-width: 450px;
    }
    
    .social-card {
        width: 130px;
        min-height: 130px;
    }
}

@media (max-width: 768px) {
    .social-row {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .social-card {
        width: 120px;
        min-height: 120px;
        padding: 1rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .social-row {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .social-card {
        width: 160px;
        min-height: 140px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .description {
        line-height: 1.6;
    }
}