:root {
    --dark-bg: #0d1117;
    --neon-blue: #0ff;
    --neon-purple: #f0f;
    --neon-green: #0f0;
    --text-color: #e0e0e0;
    --accent-color: var(--neon-blue);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden; /* Prevent scroll for animated background */
}

body {
    font-family: 'Orbitron', sans-serif; /* Futuristic font for headings */
    background-color: var(--dark-bg);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Basic background for now, particles would be JS generated */
    background-image: radial-gradient(circle at center, rgba(30, 40, 50, 0.5) 0%, rgba(13, 17, 23, 1) 70%);
    transition: background-color 0.5s ease;
}

/* Futuristic Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.container {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

header h1 {
    font-family: 'Montserrat', sans-serif; /* More bold for name */
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
    animation: neon-glow 1.5s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from { text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue); }
    to { text-shadow: 0 0 15px var(--neon-blue), 0 0 25px var(--neon-blue), 0 0 35px var(--neon-blue); }
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--neon-green);
    opacity: 0.8;
    letter-spacing: 1px;
}

.profile-section {
    margin-bottom: 4rem;
}

.profile-photo-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple), 0 0 25px var(--neon-purple);
    transition: all 0.3s ease;
    animation: border-pulse 2s infinite alternate;
    position: relative; /* For floating animation */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure inner image is also round */
    transition: transform 0.3s ease;
}

.profile-photo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
}

@keyframes border-pulse {
    0% { box-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple); }
    100% { box-shadow: 0 0 15px var(--neon-purple), 0 0 30px var(--neon-purple); }
}

/* Floating animation for the photo - applied via JS to .floating-photo class */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-photo {
    animation: float 3s ease-in-out infinite;
}


.main-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-button {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid var(--neon-blue);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.6), 0 0 15px rgba(0, 255, 255, 0.4);
}

.nav-button:before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--neon-blue);
    color: var(--dark-bg);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.nav-button:hover:before {
    opacity: 1;
}

.nav-button span {
    position: relative;
    z-index: 2;
    transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-button:hover span {
    color: var(--dark-bg);
}

.nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 3rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .profile-photo-wrapper {
        width: 150px;
        height: 150px;
    }
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 80%; /* Make buttons full width on small screens */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.5rem;
    }
    .tagline {
        font-size: 0.9rem;
    }
    .profile-photo-wrapper {
        width: 120px;
        height: 120px;
    }
}