/* Roadmap Page Styles */
:root {
    /* Using variables matching index.css dark theme feels */
    --bandits-bg-1: #0f172e;
	--bandits-bg-2: #1a1f3a;
    
    --roadmap-card-bg: #151922;
    --roadmap-line-color: #2d3748;
    --roadmap-text: #e2e8f0;
    --roadmap-muted: #94a3b8;
    --status-completed: #10b981;
    --status-inprogress: #3b82f6;
    --status-planned: #64748b;
    --accent-glow: rgba(59, 130, 246, 0.5);
}

html, body {
    height: auto;
    min-height: 100%;
}

body {
    background: 
        radial-gradient(circle at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139,92,246,0.06) 0%, transparent 50%),
        linear-gradient(135deg, #0f172e 0%, #1a1f3a 50%, #0f172e 100%);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    
    min-height: 100vh;
    color: var(--roadmap-text);
    font-family: 'Montserrat', sans-serif; 
}

/* Header Spacer because header is fixed */
.roadmap-header-spacer {
    height: 80px;
}

/* Hero / Title Section */
.roadmap-hero {
    text-align: center;
    padding: 60px 20px;
}

.roadmap-title {
    font-family: 'Horizon', sans-serif;
    font-size: 44px;
    margin-bottom: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(96,165,250,0.3);
  }
  50% {
    text-shadow: 0 0 40px rgba(96,165,250,0.6);
  }
}

.roadmap-subtitle {
    color: var(--roadmap-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* Vertical Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--roadmap-line-color);
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-content {
    position: relative;
    width: 45%;
    background: var(--roadmap-card-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Right vs Left positioning */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    text-align: left; /* Force left alignment */
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
}

/* Central Node/Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #0f1219; /* Darker than bg to cover line properly */
    border: 2px solid var(--roadmap-line-color);
    border-radius: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 4px #0f1219;
}

.timeline-dot i, .timeline-dot svg {
    width: 20px;
    height: 20px;
}

/* Modifiers for Status */
.status-completed .timeline-dot {
    border-color: var(--status-completed);
    color: var(--status-completed);
}

.status-inprogress .timeline-dot {
    border-color: var(--status-inprogress);
    color: var(--status-inprogress);
    animation: pulse 2s infinite;
}

.status-planned .timeline-dot {
    border-color: var(--status-planned);
    color: var(--status-planned);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Card Content Typography */
.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.timeline-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--roadmap-muted);
    font-family: 'Montserrat', sans-serif;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

.version-badge {
    display: inline-block;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Horizon', sans-serif;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    margin-bottom: 12px;
    vertical-align: middle;
}

.status-completed .status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-completed);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-inprogress .status-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--status-inprogress);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-planned .status-badge {
    background: rgba(100, 116, 139, 0.1);
    color: var(--status-planned);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 60px;
    }

    .timeline-content {
        width: 100%;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
    }

    .timeline-dot {
        left: 20px;
    }
}
