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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

/* HEADER */
header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
}

header h1 {
    font-size: 2.8rem;
    color: #38bdf8;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

header p {
    margin-top: 10px;
    color: #94a3b8;
}

/* MENU DE ANOS */
.menu-anos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.ano {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
}

.ano:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
    border-color: #38bdf8;
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

/* Linha central */
.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #38bdf8, transparent);
    border-radius: 10px;
}

/* EVENTOS */
.event {
    position: relative;
    margin-left: 60px;
    margin-bottom: 40px;
    background: rgba(2, 6, 23, 0.75);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
}

/* bolinha timeline */
.event::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.7);
}

/* hover */
.event:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(56, 189, 248, 0.5);
}

/* TITULOS */
.event h2 {
    color: #38bdf8;
    margin-bottom: 10px;
}

/* LINKS (voltar) */
a {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(2, 6, 23, 0.7);
    border-top: 1px solid rgba(56, 189, 248, 0.3);
    margin-top: 50px;
    color: #94a3b8;
}

/* ANIMAÇÃO DE ENTRADA */
.event, .ano {
    animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVO */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.9rem;
    }

    .timeline::before {
        left: 10px;
    }

    .event {
        margin-left: 35px;
    }

    .event::before {
        left: -28px;
    }
}