:root {
    --primary: #12d996;
    --primary-hover: #0ea676;
    --background-dark: #0f172a;
    --surface-dark: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-glow: rgba(18, 217, 150, 0.5);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Image */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('Asset 32x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark Overlay for readability */
.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    /* Dark blue semi-transparent overlay */
    backdrop-filter: blur(3px);
    /* Optional: slight blur for better text focus */
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--primary), #8b5cf6);
    box-shadow: 0 0 30px rgba(18, 217, 150, 0.2);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid transparent;
    background-color: transparent;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bio {
    font-size: 1rem;
    color: var(--text-primary);
    max-width: 90%;
    margin: 0 auto;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.link-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--background-dark);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-left: 1rem;
    transition: all 0.3s ease;
    color: var(--primary);
}

.link-text {
    flex: 1;
    font-weight: 500;
    font-size: 1.05rem;
}

.arrow-wrapper {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.link-card:hover .arrow-wrapper {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.footer {
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .link-card {
        padding: 0.875rem 1rem;
    }
}