@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #00a8ff;
    --secondary-color: #9c88ff;
    --background-color: #1a1a1a;
    --text-color: #e0e0e0;
    --glass-color: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradient-animation 10s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    padding: 2rem;
    width: 100%;
    max-width: 900px;
}

.glass-card {
    background: var(--glass-color);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
}

.card-content {
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

.skills, .projects, .hobbies, .fun-fact, .contact {
    margin-bottom: 2rem;
    text-align: left;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 5px var(--secondary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

li {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

li:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }
}
