/* Feed Navigation */
.feed-navigation {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--primary-bg) 85%, transparent 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.feed-tabs {
    display: flex;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    gap: 0.5rem;
    justify-content: flex-start;
}

.feed-tab {
    position: relative;
    flex: 1;
    padding: 0.7rem 0;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.feed-tab:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.feed-tab.active {
    color: var(--text-primary);
    font-weight: 600;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: #4CAF50;
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.feed-tab.active .tab-indicator {
    width: 70%;
}

.feed-content {
    padding: 1.2rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 0 0;
}

/* Mobile Responsive */
/* Large screens - center perfectly */
@media (min-width: 1400px) {
    .feed-navigation {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feed-content {
        margin: 0 auto;
    }
}

/* Medium-large screens - slight adjustment */
@media (min-width: 1025px) and (max-width: 1399px) {
    .feed-navigation {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feed-content {
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .feed-navigation {
        width: 100%;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .feed-navigation {
        margin-left: 0;
        padding-left: 0;
        margin-right: 0;
        padding-right: 0;
        width: 100%;
        position: sticky;
        top: 60px;
        z-index: 99;
    }
    
    .feed-tabs {
        margin-left: 0;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .feed-tab {
        font-size: 0.95rem;
        padding: 0.75rem 0.5rem;
    }
    
    .feed-content {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .feed-navigation {
        top: 56px;
    }
    
    .feed-tabs {
        padding: 0 0.25rem;
    }
    
    .feed-tab {
        font-size: 0.9rem;
        padding: 0.7rem 0.25rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .feed-navigation {
        top: 50px;
    }
}
