/* Override global body flex from styles.css */
body {
    display: block !important;
    padding: 0 !important;
    overflow: auto !important;
}

.profile-page {
    padding-top: 0;
    /* Header handles its own spacing if needed */
    min-height: 100vh;
    background: #121212;
    color: #fff;
    width: 100%;
}

.profile-hero {
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.15) 0%, rgba(18, 18, 18, 1) 100%);
    padding: 60px 20px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.profile-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(30, 30, 30, 0.5);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .profile-header-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

.avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color, #8a2be2);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
}

.profile-info-main {
    flex: 1;
}

.profile-username {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #fff, #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bio {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    line-height: 1.6;
    max-width: 600px;
}

.profile-gallery {
    padding: 60px 20px;
}

.profile-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 95%;
    display: block;
    height: auto;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-title::after {
    content: '';
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.5), transparent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shader-card {
    animation: fadeInUp 0.5s ease backwards;
}

.shader-card:nth-child(1) {
    animation-delay: 0.1s;
}

.shader-card:nth-child(2) {
    animation-delay: 0.15s;
}

.shader-card:nth-child(3) {
    animation-delay: 0.2s;
}

.shader-card:nth-child(4) {
    animation-delay: 0.25s;
}

.shader-card:nth-child(5) {
    animation-delay: 0.3s;
}