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

body {
    background-color: #1A1A26;
    color: #ffffff;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 2rem 0;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.glow-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.glow-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0);
}

.glow-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

main {
    flex: 1;
    padding: 2rem;
}

footer {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    font-size: 0.6em;  /* Make footer text half size */
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .glow-link {
    font-size: 0.8em;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 38, 0.95);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;    /* Center text horizontally */
    align-items: center;        /* Center text vertically */
    height: 30px;              /* Changed from 20px to 30px */
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;        /* Ensure text is centered */
}

.dropdown-content a:hover {
    background: rgba(144, 238, 144, 0.1);
    text-shadow: 0 0 10px rgba(144, 238, 144, 0.4);
}

.dropdown-content hr {
    margin: 0;
    padding: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 1px;              /* Ensure divider is thin */
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #90EE90;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

/* Hamburger Icon */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

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

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

/* Hamburger Animation */
.hamburger.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

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

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

/* Mobile Menu Container */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    nav .glow-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 38, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2.5rem;
        padding: 5rem 2rem;
        z-index: 999;
        backdrop-filter: blur(10px);
        overflow-y: auto; /* Enable scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    nav .glow-menu.active {
        display: flex;
    }

    nav .glow-menu li {
        margin: 0 !important;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }

    nav .glow-menu .dropdown-content {
        position: relative;
        width: 100%;
        text-align: center;
        box-shadow: none;
        margin-top: 1.5rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        padding: 1rem 0;
    }

    nav .glow-menu .dropdown-content a {
        font-size: 1.3rem;
        padding: 1.2rem;
        height: auto;
    }

    nav .glow-menu .dropdown-content hr {
        margin: 0.8rem 0;
        border-color: rgba(144, 238, 144, 0.2);
    }

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

    .dropdown.active .dropdown-content {
        display: block;
    }

    header {
        position: relative;
        padding: 1rem;
    }

    .logo {
        max-width: 150px;
        margin-right: 3rem;
    }
} 
