@font-face {
    font-family: 'Neue Regrade';
    src: url('./nav.ttf') format('truetype');
    font-weight: 100 900;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-blue: #99CDF3;
}

.navbar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

nav {
    background-color: #000000;
    padding: 1rem 2rem;
    color: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid white;
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 9999;
}   

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9998;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 9997;
}

.logo, .team-name {
    height: 45px;
    position: relative;
    z-index: 9996;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 9995;
}

.nav-links a {
    font-family: 'Neue Regrade';
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    z-index: 9994;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 9993;
}

.dropdown-btn {
    font-family: 'Neue Regrade';
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 9992;
}

.dropdown-btn:hover {
    color: var(--primary-blue);
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 9991;
}

.arrow.active {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 9990;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content.active {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9989;
}

.dropdown-content a {
    font-family: 'Neue Regrade';
    padding: 1rem;
    font-weight: 700;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.dropdown-content a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sponsor-btn {
    font-family: 'Neue Regrade';
background: linear-gradient(to top, #99CDF3, #FFFFFF);
color: black;
padding: 0.8rem 1rem;
border: none;
border-radius: 50px;
cursor: pointer;
font-size: 1rem;
font-weight: 700;
transition: all 0.3s ease;
position: relative;
z-index: 9988;
}

.sponsor-btn:hover {
    background-color: #0089d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 166, 251, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 9987;
    padding: 0;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    z-index: 9986;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

@media (max-width: 950px) {
    .nav-container {
        position: relative;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: flex;
        width: 250px;
        position: fixed;
        top: 0;
        right: -100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 7rem 2rem 2rem;
        gap: 1.5rem;
        align-items: flex-start;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9985;
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 4rem;
        min-height: 100%;
        box-sizing: border-box;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 0.5rem 0;
    }

    .dropdown-content {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        margin: 0.5rem 0;
        transform: none;
        left: 0;
        width: 100%;
        opacity: 1;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 9984;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown-content.active {
        max-height: 200px;
        transform: none;
    }

    .dropdown-content a {
        padding: 0.75rem 1.5rem;
        text-align: left;
    }

    .sponsor-btn {
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}