:root {
    /* Pitch Black Theme */
    --bg-color: #000000;
    --card-bg: #0a0a0a;
    /* Almost Black buttons */
    --card-border: #333333;
    /* Dark Grey Border */
    --card-hover: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --font-main: 'Rubik', 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    /* Optional: Subtle grain if desired, but sticking to pure black for now */
}

/* Abstract Background Shapes - REMOVED for Pure Black look */
.background-animation {
    display: none;
}

/* Floating Background Icons */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    display: block;
    /* Ensure it's visible */
}

.floating-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    /* Subtle visibility on black */
    animation: floatingIcon 10s ease-in-out infinite;
}

/* Individual Icon Positioning & Timing */
.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-size: 4rem;
}

.icon-2 {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
    font-size: 3rem;
}

.icon-3 {
    top: 20%;
    right: 10%;
    animation-delay: 4s;
    font-size: 3.5rem;
}

.icon-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 1s;
    font-size: 2.5rem;
}

.icon-5 {
    top: 45%;
    right: 35%;
    animation-delay: 3s;
    font-size: 5rem;
    opacity: 0.1;
}

.icon-6 {
    bottom: 10%;
    left: 20%;
    animation-delay: 5s;
    font-size: 3rem;
}

@keyframes floatingIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Profile Section */
header {
    margin-bottom: 40px;
}

.profile-img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
}

#avatar {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    /* Modern Soft Square */
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(-3deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-color: #111;
    border: 4px solid #333;
}

#avatar:hover {
    transform: rotate(0deg) scale(1.05);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

#bio {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
    color: #aaaaaa;
    line-height: 1.6;
}

/* Links Section */
#links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    /* Standard rounded corners */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    /* Space between icon and text if we want that look, or center */
    /* Image shows icons on right/left and text centered? 
       Actually standard is center. Let's stick to flex-center with gap. */
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.link-card i {
    font-size: 1.2rem;
    color: #fff;
}

.link-card:hover {
    background: var(--card-hover);
    border-color: #555;
    transform: translateY(-2px);
}

.link-card:active {
    transform: scale(0.98);
}

/* Footer & Socials */
footer {
    margin-top: 60px;
}

/* Hiding social icons in footer if they are redundant with the buttons, 
   but usually profile links have them. Sticking to simple style. */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.social-icon {
    font-size: 1.5rem;
    color: #666;
    transition: 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    color: #fff;
}

footer p {
    font-size: 0.75rem;
    opacity: 0.4;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }
}