:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-color: #818cf8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background Animated Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: blobMove 20s infinite alternate linear;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #9333ea;
    bottom: -50px;
    left: -50px;
    animation-duration: 25s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #0ea5e9;
    top: 50%;
    left: 40%;
    animation-duration: 30s;
}

@keyframes blobMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.1); }
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
}

.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Profile Header */
.profile-header {
    margin-bottom: 2rem;
}

.image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Links Grid */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(129, 140, 248, 0.15);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent-color);
    border-radius: 0.75rem;
    margin-left: 1rem;
}

.link-text {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 400;
    text-align: right;
}

.link-arrow {
    font-size: 1.2rem;
    opacity: 0.4;
    transition: var(--transition);
}

.link-item:hover .link-arrow {
    opacity: 1;
    transform: translateX(-5px);
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Animations */
.animate-entry {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    .profile-card {
        padding: 2rem 1.25rem;
    }
}
