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

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #16213e;
    --accent-light: #eaeaea;
    --accent-blue: #00ff9f;
    --accent-purple: #ff006e;
    --dot-light: #e6e6fa;
    --linkedin-blue: #0a66c2;
    --white: #ffffff;
    --black: #000000;
    --blue-05: rgba(0, 255, 159, 0.05);
    --blue-10: rgba(0, 255, 159, 0.1);
    --blue-15: rgba(0, 255, 159, 0.15);
    --blue-20: rgba(0, 255, 159, 0.2);
    --blue-30: rgba(0, 255, 159, 0.3);
    --blue-40: rgba(0, 255, 159, 0.4);
    --blue-60: rgba(0, 255, 159, 0.6);
    --blue-80: rgba(0, 255, 159, 0.8);
    --purple-10: rgba(255, 0, 110, 0.1);
    --purple-20: rgba(255, 0, 110, 0.2);
    --purple-50: rgba(255, 0, 110, 0.5);
    --linkedin-10: rgba(10, 102, 194, 0.1);
    --linkedin-50: rgba(10, 102, 194, 0.5);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-50: rgba(255, 255, 255, 0.5);
    --black-30: rgba(0, 0, 0, 0.3);
    --secondary-dark-40: rgba(22, 33, 62, 0.4);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: var(--primary-dark);
    color: var(--accent-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.dot-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--primary-dark);
}

.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    shape-rendering: crispEdges;
}

.dot-pattern circle {
    fill: var(--dot-light);
    opacity: 0.3;
    shape-rendering: crispEdges;
}

.dot-pattern-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.8;
    shape-rendering: crispEdges;
    pointer-events: none;
    mask-image: linear-gradient(transparent, transparent);
}

.dot-pattern-glow circle {
    fill: var(--accent-blue);
    opacity: 0.8;
    shape-rendering: crispEdges;
}

.dot-bg:hover .dot-pattern-glow {
    opacity: 1;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    perspective: 1000px;
}

.profile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2.5rem;
    animation: fadeIn 1.2s ease-in-out;
    background: var(--secondary-dark-40);
    border-radius: 20px;
    border: 1px solid var(--blue-15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--black-30);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 30px var(--blue-40),
                inset 0 0 20px var(--blue-10);
    transition: all 0.3s ease;
}

.profile-image img:hover {
    box-shadow: 0 0 50px var(--blue-60),
                inset 0 0 20px var(--blue-20),
                0 20px 40px var(--purple-20);
    transform: scale(1.05);
}

.name {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin: 0.5rem 0;
    text-shadow: 0 0 20px var(--blue-30);
}

.position {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    color: var(--accent-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    background: var(--blue-05);
    position: relative;
    overflow: hidden;
}

.social-icon-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--blue-10);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: 0 0 20px var(--purple-50),
                inset 0 0 20px var(--purple-10);
    transform: translateY(-5px) scale(1.1);
}

.social-icon.linkedin:hover {
    border-color: var(--linkedin-blue);
    color: var(--linkedin-blue);
    box-shadow: 0 0 20px var(--linkedin-50),
                inset 0 0 20px var(--linkedin-10);
}

.social-icon.github:hover {
    border-color: var(--white);
    color: var(--white);
    box-shadow: 0 0 20px var(--white-50),
                inset 0 0 20px var(--white-10);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-image {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    .name {
        font-size: 2rem;
    }

    .position {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .profile-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

    .position {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
