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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #050510;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background: #050510 linear-gradient(180deg, rgba(131, 0, 254, 0.05) 0%, transparent 30%),
        radial-gradient(ellipse at bottom right, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

main {
    flex: 1;
    padding-top: 70px;
    padding-bottom: 4rem;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: transparent;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    height: 70px;
    background: rgba(5, 5, 15, 0.75);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(131, 0, 254, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(131, 0, 254, 0.05);
    transition: height 0.3s ease;
}

.navbar-logo img {
    height: 35px;
    transition: transform 0.3s ease, height 0.3s ease;
    display: block;
}

.navbar-logo img:hover {
    transform: scale(1.1);
}

.navbar-links {
    display: none;
    align-items: center;
    gap: 1rem;
}

.navbar-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Roboto Mono', monospace;
    padding: 0.5rem 1rem;
    transition: color 0.3s, text-shadow 0.3s;
    border-radius: 4px;
    white-space: nowrap;
}

.navbar-links a:hover {
    color: #a855f7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.7);
}

.navbar-links a.active {
    color: #ff6600;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.7);
}

.login-btn-link {
    margin-left: 0;
}

.login-btn {
    display: block;
    width: 100%;
    color: white;
    background: transparent;
    border: 2px solid #8300fe;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(0.85rem, 2.5vw, 0.9rem);
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease-in-out;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}

.login-btn:hover {
    background: #8300fe;
    box-shadow: 0 0 10px #8300fe, 0 0 15px #8300fe, 0 0 20px #a855f7;
    transform: scale(1.03);
}

.menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    background: none;
    border: none;
    line-height: 0;
}

.menu-toggle .lucide {
    stroke: #e0e0e0;
    width: 28px;
    height: 28px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(16px);
    padding: 5rem 1.5rem 1.5rem 1.5rem;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(131, 0, 254, 0.1);
    border-right: 1px solid rgba(131, 0, 254, 0.25);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.4s;
}

.mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav .navbar-logo {
    margin-bottom: 2rem;
    align-self: center;
}

.mobile-nav a:not(.login-btn-link) {
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    padding: 1rem 0;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mobile-nav a:hover {
    color: #a855f7;
}

.mobile-nav a .lucide {
    stroke: rgba(168, 85, 247, 0.8);
    width: 1.2em;
    height: 1.2em;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.mobile-nav a:hover .lucide {
    stroke: #a855f7;
}

.mobile-nav .login-btn-link {
    margin-top: 2rem;
    padding-top: 2rem;
    width: 100%;
    border-bottom: none;
}

.mobile-nav .login-btn {
    width: 100%;
}

.mobile-nav .close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 0;
}

.mobile-nav .close-menu .lucide {
    stroke: #e0e0e0;
    width: 28px;
    height: 28px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0s;
}

header.hero {
    width: 100%;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

header.hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5em);
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

header.hero p.info {
    font-size: clamp(1rem, 2.5vw, 1.15em);
    font-family: 'Roboto Mono', monospace;
    color: #d1d5db;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: normal;
    text-shadow: none;
    opacity: 0.9;
}

.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem 4rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid #8300fe;
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(131, 0, 254, 0.7);
}

.avatar-social-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-shrink: 0;
}

.avatar-social-column img.avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #8300fe;
    background-color: #222;
}

.connect-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.connect-links a img {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    filter: invert(75%) sepia(8%) saturate(886%) hue-rotate(191deg) brightness(90%) contrast(86%);
    transition: filter 0.3s ease;
}

.connect-links a:hover img {
    filter: invert(13%) sepia(99%) saturate(6000%) hue-rotate(270deg) brightness(95%) contrast(140%);
}

.text-content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    width: 100%;
}

.text-content-column h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-family: 'Orbitron', sans-serif;
    color: #ff6600;
}

.text-content-column p.role {
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    color: #a855f7;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.text-content-column p.description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.skills-section {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.skills-section h6 {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.skills-icons img {
    height: 24px;
    vertical-align: middle;
    filter: none;
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out;
}

.skills-icons img:hover {
    opacity: 1;
}

.repos-section {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.repos-section h6 {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.repo-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.repo-links a {
    display: block;
    max-width: 100%;
}

.repo-links img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out;
}

.repo-links a:hover img {
    opacity: 1;
}

footer {
    background-color: #050507;
    color: #a0a0a0;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
    font-size: 0.85rem;
    border-top: 1px solid #3a3a3a;
    margin-top: auto;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    border-top: none;
    color: #888;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 0.8rem;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #bb86fc;
}

@media screen and (min-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }

    main {
        padding-top: 80px;
    }

    .navbar {
        flex-direction: row;
        height: 80px;
        padding: 0 2.5rem;
    }

    .navbar-logo img {
        height: 45px;
    }

    .navbar-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: 0;
        width: auto;
        gap: 1rem;
    }

    .menu-toggle {
        display: none;
    }

    .navbar-links a {
        width: auto;
        padding: 0.5rem 1rem;
    }

    .navbar-links .login-btn-link {
        margin-top: 0;
        margin-left: 1rem;
    }

    .login-btn {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
        display: inline-block;
        width: auto;
    }

    header.hero h1 {
        font-size: 3em;
    }

    header.hero p.info {
        font-size: 1.2em;
    }

    .team-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 2rem;
    }

    .avatar-social-column {
        width: auto;
        flex-basis: 130px;
        align-items: center;
    }

    .avatar-social-column img.avatar {
        width: 120px;
        height: 120px;
    }

    .text-content-column {
        align-items: flex-start;
        text-align: left;
        width: auto;
    }

    .skills-section h6,
    .repos-section h6 {
        text-align: left;
    }

    .skills-icons {
        justify-content: flex-start;
    }

    .repo-links {
        align-items: flex-start;
    }

    .connect-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-bottom-links {
        margin-top: 0;
    }
}

@media screen and (min-width: 1024px) {
    .navbar {
        padding: 0 4rem;
    }

    .navbar-links {
        gap: 1.5rem;
    }

    header.hero h1 {
        font-size: 3.5em;
    }

    header.hero p.info {
        font-size: 1.3em;
    }

    .team-section {
        grid-template-columns: repeat(2, 1fr);
    }
}