/* 
 * Social Discovery Hub Styles
 * Modern, Compact, and Fast
 */

.aptso-social-hub {
    padding: 30px 0;
    overflow: hidden;
    background: #fff;
}

.social-hub-header {
    padding: 0 20px;
    margin-bottom: 15px;
}

.social-hub-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    color: var(--titanium-text-main);
}

.social-hub-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 4px 0 0;
}

/* Horizontal Scroll Track */
.social-reel-track {
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar for clean OS look */
    -ms-overflow-style: none;
}

.social-reel-track::-webkit-scrollbar {
    display: none;
}

.social-reel-item {
    flex: 0 0 100px; /* Small Style */
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-reel-item:hover {
    transform: translateY(-5px);
}

.reel-thumb {
    position: relative;
    width: 100px;
    height: 160px; /* 9:16 Aspect Ratio */
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.reel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social Platform Icons */
.social-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.type-instagram .social-icon { background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/e7/Instagram_logo_2016.svg'); }
.type-youtube .social-icon { background-image: url('https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg'); }
.type-facebook .social-icon { background-image: url('https://upload.wikimedia.org/wikipedia/commons/0/05/Facebook_Logo_%282019%29.png'); }

.play-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.4);
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.reel-label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--titanium-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
