body { background: #1a1d29; }

.roadmap-section {
    background: #1a1d29;
    padding: 4rem 1.5rem 6rem;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}
.page-header h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.page-header p {
    color: #9ca4c7;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.roadmap-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.phase-block {
    margin-bottom: 3.5rem;
}

.phase-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.phase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.phase-dot.shipped  { background: #57f287; box-shadow: 0 0 8px rgba(87,242,135,0.5); }
.phase-dot.progress { background: #ffa347; box-shadow: 0 0 8px rgba(255,163,71,0.5); }
.phase-dot.planned  { background: #7289da; box-shadow: 0 0 8px rgba(114,137,218,0.4); }

.phase-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.phase-title span {
    font-size: 0.82rem;
    font-weight: 400;
    margin-left: 0.5rem;
    opacity: 0.6;
    letter-spacing: 0;
}

.phase-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.changelog-entry {
    background: rgba(36,40,56,0.4);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition: border-color 0.2s ease;
    cursor: pointer;
}
.changelog-entry:hover { border-color: rgba(255,92,0,0.18); }
.changelog-entry.open  { border-color: rgba(255,92,0,0.25); }

.entry-header {
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.entry-ver {
    background: rgba(255,92,0,0.12);
    color: rgba(255,92,0,0.9);
    border: 1px solid rgba(255,92,0,0.2);
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
    font-family: 'SF Mono','Monaco','Courier New',monospace;
    letter-spacing: 0.02em;
}
.entry-title {
    flex: 1;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.97rem;
}
.entry-date {
    color: #6b7080;
    font-size: 0.82rem;
    white-space: nowrap;
}
.entry-type {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.entry-type.improvement { background: rgba(87,242,135,0.1); color: #57f287; border: 1px solid rgba(87,242,135,0.2); }
.entry-type.bugfix      { background: rgba(237,66,69,0.1);  color: #ed4245; border: 1px solid rgba(237,66,69,0.2); }
.entry-type.feature     { background: rgba(114,137,218,0.12); color: #7289da; border: 1px solid rgba(114,137,218,0.2); }
.entry-type.release     { background: rgba(255,92,0,0.12);  color: rgba(255,92,0,0.9); border: 1px solid rgba(255,92,0,0.2); }
.entry-chevron { color: #6b7080; font-size: 0.8rem; transition: transform 0.2s; flex-shrink: 0; }
.changelog-entry.open .entry-chevron { transform: rotate(90deg); }

.entry-body {
    display: none;
    padding: 0 1.4rem 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.changelog-entry.open .entry-body { display: block; }
.entry-summary {
    color: #9ca4c7;
    font-size: 0.88rem;
    padding-top: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.entry-desc {
    color: #b0b3c0;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.entry-desc h4 { color: #ffffff; font-size: 0.92rem; margin: 1rem 0 0.4rem; font-weight: 600; }
.entry-desc ul { padding-left: 1.4rem; margin: 0.3rem 0 0.75rem; }
.entry-desc li { margin-bottom: 0.3rem; }
.entry-desc b, .entry-desc strong { color: #d4d6e0; }
.entry-desc u { text-decoration: none; color: rgba(255,92,0,0.9); font-weight: 600; }

.roadmap-card {
    background: rgba(36,40,56,0.4);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s ease;
}
.roadmap-card:hover { border-color: rgba(255,255,255,0.08); }
.roadmap-card.progress-card { border-left: 3px solid #ffa347; }
.roadmap-card.planned-card  { border-left: 3px solid #7289da; }

.roadmap-card-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.roadmap-card.progress-card .roadmap-card-icon { color: #ffa347; }
.roadmap-card.planned-card  .roadmap-card-icon { color: #7289da; }

.roadmap-card-body { flex: 1; }
.roadmap-card-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.97rem;
    margin-bottom: 0.3rem;
}
.roadmap-card-desc {
    color: #9ca4c7;
    font-size: 0.87rem;
    line-height: 1.55;
}
.roadmap-card-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}
.roadmap-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
}
.roadmap-tag.premium { background: rgba(102,178,255,0.12); color: #66b2ff; border: 1px solid rgba(102,178,255,0.2); }
.roadmap-tag.basic   { background: rgba(255,122,51,0.12);  color: #ff7a33; border: 1px solid rgba(255,122,51,0.2); }
.roadmap-tag.platform { background: rgba(255,255,255,0.06); color: #9ca4c7; border: 1px solid rgba(255,255,255,0.08); }

.roadmap-eta {
    color: #6b7080;
    font-size: 0.78rem;
    margin-left: auto;
}

.legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca4c7;
    font-size: 0.85rem;
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.legend-dot.shipped  { background: #57f287; }
.legend-dot.progress { background: #ffa347; }
.legend-dot.planned  { background: #7289da; }

@media (max-width: 640px) {
    .page-header h1 { font-size: 1.85rem; }
    .roadmap-section { padding: 2.5rem 1rem 4rem; }
    .entry-header { gap: 0.65rem; flex-wrap: wrap; }
    .entry-date { display: none; }
}
