/* Social Followers Counter - Estilos Responsive */
.sfc-wrapper {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

/* Estilo Grid (predeterminado) */
.sfc-wrapper.sfc-style-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Estilo Inline */
.sfc-wrapper.sfc-style-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Estilo Lista */
.sfc-wrapper.sfc-style-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Botones individuales */
.sfc-button {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.sfc-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.sfc-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 20px;
    height: 100%;
}

.sfc-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.sfc-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sfc-network-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sfc-count {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.sfc-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    text-transform: lowercase;
    margin-top: 2px;
}

/* Colores específicos para cada red */
.sfc-facebook .sfc-icon { background-color: #1877F2; }
.sfc-instagram .sfc-icon { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.sfc-twitter .sfc-icon { background-color: #1DA1F2; }
.sfc-youtube .sfc-icon { background-color: #FF0000; }
.sfc-tiktok .sfc-icon { background-color: #000000; }

/* Responsive */
@media (max-width: 768px) {
    .sfc-wrapper.sfc-style-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .sfc-button {
        margin-bottom: 10px;
    }
    
    .sfc-link {
        padding: 15px;
    }
    
    .sfc-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 12px;
    }
    
    .sfc-network-name {
        font-size: 14px;
    }
    
    .sfc-count {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .sfc-wrapper.sfc-style-grid {
        grid-template-columns: 1fr;
    }
    
    .sfc-wrapper.sfc-style-inline {
        flex-direction: column;
    }
    
    .sfc-link {
        flex-direction: row;
        align-items: center;
    }
    
    .sfc-content {
        text-align: left;
    }
}

/* Para estilos inline en móviles */
@media (max-width: 768px) {
    .sfc-wrapper.sfc-style-inline .sfc-button {
        flex: 1 1 calc(50% - 10px);
        min-width: 150px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .sfc-button {
        background: #2d2d2d;
        border-color: #444;
        color: #fff;
    }
    
    .sfc-link {
        color: #fff;
    }
    
    .sfc-label {
        color: #aaa;
    }
}

/* Animación de carga */
@keyframes sfcPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.sfc-button.loading .sfc-count {
    animation: sfcPulse 1.5s infinite;
    background: #f0f0f0;
    width: 60px;
    height: 20px;
    border-radius: 4px;
}