/* Celebrities Component Styles */
.celebrities-section {
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.celebrities-section h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.celebrities-section h3 i {
    color: #ff6b6b;
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Celebrity Card */
.celebrity-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.celebrity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.celebrity-card-header {
    position: relative;
}

.celebrity-image {
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.celebrity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.celebrity-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #adb5bd;
}

.celebrity-image-placeholder i {
    font-size: 3rem;
}

.pageviews-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.celebrity-card-body {
    padding: 1.25rem;
    flex-grow: 1;
}

.celebrity-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.celebrity-profession {
    font-size: 0.9rem;
    color: #4285f4;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.celebrity-birth {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.celebrity-description {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0;
}

.celebrity-card-footer {
    padding: 0.75rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.wikipedia-link {
    color: #6c757d;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.wikipedia-link:hover {
    color: #4285f4;
    border-color: #4285f4;
    background-color: #f8f9fa;
}

.wikipedia-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

/* Loading State */
.celebrity-card-skeleton {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Empty State */
.celebrities-empty {
    padding: 2rem 1rem;
}

.celebrities-empty h4 {
    font-weight: 600;
    color: #212529;
}

.celebrities-empty p {
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-name {
    height: 24px;
    width: 70%;
    margin: 1.25rem 1.25rem 0.75rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-info {
    height: 18px;
    width: 50%;
    margin: 0 1.25rem 0.75rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 60px;
    margin: 0 1.25rem 1.25rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .celebrities-section {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .celebrity-image {
        height: 180px;
    }
    
    .celebrity-card-body {
        padding: 1rem;
    }
    
    .celebrity-card-footer {
        padding: 0.75rem 1rem;
    }
} 