
.roadmap {
    min-height: 100vh;
    background: #000000;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.roadmap-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.roadmap-title {
    font-size: clamp(50px, 10vw, 100px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 120px;
    letter-spacing: 8px;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: 
        fadeInUp 0.8s ease-out forwards,
        titleGlitch 5s infinite;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes titleGlitch {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    97% {
        transform: translateY(1px) skew(0.5deg);
        text-shadow: 
            2px 0 15px rgba(255, 0, 0, 0.5),
            -2px 0 15px rgba(0, 255, 255, 0.5);
    }
    98% {
        transform: translateY(-1px) skew(-0.5deg);
        text-shadow: 
            -2px 0 15px rgba(0, 255, 0, 0.5),
            2px 0 15px rgba(255, 0, 255, 0.5);
    }
    99% {
        transform: translateY(0) skew(0);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 10%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 90%, 
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.timeline-item {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: 200px;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    grid-column: 1;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    grid-column: 2;
    padding-left: 60px;
}

.timeline-item:nth-child(odd) .timeline-date {
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-node {
    right: -12px;
    left: auto;
}

.timeline-item:nth-child(even) .timeline-node {
    left: -12px;
}

.timeline-date {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
}

.timeline-date::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 1s ease;
    bottom: 0;
}

.timeline-date.animated::before {
    width: 100px;
}

.timeline-date span {
    font-size: 14px;
    opacity: 0.7;
    font-weight: 400;
    position: relative;
    top: -2px;
}

.timeline-content {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    border-radius: 2px;
    overflow: hidden;
    min-height: 200px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.timeline-content:hover::before {
    transform: translateX(100%);
}

.timeline-content:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.timeline-content p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.timeline-content a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.timeline-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.timeline-content a:hover::after {
    width: 100%;
}

.timeline-node {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #000000;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-node {
    background: #ffffff;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.5),
        0 0 90px rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(255, 255, 255, 0.5),
            0 0 90px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(255, 255, 255, 1),
            0 0 80px rgba(255, 255, 255, 0.7),
            0 0 120px rgba(255, 255, 255, 0.5);
    }
}


.roadmap-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.roadmap-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: floatAround 20s infinite linear;
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, 100px);
    }
    50% {
        transform: translate(0, 200px);
    }
    75% {
        transform: translate(-100px, 100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@media (max-width: 1100px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding: 0 0 0 80px !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-node,
    .timeline-item:nth-child(even) .timeline-node {
        left: 18px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .roadmap {
        padding: 80px 15px;
    }
    
    .roadmap-title {
        margin-bottom: 80px;
        letter-spacing: 4px;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .roadmap-title {
        font-size: 40px;
        margin-bottom: 60px;
    }
    
    .timeline {
        gap: 40px;
    }
    
    .timeline-item {
        padding: 0 0 0 60px !important;
    }
    
    .timeline-node {
        width: 20px;
        height: 20px;
        left: 12px !important;
    }
    
    .timeline-content h3 {
        font-size: 20px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    .timeline-date {
        font-size: 18px;
    }
}