/* Roadmap Specific Styles */

/* Active nav link */
.nav-link.active {
    color: #ffcc00;
    text-shadow: 0 0 10px #ffcc00;
}

.nav-link.active::after {
    width: 100%;
}

/* Roadmap Hero */
.roadmap-hero {
    padding: 150px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.8));
}

.roadmap-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
}

.title-accent {
    color: #ffcc00;
    text-shadow: 0 0 30px #ffcc00;
}

.roadmap-subtitle {
    font-size: 1.5rem;
    color: #ffcc00;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.current-status {
    max-width: 400px;
    margin: 0 auto;
}

.status-label {
    display: block;
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.status-version {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #ffcc00;
    text-shadow: 0 0 20px #ffcc00;
    margin-bottom: 1.5rem;
}

.status-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.status-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffcc00, #e6b800);
    transition: width 2s ease;
    box-shadow: 0 0 15px #ffcc00;
}

/* Timeline Section */
.roadmap-timeline {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.95);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ffcc00, #333333, #ffcc00);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

/* Timeline Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Alternate sides */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

/* Timeline Markers */
.timeline-marker {
    position: absolute;
    top: 50%;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
    border: 4px solid #333333;
    border-radius: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -40px;
}

.marker-inner {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a, #000000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333333;
}

.version-number {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #cccccc;
}

/* Current Version Styling */
.current-version .timeline-marker {
    border-color: #ffcc00;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.4);
    animation: pulse 2s infinite;
}

.current-version .marker-inner {
    border-color: #ffcc00;
    background: linear-gradient(135deg, #ffcc00, #e6b800);
}

.current-version .version-number {
    color: #000000;
}

/* Milestone Styling */
.milestone .timeline-marker {
    width: 100px;
    height: 100px;
    border-color: #ffcc00;
    box-shadow: 0 0 40px rgba(255, 204, 0, 0.4);
}

.milestone .marker-inner {
    width: 80px;
    height: 80px;
    border-color: #ffcc00;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
}

.milestone .version-number {
    color: #000000;
    font-size: 1.1rem;
}

.milestone-marker {
    right: -50px !important;
    left: -50px !important;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

/* Timeline Content */
.timeline-content {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #ffcc00;
    box-shadow: 0 5px 30px rgba(255, 204, 0, 0.2);
    transform: translateY(-5px);
}

/* Content Arrows */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.8);
}

/* Version Header */
.version-header {
    margin-bottom: 1.5rem;
}

.version-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffcc00;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.version-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.version-status.current {
    background: linear-gradient(45deg, #ffcc00, #e6b800);
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.version-status.upcoming {
    background: linear-gradient(45deg, #0066ff, #0044cc);
    color: #ffffff;
}

.version-status.future {
    background: linear-gradient(45deg, #666666, #444444);
    color: #ffffff;
}

.version-status.milestone {
    background: linear-gradient(45deg, #ffcc00, #ff9900);
    color: #000000;
    font-weight: 900;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 15px rgba(255, 204, 0, 0.3); }
    to { box-shadow: 0 0 25px rgba(255, 204, 0, 0.6); }
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item::before {
    content: '▶';
    color: #ffcc00;
    margin-right: 1rem;
    font-size: 0.8rem;
}

.feature-item:hover {
    color: #ffffff;
    padding-left: 1rem;
}

.feature-item.major {
    color: #ffcc00;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-item.major::before {
    content: '★';
    color: #ffcc00;
}

/* Current Version Highlight */
.current-version .timeline-content {
    border-color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
}

.current-version .feature-item {
    color: #ffffff;
}

/* Milestone Highlight */
.milestone .timeline-content {
    border-color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
}

.milestone .version-title {
    color: #ffcc00;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}

/* Animation Delays for Timeline Items */
.timeline-item:nth-child(1) { --i: 1; }
.timeline-item:nth-child(2) { --i: 2; }
.timeline-item:nth-child(3) { --i: 3; }
.timeline-item:nth-child(4) { --i: 4; }
.timeline-item:nth-child(5) { --i: 5; }
.timeline-item:nth-child(6) { --i: 6; }
.timeline-item:nth-child(7) { --i: 7; }
.timeline-item:nth-child(8) { --i: 8; }
.timeline-item:nth-child(9) { --i: 9; }
.timeline-item:nth-child(10) { --i: 10; }
.timeline-item:nth-child(11) { --i: 11; }
.timeline-item:nth-child(12) { --i: 12; }
.timeline-item:nth-child(13) { --i: 13; }
.timeline-item:nth-child(14) { --i: 14; }
.timeline-item:nth-child(15) { --i: 15; }
.timeline-item:nth-child(16) { --i: 16; }
.timeline-item:nth-child(17) { --i: 17; }
.timeline-item:nth-child(18) { --i: 18; }

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
        padding-left: 70px;
        padding-right: 2rem;
    }
    
    .timeline-marker {
        left: 0 !important;
        right: auto !important;
    }
    
    .timeline-content::after {
        left: -20px !important;
        right: auto !important;
        border: 10px solid transparent;
        border-right-color: rgba(0, 0, 0, 0.8) !important;
        border-left-color: transparent !important;
    }
    
    .roadmap-title {
        font-size: 2.5rem;
    }
    
    .status-version {
        font-size: 2rem;
    }
    
    .version-title {
        font-size: 1.5rem;
    }
    
    .milestone .timeline-marker {
        width: 80px;
        height: 80px;
    }
    
    .milestone .marker-inner {
        width: 60px;
        height: 60px;
    }
}

/* Scroll animations */
.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Special effects for version 0.4 */
.milestone .timeline-content {
    position: relative;
    overflow: hidden;
}

.milestone .timeline-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    animation: shimmer-bg 3s infinite;
    pointer-events: none;
}

@keyframes shimmer-bg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
