@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

:root {
    --primary-color: #8a5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --primary-glow: rgba(138, 92, 246, 0.3);
    --text-color: #ffffff;
    --subtext-color: #9ca3af;
    --bg-color: #0f0c1d;
    --bg-gradient: linear-gradient(to bottom, #0f0c1d, #121212);
    --accent-color: #e879f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo h1:hover {
    text-shadow: 0 0 10px var(--primary-glow);
}

.social-icons-top {
    display: flex;
    gap: 1rem;
}

.social-icons-top a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icons-top a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Main Content */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icons a{
    text-decoration: none;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

/* .profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
} */

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    filter: blur(8px);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    z-index: 2;
    position: relative;
}

.intro-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.greeting {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.name {
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Galgon', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cursor-line {
    width: 2px;
    height: 32px;
    background-color: var(--text-color);
    margin: 0.5rem 0;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.role {
    font-size: 1.2rem;
    color: var(--subtext-color);
    letter-spacing: 1px;
}

.credits {
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--subtext-color);
    text-align: center;
    padding: 1rem 0;
}

/* Bottom Navigation */
.bottom-nav {
    width: 100%;
    background-color: rgba(15, 12, 29, 0.8);
    backdrop-filter: blur(10px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-radius: 10px 10px 0 0;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    padding: 1rem 0;
    z-index: 10;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.bottom-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0 1rem;
}

.bottom-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.bottom-nav ul li a:hover {
    color: var(--primary-light);
}

.bottom-nav ul li a.active {
    color: var(--primary-color);
}

.bottom-nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    border-radius: 5px;
    transform-origin: left;
    animation: underlineAnim 0.3s forwards;
}

@keyframes underlineAnim {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .intro-section {
        flex-direction: row;
        text-align: left;
        justify-content: center;
        gap: 3rem;
    }
    
    .intro-text {
        align-items: flex-start;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
        order: 2;
    }
    
    .bottom-nav {
        padding: 1rem 2rem;
    }
    
    .bottom-nav ul {
        justify-content: center;
        gap: 3rem;
    }
    
    .name {
        font-size: 3.5rem;
    }

    nav{
        display: none;
    }


}

@media (min-width: 1024px) {
    .profile-image {
        width: 300px;
        height: 300px;
    }
    
    .name {
        font-size: 4rem;
    }
    
    .greeting {
        font-size: 1.8rem;
    }
    
    .role {
        font-size: 1.5rem;
    }

    .bottom-nav{
        display: none;
    }


}

/* Desktop view */
@media (min-width: 1280px) {
    .container {
        padding: 0 2rem;
    }
    
    .intro-section {
        gap: 5rem;
        margin-top: 2rem;
    }
    
    .cursor-line {
        height: 40px;
    }
    
    .bottom-nav{
        display: none;
            font-size: 1.1rem;
    }
}

/* Hide top navigation by default (mobile) */
header > nav {
    display: none;
}

/* Show top nav and hide bottom nav on desktop */
@media (min-width: 768px) {
    header > nav {
        display: flex;
    }
    .bottom-nav {
        display: none;
    }
}



@media (max-width: 767px) {
    .name {
        font-size: 2.5rem;
    }
    .greeting {
        font-size: 1.2rem;
    }
    .role {
        font-size: 1rem;
    }
    .profile-image {
        width: 180px;
        height: 180px;
    }
    .container {
        padding: 0 1rem;
    }
    .cursor-line {
        height: 24px;
    }
}



@media (max-width: 767px) {
    .social-icons {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90%;
    }
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


@media (max-width: 767px) {
    .image-glow {
        filter: blur(5px);
    }
}

@media (max-width: 767px) {
    .bottom-nav ul {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    .bottom-nav ul li a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}


.name {
    word-break: break-word;
    padding: 0 1rem;
}


/* Remove the cursor line */
.cursor-line {
    display: none;
}

/* Remove any potential underline from the role text */
.role {
    border: none;
    text-decoration: none;
}



/* Background stars effect */
body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 40px 60px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 100px 150px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 200px 80px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 300px 250px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 400px 100px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 500px 200px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 600px 50px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 700px 300px, #ffffff 100%, transparent),
        radial-gradient(1px 1px at 800px 150px, #ffffff 100%, transparent);
    background-repeat: repeat;
    background-size: 900px 400px;
    opacity: 0.4;
    z-index: -1;
    animation: starsAnimation 100s linear infinite;
}

@keyframes starsAnimation {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 900px 400px;
    }
}




/* AI edited content */


nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--hover-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transform-origin: left;
    animation: underlineAnim 0.3s forwards;
}

@keyframes underlineAnim {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.social-icons-top {
    display: flex;
    gap: 1rem;
}

.social-icons-top a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons-top a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
