/* Roadmap Page */

.roadmap-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 64px;
}

.roadmap-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(212, 168, 83, 0.3);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.15);
    margin-bottom: 24px;
}

.roadmap-header h1 {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}

.roadmap-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Timeline */
.roadmap-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.phase-card {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
    padding-bottom: 48px;
}

.phase-card:last-child {
    padding-bottom: 0;
}

/* Phase Marker */
.phase-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.phase-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--border);
    flex-shrink: 0;
    margin-top: 6px;
}

.phase-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--border), transparent);
    margin-top: 8px;
}

.phase-card.completed .phase-dot {
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2), 0 0 12px rgba(52, 211, 153, 0.3);
}

.phase-card.active .phase-dot {
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2), 0 0 12px rgba(212, 168, 83, 0.3);
    animation: pulse-active 2s infinite;
}

.phase-card.upcoming .phase-dot {
    background: var(--text-muted);
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.15);
}

@keyframes pulse-active {
    0%, 100% { box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2), 0 0 12px rgba(212, 168, 83, 0.3); }
    50% { box-shadow: 0 0 0 5px rgba(212, 168, 83, 0.15), 0 0 20px rgba(212, 168, 83, 0.4); }
}

/* Phase Content */
.phase-content {
    flex: 1;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.phase-card.completed .phase-content {
    border-color: rgba(52, 211, 153, 0.15);
}

.phase-card.active .phase-content {
    border-color: rgba(212, 168, 83, 0.2);
    background: linear-gradient(135deg, var(--bg-card), rgba(212, 168, 83, 0.03));
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.05);
}

.phase-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.phase-badge.completed { background: rgba(52, 211, 153, 0.1); color: var(--emerald); border: 1px solid rgba(52, 211, 153, 0.2); }
.phase-badge.active { background: rgba(212, 168, 83, 0.1); color: var(--gold); border: 1px solid rgba(212, 168, 83, 0.2); }
.phase-badge.upcoming { background: rgba(100, 116, 139, 0.1); color: var(--text-muted); border: 1px solid rgba(100, 116, 139, 0.2); }

.phase-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text);
}

.phase-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.phase-items {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phase-items li {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.phase-items li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-size: 0.7rem;
    top: 2px;
}

.phase-items li.done {
    color: var(--emerald);
}

.phase-items li.done::before {
    content: '✓';
    color: var(--emerald);
    font-weight: 700;
}

/* Token Section */
.roadmap-token {
    text-align: center;
    margin-top: 64px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.04), rgba(139, 92, 246, 0.03));
    border: 1px solid rgba(212, 168, 83, 0.12);
    border-radius: var(--radius-lg);
}

.roadmap-token h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gold);
}

.roadmap-token p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.token-ca {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.token-ca:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.05);
}

.token-ca code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gold);
}

.roadmap-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.roadmap-links a {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
}

.roadmap-links a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .roadmap-header h1 { font-size: 2rem; }
    .phase-card { gap: 16px; }
    .phase-content { padding: 20px; }
    .phase-content h2 { font-size: 1.1rem; }
    .phase-items li { font-size: 0.82rem; }
    .token-ca code { font-size: 0.65rem; }
}
