/* /css/roadmap.css
   Roadmap Release-View (Board/Timeline-Style)
   Uses vars from /css/public.css
*/

.roadmapPage{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:32px 20px 32px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* header area inside main */
.roadmapHero{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding: 6px 2px;
}

.roadmapHero h1{
  margin:0;
  font-size:36px;
  letter-spacing:.2px;
  color: rgba(232,236,248,.95);
  text-shadow: 0 0 22px rgba(91,124,250,.18);
}

.roadmapSub{
  margin:0;
  color: var(--muted);
}

/* current status pills */
.roadmapNow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.rmPill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
}

.rmPill span{
  font-weight:750;
  color: rgba(232,236,248,.92);
}

.rmLabel{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,248,.55);
}

/* board layout */
.roadmapBoard{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding: 8px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* nice scrollbar (optional, subtle) */
.roadmapBoard::-webkit-scrollbar{ height:10px; }
.roadmapBoard::-webkit-scrollbar-track{ background: rgba(255,255,255,.04); border-radius:999px; }
.roadmapBoard::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.10); border-radius:999px; }
.roadmapBoard::-webkit-scrollbar-thumb:hover{ background: rgba(255,255,255,.16); }

/* column */
.rmCol{
  min-width: 320px;
  max-width: 360px;
  scroll-snap-align:start;

  border-radius:18px;
  border:1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  padding: 12px;
}

.rmColHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding: 6px 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 10px;
}

.rmVersion{
  margin:0;
  font-size:20px;
  font-weight:900;
  color: rgba(232,236,248,.95);
}

.rmColMeta{
  margin-top:4px;
  font-size:12px;
  color: rgba(232,236,248,.60);
}

/* badges */
.rmBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;

  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(232,236,248,.90);
  white-space:nowrap;
}

.rmBadge.done{
  border-color: rgba(80,255,160,.35);
  background: rgba(80,255,160,.12);
}

.rmBadge.released{
  border-color: rgba(100,200,255,.35);
  background: rgba(100,200,255,.12);
}

.rmBadge.progress{
  border-color: rgba(255,200,80,.35);
  background: rgba(255,200,80,.12);
}

.rmBadge.planned{
  border-color: rgba(147,197,253,.30);
  background: rgba(91,124,250,.12);
}

/* cards */
.rmCard{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
  margin: 10px 4px;
}

.rmCardTop{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
}

.rmCardTitle{
  margin:0;
  font-weight:850;
  color: rgba(232,236,248,.92);
}

.rmMeta{
  margin-top:6px;
  font-size:12px;
  color: rgba(232,236,248,.62);
}

/* progress bar */
.rmProgressBar{
  height: 7px;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.rmProgressBar > span{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(91,124,250,.85), rgba(147,197,253,.85));
}

/* details */
.rmDetails{
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
}

.rmDetails summary{
  cursor:pointer;
  user-select:none;
  list-style:none;
  font-weight:750;
  color: rgba(232,236,248,.86);
  opacity:.92;
}
.rmDetails summary::-webkit-details-marker{ display:none; }

.rmDetailsBody{
  margin-top: 8px;
  color: rgba(232,236,248,.65);
  font-size: 13px;
  line-height: 1.45;
}

.rmDetailsBody ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

/* empty/loading */
.rmEmpty{
  opacity:.6;
  padding: 10px 6px;
}

/* mobile */
@media (max-width:520px){
  .roadmapPage{ padding:24px 14px 24px; }
  .roadmapHero h1{ font-size:30px; }
  .rmCol{ min-width: 290px; }
}
