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

body {
    font-family: 'Lato', sans-serif;
    color: #FFF;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at center, 
            rgba(27, 39, 53, 0) 0%, 
            rgba(27, 39, 53, 0.8) 40%, 
            rgba(9, 10, 15, 1) 100%),
        radial-gradient(ellipse at bottom center, 
            rgba(56, 73, 90, 0.8) 0%, 
            rgba(27, 39, 53, 0.5) 60%, 
            rgba(9, 10, 15, 0) 100%),
        #1B2735;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 
        143px 287px #FFF, 482px 129px #FFF, 789px 342px #FFF, 1092px 456px #FFF, 
        298px 672px #FFF, 587px 893px #FFF, 876px 1114px #FFF, 1165px 1335px #FFF,
        42px 198px #FFF, 331px 419px #FFF, 620px 640px #FFF, 909px 861px #FFF,
        1198px 1082px #FFF, 1487px 1303px #FFF, 1776px 1524px #FFF, 2065px 1745px #FFF,
        187px 243px #FFF, 476px 364px #FFF, 765px 485px #FFF, 1054px 606px #FFF,
        1343px 727px #FFF, 1632px 848px #FFF, 1921px 969px #FFF, 2210px 1090px #FFF,
        95px 156px #FFF, 234px 567px #FFF, 678px 234px #FFF, 890px 456px #FFF,
        123px 789px #FFF, 456px 321px #FFF, 789px 654px #FFF, 1012px 345px #FFF,
        1345px 678px #FFF, 1678px 901px #FFF, 1901px 234px #FFF, 2234px 567px #FFF,
        345px 890px #FFF, 678px 123px #FFF, 1001px 456px #FFF, 1334px 789px #FFF,
        1567px 012px #FFF, 1890px 345px #FFF, 2123px 678px #FFF, 2456px 901px #FFF,
        67px 234px #FFF, 400px 567px #FFF, 733px 890px #FFF, 1066px 123px #FFF,
        1399px 456px #FFF, 1732px 789px #FFF, 2065px 012px #FFF, 2398px 345px #FFF;
    animation: twinkle 3s ease-in-out infinite alternate, moveUp 20s linear infinite;
}

.stars2 {
    position: absolute;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 
        300px 400px #FFF, 600px 250px #FFF, 900px 500px #FFF, 1200px 750px #FFF,
        150px 950px #FFF, 450px 1150px #FFF, 750px 1350px #FFF, 1050px 1550px #FFF,
        200px 300px #FFF, 500px 450px #FFF, 800px 600px #FFF, 1100px 750px #FFF,
        1400px 900px #FFF, 1700px 1050px #FFF, 2000px 1200px #FFF, 2300px 1350px #FFF,
        350px 200px #FFF, 650px 550px #FFF, 950px 800px #FFF, 1250px 1050px #FFF,
        50px 1300px #FFF, 550px 1550px #FFF, 850px 1800px #FFF, 1150px 2050px #FFF;
    animation: twinkle 4s ease-in-out infinite alternate, moveUp 25s linear infinite;
}

.stars3 {
    position: absolute;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 
        400px 500px #FFF, 800px 350px #FFF, 1200px 600px #FFF, 1600px 850px #FFF,
        200px 1100px #FFF, 600px 1350px #FFF, 1000px 1600px #FFF, 1400px 1850px #FFF,
        700px 250px #FFF, 1100px 500px #FFF, 1500px 750px #FFF, 1900px 1000px #FFF,
        100px 1250px #FFF, 500px 1500px #FFF, 900px 1750px #FFF, 1300px 2000px #FFF;
    animation: twinkle 5s ease-in-out infinite alternate, moveUp 30s linear infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

@keyframes moveUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
    }
}

.content-container {
    position: relative;
    z-index: 1;
}

nav {
    background-color: rgba(9, 10, 15, 0.8);
    padding: 1rem 1rem;
    position: fixed;
    width: 100%;
    height: 7%;
    top: 10px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
    z-index: 101;
    padding: 0.5rem;
}

.hamburger:hover {
    color: #ccc;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex: 1;
}

nav li {
    margin: 0 1rem;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a {
    color: #FFF;
    text-decoration: none;
    font-weight: 300;
    padding-top: 3rem;
    padding: 1rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    letter-spacing: 1px;
    font-size: 16pt;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a.login-link {
    background: none !important;
    padding: 0.5rem;
    font-size: 16pt;
}

nav a.login-link:hover {
    background: none !important;
    transform: scale(1.1);
    color: #ccc;
}

nav a.login-link i {
    font-size: 20px;
}

#loginModal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 90%;
    backdrop-filter: blur(8px);
}

#loginModalContent {
    background-color: #1b2735;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #38495a;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 0 20px black;
}

#loginModalContent h2 {
    margin-bottom: 1rem;
}

#loginModalContent input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
}

#loginModalContent button {
    background-color: #38495a;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#loginModalContent button:hover {
    background-color: #5a6b7c;
}

nav a:hover {
    background-color: #38495a;
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    margin-top: -7vh;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(white, #38495a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
}

header p {
    font-size: 1.2rem;
    max-width: 800px;
    color: #FFF;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: -15vh auto 2rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 3rem;
    background-color: rgba(27, 39, 53, 0.8);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #38495a;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    color: #FFF;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

p {
    margin-bottom: 1rem;
    color: #FFF;
    font-weight: 300;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    color: #FFF;
    margin-bottom: 0.5rem;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #38495a;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: #38495a;
    border: 4px solid #FFF;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item::after {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(27, 39, 53, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #38495a;
}

.timeline-content h3 {
    color: #FFF;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #38495a;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

footer {
    background-color: rgba(9, 10, 15, 0.8);
    color: #FFF;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    font-weight: 300;
    backdrop-filter: blur(5px);
}

@media screen and (max-width: 768px) {
    header {
        height: 80vh;
    }
    
    header h1 {
        font-size: 2rem;
        letter-spacing: 5px;
    }
    
    .container {
        margin: -10vh auto 2rem auto;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-login {
        display: none;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        background-color: rgba(9, 10, 15, 0.95);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        border-radius: 0 0 0 8px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 0.75rem;
        width: 100%;
        font-size: 16pt;
    }
    
    nav ul.active::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: #38495a;
        margin: 0.5rem 0;
    }
    
    .mobile-login {
        display: none;
    }
    
    nav ul.active .mobile-login {
        display: block;
        border-top: 1px solid #38495a;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .left::after, .right::after {
        left: 18px;
    }
    
    .right {
        left: 0;
    }
}

@media screen and (max-width: 480px) {
    header {
        height: 70vh;
    }
    
    header h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
        margin: -5vh auto 2rem auto;
    }
    
    section {
        padding: 1.5rem;
    }
}