/* Following Page Styles */
#following-page {
    padding: 24px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.filter-btn.active {
    background: #9146FF;
    border-color: #9146FF;
    color: #fff;
}

/* Following Section */
.following-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

/* Followed Channels Grid */
.followed-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.followed-stream-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.followed-stream-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.stream-preview-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-avatar {
    font-size: 48px;
    opacity: 0.5;
}

/* Followed Channel List */
.followed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.followed-channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.followed-channel-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.followed-channel-item.is-live {
    border-color: rgba(255, 0, 0, 0.3);
}

.channel-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #ff0000;
    border: 2px solid #0e0e10;
    border-radius: 50%;
}

.channel-info {
    flex: 1;
}

.channel-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.channel-status {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 4px 0;
}

.live-text {
    color: #ff0000;
    font-weight: 600;
}

.channel-stats {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.btn-unfollow {
    padding: 6px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-unfollow:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    color: #ff4444;
}

/* Recommended Channels */
.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.recommended-channel-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.recommended-channel-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.channel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.btn-follow {
    padding: 6px 16px;
    background: #9146FF;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-follow:hover {
    background: #7c2ff2;
}

.btn-follow.following {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.channel-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 4px 0;
}

.channel-followers {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Guest State */
.guest-state-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.guest-state-content {
    text-align: center;
    max-width: 400px;
}

.guest-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 24px;
    opacity: 0.5;
}

.guest-state-content h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.guest-state-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .followed-channels-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .recommended-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}