/* Blogger Rating Page Styles */

.page-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 0;
}

.page-banner h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-banner .lead {
    color: rgba(255, 255, 255, 0.9);
}

.blogger-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blogger-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.blogger-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.blogger-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: #e2e8f0;
    color: #64748b;
}

.blogger-rank.rank-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #854d0e;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.blogger-rank.rank-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #475569;
    border: 1px solid rgba(192, 192, 192, 0.4);
}

.blogger-rank.rank-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a157 100%);
    color: #78350f;
    border: 1px solid rgba(205, 127, 50, 0.4);
}

.blogger-rank.rank-top10 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blogger-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto 1.5rem;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blogger-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 1rem auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blogger-name {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.blogger-followers,
.blogger-post,
.blogger-date {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.blogger-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.9em;
}

.blogger-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.blogger-tags .badge {
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 0.5rem;
}



.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blogger-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .blogger-card {
        padding: 1.5rem 1rem;
    }

    .blogger-avatar,
    .blogger-avatar-placeholder {
        width: 100px;
        height: 100px;
    }

    .blogger-avatar-placeholder {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .blogger-grid {
        grid-template-columns: 1fr;
    }
}
