/* Social Feed Styles */

.social-feed {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 80px; /* Space for bottom interaction */
}

/* Feed Card */
.feed-card {
    background: var(--surface);
    border-radius: 1px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
}

.feed-card:active {
    transform: scale(0.99);
}

/* Card Header */
.card-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.card-meta {
    flex: 1;
}

.card-user {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
}

.card-type {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Image */
.card-image {
    width: 100%;
    aspect-ratio: 3/4; /* Consistent portrait ratio like TikTok/IG */
    position: relative;
    background: var(--bg-subtle);
    display: block;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Overlay/Footer */
.card-footer {
    padding: 12px 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
    line-height: 1.3;
}

.card-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.action-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.1s;
}

.action-btn:active {
    transform: scale(0.9);
}

/* Load More / Infinite Scroll generic styles */
.feed-loader {
    text-align: center;
    padding: 20px;
    opacity: 0.6;
    font-size: 14px;
}

/* Type-specific accents */
.feed-card[data-type="fit"] .card-type {
    color: var(--accent-cyan);
}

.feed-card[data-type="gala"] .card-type {
    color: var(--accent-magenta);
}

/* Responsive adjustments */
@media (max-width: 550px) {
    .social-feed {
        max-width: 100%;
    }
    
    .feed-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 16px;
    }
}
