/* Social Links Section Styles */
.social-links-container {
    width: 100%;
}

.social-link-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.social-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 52, 71, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link-card:hover::before {
    left: 100%;
}

.social-link-card:hover {
    transform: translateY(-5px);
    border-color: #D63447;
    box-shadow: 0 10px 30px rgba(214, 52, 71, 0.3);
    background: rgba(25, 25, 25, 0.95);
}

.social-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 52, 71, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.social-link-card:hover .social-icon-wrap {
    background: rgba(214, 52, 71, 0.2);
    transform: scale(1.1);
}

.social-icon-wrap span {
    font-size: 36px;
    color: #D63447;
    transition: all 0.4s ease;
}

.social-link-card:hover .social-icon-wrap span {
    color: #fff;
    text-shadow: 0 0 20px #D63447;
}

.social-link-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-link-card:hover h4 {
    color: #D63447;
}

.social-link-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    transition: color 0.3s ease;
}

.social-link-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .social-link-card {
        padding: 15px 10px;
    }

    .social-icon-wrap {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .social-icon-wrap span,
    .social-icon-wrap img {
        font-size: 24px;
        width: 20px !important;
        height: 20px !important;
    }

    .social-link-card h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .social-link-card p {
        font-size: 11px;
    }
}

/* Small Mobile Devices (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
    .social-link-card {
        padding: 18px 12px;
    }

    .social-icon-wrap {
        width: 55px;
        height: 55px;
        margin-bottom: 14px;
    }

    .social-icon-wrap span,
    .social-icon-wrap img {
        font-size: 26px;
        width: 22px !important;
        height: 22px !important;
    }

    .social-link-card h4 {
        font-size: 15px;
    }

    .social-link-card p {
        font-size: 11px;
    }
}

/* Mobile Devices (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .social-link-card {
        padding: 20px 15px;
    }

    .social-icon-wrap {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .social-icon-wrap span,
    .social-icon-wrap img {
        font-size: 28px;
        width: 24px !important;
        height: 24px !important;
    }

    .social-link-card h4 {
        font-size: 16px;
    }

    .social-link-card p {
        font-size: 12px;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .social-link-card {
        padding: 25px 18px;
    }

    .social-icon-wrap {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }

    .social-icon-wrap span,
    .social-icon-wrap img {
        font-size: 32px;
        width: 26px !important;
        height: 26px !important;
    }

    .social-link-card h4 {
        font-size: 18px;
    }

    .social-link-card p {
        font-size: 13px;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .social-link-card {
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Disable hover transform on touch to prevent issues */
    .social-link-card:hover {
        transform: none;
    }

    /* Keep visual feedback but without transform */
    .social-link-card:active {
        opacity: 0.8;
        border-color: #D63447;
    }
}