/* QUEST ROADMAP MODAL */
.roadmap-dialogue {
  background: #0b1120;
  border: 2px solid var(--neon-yellow);
  border-radius: 8px;
  width: 100%;
  max-width: 620px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.25);
}

.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roadmap-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--neon-yellow);
}

.roadmap-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px;
}

.roadmap-node {
  background: #111728;
  border: 2px solid #334155;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
}

.roadmap-node:hover:not(.locked) {
  border-color: var(--accent);
  transform: translateX(4px);
  background: #172038;
}

.roadmap-node.active {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.roadmap-node.cleared {
  border-color: var(--neon-green);
  background: #0f1c24;
}

.roadmap-node.locked {
  opacity: 0.5;
  cursor: not-allowed;
  border-style: dashed;
}

.node-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #1e293b;
  color: #94a3b8;
}

.roadmap-node.cleared .node-number {
  background: var(--neon-green);
  color: #000;
}

.roadmap-node.active .node-number {
  background: var(--accent);
  color: #000;
}

.node-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.node-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--text);
}

.node-concept {
  font-size: 9px;
  color: var(--text-muted);
}

.node-status-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  padding: 3px 6px;
  border-radius: 3px;
}

.status-cleared { background: var(--neon-green); color: #000; font-weight: bold; }
.status-active { background: var(--accent); color: #000; font-weight: bold; }
.status-locked { background: #334155; color: #94a3b8; }

/* BADGE SHOWCASE MODAL */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  padding: 6px 0;
}

.badge-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.2s;
}

.badge-card.unlocked {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.badge-card.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

.badge-icon {
  font-size: 26px;
  margin-bottom: 2px;
}

.badge-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--neon-yellow);
}

.badge-desc {
  font-size: 8px;
  color: #94a3b8;
  line-height: 1.3;
}

/* XP PROGRESS BAR */
.xp-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.xp-bar-bg {
  width: 50px;
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #334155;
}

.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #22c55e);
  width: 0%;
  transition: width 0.4s ease;
}

/* ACHIEVEMENT TOAST */
.toast-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #0f172a;
  border: 2px solid var(--neon-yellow);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
  border-radius: 6px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-banner.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 24px;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-kicker {
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  color: var(--neon-yellow);
}

.toast-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #fff;
}

/* SEQUEL TEASER OUTRO */
.sequel-teaser-box {
  background: #060912;
  border: 1px dashed #ef4444;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0;
}

.teaser-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  color: #ef4444;
  letter-spacing: 1px;
}

.teaser-text {
  font-size: 9px;
  color: #fca5a5;
  line-height: 1.4;
  font-style: italic;
}

.teaser-footer {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: var(--neon-yellow);
  text-align: right;
  margin-top: 4px;
}

/* OVERCLOCK / KONAMI EASTER EGG */
body.overclock-active .console-shell {
  border-color: #22c55e !important;
  box-shadow: 0 0 50px rgba(34, 197, 94, 0.4) !important;
}

body.overclock-active .screen-bezel::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 255, 0, 0.05) 50%);
  background-size: 100% 4px;
  z-index: 999;
  pointer-events: none;
  opacity: 0.6;
}

body.overclock-active .led-dot {
  background: #a855f7 !important;
  box-shadow: 0 0 10px #a855f7 !important;
}
