/* 社群媒體連結樣式 */

/* Header 社群連結 */
.social-links-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links-header .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links-header .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-links-header .social-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Footer 社群連結 */
.social-links-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    overflow: hidden;
}

.social-links-footer .social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-links-footer .social-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar 社群連結 */
.social-links-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links-sidebar .social-link-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.social-links-sidebar .social-link-sidebar:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.social-links-sidebar .social-logo-sidebar {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 社群媒體卡片樣式 */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.social-media-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-media-card .social-logo-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
    border-radius: 8px;
    padding: 10px;
    background: #f8f9fa;
}

.social-media-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.social-media-card p {
    margin: 0 0 15px;
    color: #666;
    font-size: 14px;
}

.social-media-card .btn-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-media-card .btn-social:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .social-links-header {
        gap: 10px;
    }
    
    .social-links-header .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .social-links-header .social-logo {
        width: 20px;
        height: 20px;
    }
    
    .social-links-footer {
        gap: 15px;
    }
    
    .social-links-footer .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .social-links-footer .social-logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .social-media-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .social-media-card {
        padding: 15px;
    }
    
    .social-media-card .social-logo-large {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .social-links-header {
        gap: 8px;
    }
    
    .social-links-header .social-link {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .social-links-header .social-logo {
        width: 18px;
        height: 18px;
    }
    
    .social-links-footer {
        gap: 12px;
    }
    
    .social-links-footer .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .social-links-footer .social-logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .social-media-grid {
        grid-template-columns: 1fr;
    }
}

/* 動畫效果 */
@keyframes socialPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.social-link:hover {
    animation: socialPulse 0.6s ease-in-out;
}

/* 特定平台顏色 */
.social-link[data-platform="youtube"] { background: #FF0000; }
.social-link[data-platform="facebook"] { background: #1877F2; }
.social-link[data-platform="spotify"] { background: #1DB954; }
.social-link[data-platform="kkbox"] { background: #FF6900; }
.social-link[data-platform="apple_music"] { background: #000000; }
.social-link[data-platform="streetvoice"] { background: #FF6B35; }
