/* Profile Page Styles */

.profile-page {
    padding: 20px 16px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(168, 85, 247, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.profile-username {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 16px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 13px;
    color: rgba(244, 241, 255, 0.6);
}

.profile-bio {
    color: rgba(244, 241, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 12px;
}

.profile-joined {
    color: rgba(244, 241, 255, 0.5);
    font-size: 13px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pro {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

.badge-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

/* Ratings Section */
.profile-ratings {
    background: rgba(20, 15, 30, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 24px;
    padding: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rating-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.rating-image {
    width: 100%;
    height: 100%;
}

.rating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rating-card:hover .rating-image img {
    transform: scale(1.05);
}

.rating-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.rating-card:hover .rating-overlay {
    opacity: 1;
}

.rating-stars {
    font-size: 14px;
    margin-bottom: 6px;
}

.rating-stats {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(244, 241, 255, 0.5);
}

.empty-state p {
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-name-row {
        justify-content: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .ratings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .profile-avatar img {
        width: 90px;
        height: 90px;
    }
    
    .profile-username {
        font-size: 22px;
    }
    
    .profile-stats {
        gap: 20px;
    }
    
    .stat-value {
        font-size: 18px;
    }
}
