/* Profile of the Day Section */
.profile-of-day-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-of-day-card {
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-of-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.profile-of-day-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-of-day-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.profile-of-day-info {
    flex: 1;
    min-width: 250px;
    color: #fff;
}

.profile-of-day-username {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-of-day-display-name {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    opacity: 0.95;
    font-weight: 500;
}

.profile-of-day-bio {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.profile-of-day-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.profile-of-day-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.profile-of-day-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-of-day-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Random Profiles Showcase */
.random-profiles-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.random-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.random-profile-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.random-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.random-profile-card__header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.random-profile-card__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.random-profile-card__content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.random-profile-card__username {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    color: #1a202c;
}

.random-profile-card__display-name {
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    color: #718096;
    font-weight: 500;
}

.random-profile-card__bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #718096;
    margin: 0 0 1rem 0;
    flex: 1;
}

.random-profile-card__stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #718096;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.random-profile-card__stats i {
    color: #3b82f6;
}


/* Live Statistics Section */
.discovery-stats-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.discovery-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.discovery-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.discovery-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.discovery-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.discovery-stat-label {
    font-size: 0.95rem;
    color: #718096;
    font-weight: 500;
}

/* Filters Section */
.discovery-filters-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.discovery-filters-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.discovery-search-container {
    margin-bottom: 1.5rem;
}

.discovery-search-bar {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.discovery-search-bar:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.discovery-filter-group {
    margin-bottom: 1.5rem;
}

.discovery-filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
    font-size: 0.95rem;
}

.discovery-sort-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discovery-sort-select:focus {
    outline: none;
    border-color: #3b82f6;
}

.discovery-search-btn {
    width: 100%;
    padding: 1rem;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.discovery-search-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Profile Gallery Section */
.discovery-gallery-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.discovery-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.discovery-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}



/* Update existing discovery-profile-card to include colored header */
.discovery-profile-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.discovery-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.discovery-profile-card__header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.discovery-profile-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.discovery-profile-card__content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.discovery-profile-card__username {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    color: #1a202c;
}

.discovery-profile-card__display-name {
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    color: #718096;
    font-weight: 500;
}

.discovery-profile-card__bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #718096;
    margin: 0 0 1rem 0;
    flex: 1;
}

.discovery-profile-card__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #718096;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.discovery-profile-card__stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.discovery-profile-card__stats i {
    color: #3b82f6;
}

/* Section titles */
.discovery-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

/* Scroll Reveal Animation */
section,
.content-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible,
.content-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.discovery-profile-card,
.random-profile-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.visible .discovery-profile-card,
.visible .random-profile-card {
    opacity: 1;
    transform: translateY(0);
}

/* Add delay for stagger effect */
.visible .discovery-profile-card:nth-child(1),
.visible .random-profile-card:nth-child(1) { transition-delay: 0.1s; }
.visible .discovery-profile-card:nth-child(2),
.visible .random-profile-card:nth-child(2) { transition-delay: 0.15s; }
.visible .discovery-profile-card:nth-child(3),
.visible .random-profile-card:nth-child(3) { transition-delay: 0.2s; }
.visible .discovery-profile-card:nth-child(4),
.visible .random-profile-card:nth-child(4) { transition-delay: 0.25s; }
.visible .discovery-profile-card:nth-child(5),
.visible .random-profile-card:nth-child(5) { transition-delay: 0.3s; }
.visible .discovery-profile-card:nth-child(6),
.visible .random-profile-card:nth-child(6) { transition-delay: 0.35s; }


/* Profile image styles for discovery cards */
.profile-of-day-avatar img,
.random-profile-card__avatar img,
.discovery-profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-of-day-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-of-day-stats {
        justify-content: center;
    }
    
    .random-profiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

/* Responsive adjustments for stats */
@media (max-width: 640px) {
    .discovery-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .discovery-stat-number {
        font-size: 2rem;
    }
    
    .discovery-stat-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-of-day-card {
        padding: 1.5rem;
    }
    
    .profile-of-day-avatar {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }
    
    .profile-of-day-username {
        font-size: 1.5rem;
    }
    
    .random-profiles-grid {
        grid-template-columns: 1fr;
    }
}

/* Pulse animation for Live indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}


