:root {
    --black: #1E1E1E;
    --white: #F1F1F1;
    --gradient-left: #FCFC64;
    --gradient-right: #6464FC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; 
    position: relative;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    cursor: pointer;
}

.container {
    text-align: center;
    padding: 20px;
    z-index: 2;
    position: relative;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0);
}

.container:hover {
    backdrop-filter: blur(10px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    background-color: rgba(30, 30, 30, 0.10);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.title {
    font-size: 64px;
    font-weight: 700; 
    margin-bottom: 20px;
    cursor: pointer;
}

.title .gradient-text {
    background: linear-gradient(to right, var(--gradient-left), var(--gradient-right));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-icons {
    margin-bottom: 40px;
}

.social-icons a {
    color: var(--white);
    font-size: 30px; 
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--gradient-left);
    transform: scale(1.1);
}

.timeline {
    margin-bottom: 20px;
}

.timeline span {
    font-size: 16px;
    font-weight: 300; 
    margin: 0 10px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.timeline span.active,
.timeline span:hover {
    color: var(--gradient-left);
    font-weight: 700;
    transform: scale(1.05);
}

.subtitle-container {
        min-height: 40px; 
        display: flex;
        justify-content: center;
        align-items: center;
}
.subtitle {
    font-size: 16px;
    font-weight: 300;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: var(--white);
    animation: blink 0.7s infinite;
    margin-left: 4px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


.tooltip {
    position: fixed;
    display: none;
    background-color: var(--white);
    color: var(--black);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .title {
        font-size: 48px;
    }

    .social-icons a {
        font-size: 24px;
        margin: 0 10px;
    }

    .timeline span {
        margin: 0 5px;
    }
    
    body::before,
    body::after {
        left: 25%;
        right: 25%;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 36px;
    }
    
    .timeline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .timeline span {
        font-size: 14px;
        margin: 5px;
    }

    .subtitle {
        font-size: 14px;
    }
    
        body::before,
        body::after {
        display: none;
    }
}