/* Social Media Links - Main Styles */
.sml-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.sml-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sml-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.sml-tagline {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Grid Layout */
.sml-grid {
    display: grid;
    grid-template-columns: repeat(var(--sml-columns, 3), 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.sml-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

/* Card Styles */
.sml-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 120px;
    justify-content: center;
}

.sml-list .sml-card {
    flex-direction: row;
    min-height: auto;
    padding: 1rem 1.5rem;
    justify-content: flex-start;
    gap: 1rem;
}

.sml-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ddd;
    transition: all 0.3s ease;
    z-index: -1;
}

.sml-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sml-card:hover::before {
    height: 100%;
}

.sml-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.sml-list .sml-icon {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
}

.sml-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.sml-list .sml-icon svg {
    width: 20px;
    height: 20px;
}

.sml-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 0.5rem 0;
    text-align: center;
}

.sml-list .sml-card h3 {
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

.sml-card p {
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sml-list .sml-card p {
    display: none;
}

.sml-follow-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.sml-list .sml-follow-btn {
    margin-left: auto;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* Platform Specific Styling */
.sml-facebook { color: #1877F2; }
.sml-facebook::before { background: #1877F2; }
.sml-facebook .sml-icon { background: #1877F2; }
.sml-facebook .sml-follow-btn { background: #1877F2; color: white; }

.sml-instagram { color: #E4405F; }
.sml-instagram::before { background: #E4405F; }
.sml-instagram .sml-icon { background: #E4405F; }
.sml-instagram .sml-follow-btn { background: #E4405F; color: white; }

.sml-twitter { color: #1DA1F2; }
.sml-twitter::before { background: #1DA1F2; }
.sml-twitter .sml-icon { background: #1DA1F2; }
.sml-twitter .sml-follow-btn { background: #1DA1F2; color: white; }

.sml-youtube { color: #FF0000; }
.sml-youtube::before { background: #FF0000; }
.sml-youtube .sml-icon { background: #FF0000; }
.sml-youtube .sml-follow-btn { background: #FF0000; color: white; }

.sml-linkedin { color: #0077B5; }
.sml-linkedin::before { background: #0077B5; }
.sml-linkedin .sml-icon { background: #0077B5; }
.sml-linkedin .sml-follow-btn { background: #0077B5; color: white; }

.sml-pinterest { color: #BD081C; }
.sml-pinterest::before { background: #BD081C; }
.sml-pinterest .sml-icon { background: #BD081C; }
.sml-pinterest .sml-follow-btn { background: #BD081C; color: white; }

.sml-whatsapp { color: #25D366; }
.sml-whatsapp::before { background: #25D366; }
.sml-whatsapp .sml-icon { background: #25D366; }
.sml-whatsapp .sml-follow-btn { background: #25D366; color: white; }

.sml-telegram { color: #0088CC; }
.sml-telegram::before { background: #0088CC; }
.sml-telegram .sml-icon { background: #0088CC; }
.sml-telegram .sml-follow-btn { background: #0088CC; color: white; }

.sml-tiktok { color: #000000; }
.sml-tiktok::before { background: #000000; }
.sml-tiktok .sml-icon { background: #000000; }
.sml-tiktok .sml-follow-btn { background: #000000; color: white; }

/* Hide labels if disabled */
.sml-no-labels h3 {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .sml-grid {
        --sml-columns: 2;
    }
}

@media (max-width: 768px) {
    .sml-grid {
        --sml-columns: 1;
    }
    
    .sml-header h2 {
        font-size: 1.8rem;
    }
    
    .sml-list .sml-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .sml-list .sml-follow-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
/* Ensure SVG icons display properly */
.sml-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
    display: block; /* Add this to ensure SVG displays */
}

/* Fallback for missing icons */
.sml-fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: bold;
    color: white;
}