/**
 * GameDB - Profile Page CSS
 */

/* Profile Container */
.profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 60px;
}

.profile-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1e293b;
}

.profile-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 12px;
}

.profile-joined {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 16px;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 40px;
    padding: 30px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

/* Sections */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 24px;
    color: #1e293b;
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 40px;
    border-radius: 20px;
}

.no-results p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .profile-info h1 {
        font-size: 26px;
    }

    .profile-stats {
        flex-wrap: wrap;
        gap: 24px;
        padding: 24px;
    }

    .stat-item {
        min-width: 80px;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }
}

/* Guide Card */
.guide-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.guide-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.guide-content {
    padding: 20px;
}

.guide-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-content>p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
}

.guide-author,
.guide-views {
    display: flex;
    align-items: center;
    gap: 4px;
}