body {
  background: #0a0a0f;
  color: #00ff00;
  font-family: 'Share Tech Mono', 'Orbitron', monospace;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scanline Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 0, 0.03) 2px,
    rgba(0, 255, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Blocky Loader */
.blocky-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader-text {
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px #00ff00;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.blocky-bar-container {
  width: 600px;
  height: 20px;
  background: #111;
  border: 2px solid #00ff00;
  position: relative;
}

.blocky-bar {
  height: 100%;
  width: 0%;
  background: #00ff00;
  box-shadow: 0 0 20px #00ff00;
  transition: width 0.1s;
}

/* Main Container */
.main-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0a0f;
  position: relative;
}

/* Header */
.header {
  background: #0a0a0f;
  padding: 1rem 2rem;
  border-bottom: 2px solid #00ff00;
  position: relative;
  z-index: 2;
}

.glitch-title {
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  font-size: 2.5rem;
  color: #00ff00;
  letter-spacing: 0.15em;
  text-shadow: 0 0 8px #00ff00, 0 0 24px #00ff00;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}

.title-line {
  height: 2px;
  background: #00ff00;
  margin: 1rem auto;
  width: 80%;
  box-shadow: 0 0 10px #00ff00;
}

/* Pipboy Menu */
.pipboy-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.menu-item {
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #00ff00;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu-item:hover {
  background: #00ff00;
  color: #000;
  box-shadow: 0 0 15px #00ff00;
}

.menu-item.active {
  background: #00ff00;
  color: #000;
  box-shadow: 0 0 15px #00ff00;
}

/* Content */
.content {
  flex: 1;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

/* Section Content */
.section-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  animation: loadIn 0.5s ease-out forwards;
}

.section-content.active {
  display: block;
}

/* Glow Effect */
.glow {
  text-shadow: 0 0 8px #00ff00, 0 0 16px #00ff00, 0 0 24px #00ff00;
}

/* Status Container */
.status-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Loading Container */
.loading-container {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
  overflow: visible;
  height: auto;
  border: none;
  background: transparent;
}

.loading-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: #00ff00;
}

.loading-info span {
  text-shadow: 0 0 4px #00ff00;
}

.loading-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background: #00ff00;
  box-shadow: 0 0 10px #00ff00;
  transition: width 3s ease;
}

.loading-bar-wrapper {
  flex: 1;
  height: 12px;
  background: #111;
  border: 1px solid #00ff00;
  position: relative;
  overflow: hidden;
}

.loading-label {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: #00ff00;
  white-space: nowrap;
  text-shadow: 0 0 4px #00ff00;
}

.loading-info-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: #00aa00;
  text-align: center;
  margin-top: 0.5rem;
  text-shadow: 0 0 3px #00aa00;
  min-height: 1.2rem;
}

/* Glitch Sections */
.glitch-section {
  opacity: 0;
  transform: translateY(20px);
  animation: loadIn 0.5s ease-out forwards;
}

.glitch-section:nth-child(1) { animation-delay: 0.2s; }
.glitch-section:nth-child(2) { animation-delay: 0.4s; }
.glitch-section:nth-child(3) { animation-delay: 0.6s; }

@keyframes loadIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glitch-section.loaded {
  opacity: 1;
  transform: translateY(0);
  animation: glitchEffect 0.3s ease-out;
}

@keyframes glitchEffect {
  0% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

/* Countdown Section */
.countdown-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.terminal-panel {
  background: #111;
  border: 2px solid #00ff00;
  padding: 1.5em 2em;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.countdown-text {
  font-size: 1.3em;
  letter-spacing: 0.05em;
  margin: 0 0 0.5em 0;
}

.countdown-desc {
  color: #00aa00;
  font-size: 1em;
  margin: 0;
}

/* Stats Section */
.stats-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.stats-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-card {
  background: #111;
  color: #00ff00;
  border: 2px solid #00ff00;
  padding: 1.5em 2em;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  position: relative;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-card:hover {
  box-shadow: 0 0 32px #00ff00, inset 0 0 20px #000;
  transform: translateY(-2px);
}

.stat-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #00ff00;
  letter-spacing: 0.04em;
  margin-bottom: 0.7em;
  text-transform: uppercase;
  text-align: center;
}

.stat-value {
  font-size: 2em;
  color: #00ff00;
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px #00ff00;
}

.stats-updated {
  color: #00aa00;
  font-size: 1em;
  text-align: center;
  margin-top: 0.5em;
  font-family: 'Share Tech Mono', monospace;
}

/* Milestone Section */
.milestone-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.milestone-panel {
  background: #111;
  border: 2px solid #00ff00;
  padding: 1.5em 2em;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  width: 100%;
  max-width: 800px;
}

.milestone-title {
  color: #00ff00;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1em;
  border-bottom: 1px solid #00ff00;
  padding-bottom: 0.2em;
}

.milestone-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.milestone-item {
  margin-bottom: 1.5em;
  font-size: 1.1em;
  font-family: 'Share Tech Mono', monospace;
}

.milestone-item:last-child {
  margin-bottom: 0;
}

.milestone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5em;
}

.milestone-name {
  font-weight: bold;
  color: #00ff00;
}

.milestone-progress {
  color: #00aa00;
  font-size: 0.9em;
}

.milestone-bar-container {
  width: 100%;
  height: 8px;
  background: #222;
  border: 1px solid #00ff00;
  margin-bottom: 0.5em;
  position: relative;
}

.milestone-bar {
  height: 100%;
  width: 0%;
  background: #00ff00;
  box-shadow: 0 0 8px #00ff00;
  transition: width 1s ease;
}

.milestone-reward {
  color: #00aa00;
  font-size: 0.95em;
  font-style: italic;
}

/* Scanner Section */
.scanner-container {
  max-width: 1000px;
  margin: 0 auto;
}

.scanner-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scanner-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.drop-zone {
  background: #111;
  border: 2px dashed #00ff00;
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: #00ff00;
  box-shadow: 0 0 32px #00ff00, inset 0 0 20px #000;
  background: #1a1a1a;
}

.drop-zone-content {
  pointer-events: none;
}

.drop-zone-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.drop-zone-text {
  font-size: 1.2rem;
  color: #00ff00;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.drop-zone-hint {
  font-size: 0.9rem;
  color: #00aa00;
  opacity: 0.8;
}

/* Image Preview */
.image-preview {
  background: #111;
  border: 2px solid #00ff00;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
}

.preview-title {
  color: #00ff00;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  background: #000;
  border: 1px solid #00ff00;
  border-radius: 4px;
  overflow: hidden;
}

.preview-image {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 8px #00ff0044;
}

.metadata-section {
  background: #111;
  border: 2px solid #00ff00;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
}

.metadata-title {
  color: #00ff00;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metadata-output {
  background: #000;
  border: 1px solid #00ff00;
  border-radius: 4px;
  padding: 1rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: #00ff00;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  box-shadow: 0 0 8px #00ff0044, inset 0 0 10px #000;
}

.metadata-output::-webkit-scrollbar {
  width: 8px;
}

.metadata-output::-webkit-scrollbar-track {
  background: #111;
}

.metadata-output::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 4px;
}

.metadata-output::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Highlighted metadata values */
.metadata-key {
  color: #00ff00;
  font-weight: bold;
}

.metadata-value {
  color: #00aa00;
}

.metadata-value.highlight {
  color: #ffff00;
  text-shadow: 0 0 8px #ffff00;
}

.metadata-match {
  background: #ffff00;
  color: #000;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  font-weight: bold;
}

/* Documents Section */
.documents-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.documents-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.document-card {
  background: #111;
  color: #00ff00;
  border: 2px solid #00ff00;
  padding: 1em 1.5em;
  display: flex;
  flex-direction: column;
  font-family: 'Share Tech Mono', monospace;
  position: relative;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 140px;
}

.document-card:hover {
  box-shadow: 0 0 32px #00ff00, inset 0 0 20px #000;
  transform: translateY(-2px);
}

.document-card.entity-doc {
  border-color: #ff0066;
  box-shadow: 0 0 16px #ff006644, inset 0 0 20px #000;
}

.document-card.entity-doc:hover {
  box-shadow: 0 0 32px #ff0066, inset 0 0 20px #000;
}

.document-card.location-doc {
  border-color: #00ffff;
  box-shadow: 0 0 16px #00ffff44, inset 0 0 20px #000;
}

.document-card.location-doc:hover {
  box-shadow: 0 0 32px #00ffff, inset 0 0 20px #000;
}

.document-title {
  font-size: 1em;
  font-weight: bold;
  color: #00ff00;
  letter-spacing: 0.04em;
  margin-bottom: 0.8em;
  text-transform: uppercase;
  border-bottom: 1px solid #00ff00;
  width: 100%;
  padding-bottom: 0.2em;
}

.entity-doc .document-title {
  color: #ff0066;
  border-bottom-color: #ff0066;
}

.location-doc .document-title {
  color: #00ffff;
  border-bottom-color: #00ffff;
}

.document-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex: 1;
}

.document-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2em 0;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.document-label {
  font-size: 0.8em;
  color: #00aa00;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.document-value {
  font-size: 0.9em;
  color: #00ff00;
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-shadow: 0 0 4px #00ff00;
}

.entity-doc .document-value {
  color: #ff0066;
  text-shadow: 0 0 4px #ff0066;
}

.location-doc .document-value {
  color: #00ffff;
  text-shadow: 0 0 4px #00ffff;
}

/* Document Modal */
.document-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #0a0a0f;
  margin: 2% auto;
  padding: 0;
  border: 2px solid #00ff00;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 32px #00ff00, inset 0 0 20px #000;
  position: relative;
}

.modal-header {
  background: #111;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #00ff00;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  text-shadow: 0 0 8px #00ff00;
}

.modal-close {
  background: none;
  border: none;
  color: #00ff00;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  text-shadow: 0 0 8px #00ff00;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: #ff0066;
  text-shadow: 0 0 12px #ff0066;
}

.modal-body {
  padding: 2rem;
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  line-height: 1.6;
}

.modal-body h3 {
  color: #00ff00;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #00ff00;
  padding-bottom: 0.3rem;
}

.modal-body p {
  margin: 0.8rem 0;
  color: #00aa00;
}

.modal-body .classified-info {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.3);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}

.modal-body .certification {
  background: rgba(255, 0, 102, 0.05);
  border: 1px solid rgba(255, 0, 102, 0.3);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  font-style: italic;
}

.modal-body .code-block {
  background: #000;
  border: 1px solid #00ff00;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  overflow-x: auto;
}

.modal-body .warning {
  color: #ff0066;
  font-weight: bold;
  text-shadow: 0 0 4px #ff0066;
}

.modal-body .stamp {
  color: #00ffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 4px #00ffff;
}

/* Archive Section */
.archive-title {
  color: #00ff00;
  font-size: 1.3em;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.archive-text {
  color: #00aa00;
  font-size: 1.1em;
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  padding: 1.2em 0 0.7em 0;
  color: #00aa00;
  font-size: 1em;
  font-family: 'Share Tech Mono', monospace;
  border-top: 1px solid #00ff00;
  margin-top: auto;
}

.footer-link {
  color: #00aa00;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #00ff00;
  text-shadow: 0 0 8px #00ff00;
}

/* Responsive */
@media (max-width: 900px) {
  .stats-container {
    flex-direction: column;
    gap: 1.2em;
  }
  .stat-card {
    min-width: 0;
    width: 90vw;
    max-width: 340px;
  }
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .document-card {
    min-width: 0;
    width: 100%;
  }
  .pipboy-menu {
    gap: 1rem;
  }
  .menu-item {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  .scanner-panel {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .glitch-title {
    font-size: 1.8rem;
  }
  .content {
    padding: 1rem;
  }
  .terminal-panel, .milestone-panel {
    padding: 1em;
  }
  .pipboy-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .scanner-title {
    font-size: 1.5rem;
  }
  .drop-zone {
    padding: 2rem 1rem;
  }
  .drop-zone-icon {
    font-size: 2rem;
  }
  .drop-zone-text {
    font-size: 1rem;
  }
  .preview-image {
    max-height: 300px;
  }
  .documents-container {
    padding: 1rem;
  }
  .documents-title {
    font-size: 1.5rem;
  }
  .document-card {
    padding: 1em 1.5em;
  }
  .document-title {
    font-size: 1.1em;
  }
  .document-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
  }
}

/* Echo Terminal Section */
.terminal-echo-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.echo-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.echo-terminal {
  background: #000;
  border: 2px solid #00ff00;
  border-radius: 8px;
  box-shadow: 0 0 16px #00ff0044, inset 0 0 20px #000;
  padding: 1.5rem 1rem 1rem 1rem;
  font-family: 'Share Tech Mono', monospace;
  color: #00ff00;
  min-height: 320px;
  max-height: 480px;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.echo-output {
  font-size: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 0.5rem;
  min-height: 180px;
  max-height: 320px;
  overflow-y: auto;
  flex: 1;
}

.echo-separator {
  height: 1px;
  background: #00ff00;
  margin: 0.5rem 0;
  opacity: 0.6;
}

.echo-input-line {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.echo-prompt {
  color: #00ff00;
  margin-right: 0.5rem;
  font-weight: bold;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
}

.echo-input {
  background: transparent;
  border: none;
  outline: none;
  color: #00ff00;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  flex: 1;
  caret-color: #00ff00;
  padding: 0;
  margin: 0;
}

.echo-cursor {
  color: #00ff00;
  font-size: 1.1rem;
  margin-left: 2px;
  animation: blink-cursor 1s steps(1) infinite;
}

@keyframes blink-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.echo-link {
  color: #00ff00;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}
.echo-link:hover {
  color: #00ffaa;
}

/* Style links within echo terminal output */
.echo-output a {
  color: #00ff00;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: bold;
  text-shadow: 0 0 3px #00ff00;
  padding: 2px 4px;
  border-radius: 3px;
}
.echo-output a:hover {
  color: #00ffaa;
  text-shadow: 0 0 8px #00ffaa;
  background: rgba(0, 255, 0, 0.1);
  text-decoration: none;
}

@media (max-width: 600px) {
  .terminal-echo-container {
    padding: 1rem 0;
  }
  .echo-title {
    font-size: 1.3rem;
  }
  .echo-terminal {
    min-height: 200px;
    max-height: 320px;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  .echo-output {
    font-size: 0.95rem;
  }
  .echo-input-line {
    font-size: 0.95rem;
  }
}

/* Custom Scrollbars for Terminal Theme */
.echo-terminal::-webkit-scrollbar,
.echo-output::-webkit-scrollbar,
.metadata-output::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  background: #111;
}
.echo-terminal::-webkit-scrollbar-thumb,
.echo-output::-webkit-scrollbar-thumb,
.metadata-output::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 6px;
  box-shadow: 0 0 8px #00ff00;
}
.echo-terminal::-webkit-scrollbar-thumb:hover,
.echo-output::-webkit-scrollbar-thumb:hover,
.metadata-output::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #00ffaa;
}
.echo-terminal::-webkit-scrollbar-track,
.echo-output::-webkit-scrollbar-track,
.metadata-output::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #111;
}

/* For Firefox */
.echo-terminal,
.echo-output,
.metadata-output,
body {
  scrollbar-width: thin;
  scrollbar-color: #00ff00 #111;
} 

/* Hologram Map Styles */
.map-container {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #00ffff;
  text-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
}

.map-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  border-radius: 8px;
  width: 90vw;
  max-width: 1400px;
  min-width: 300px;
}

.map-control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.map-control-label {
  font-size: 0.9rem;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.control-instructions {
  font-size: 0.8rem;
  color: #00ff00;
  opacity: 0.8;
  text-align: center;
}

.map-slider {
  width: 150px;
  height: 6px;
  background: #1a1a1a;
  border: 1px solid #00ffff;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.map-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #00ffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffff;
  cursor: pointer;
}

.map-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #00ffff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 10px #00ffff;
  cursor: pointer;
}

.hologram-container {
  position: relative;
  width: 90vw;
  height: 700px;
  max-width: 100%;
  max-height: 700px;
  min-width: 300px;
  min-height: 300px;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  border: 2px solid #00ffff;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 2rem auto;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.hologram-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hologram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.location-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.location-marker:hover {
  transform: scale(1.2);
}

.marker-pulse {
  width: 100%;
  height: 100%;
  background: #ff0066;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 15px #ff0066;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.marker-label {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #00ffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.location-marker:hover .marker-label {
  opacity: 1;
}

.map-info-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 280px;
  max-height: 400px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #00ffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  z-index: 10;
  overflow-y: auto;
}

.info-title {
  color: #00ffff;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.location-info {
  color: #00ff00;
  font-size: 0.9rem;
  line-height: 1.5;
}

.info-text {
  margin: 0;
  opacity: 0.8;
}

.location-details {
  margin-top: 1rem;
}

.location-name {
  color: #00ffff;
  font-weight: bold;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.place-name {
  color: #00ffff;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.country-name {
  color: #00ff00;
  font-weight: normal;
  font-size: 0.9rem;
  opacity: 0.8;
}

.location-description {
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  max-height: 120px;
  overflow-y: auto;
}

.location-stats {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.location-stat {
  background: rgba(0, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid #00ffff;
  text-align: center;
  flex: 1;
  min-width: 60px;
}

.stat-number {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: #00ffff;
}

.stat-label {
  font-size: 0.7rem;
  color: #00ff00;
  text-transform: uppercase;
}

/* Hologram grid effect */
.hologram-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

/* Responsive design for map */
@media (max-width: 768px) {
  .map-container {
    padding: 1rem;
  }
  
  .map-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .map-control-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .map-slider {
    width: 120px;
  }
  
  .hologram-container {
    width: 90vw;
    height: 500px;
    max-width: 800px;
    max-height: 800px;
    min-width: 300px;
    min-height: 300px;
    margin: 0 auto 1rem auto;
  }
  
  .map-info-panel {
    position: static;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    max-height: none;
  }
  
  .location-description {
    max-height: none;
  }
  
  .location-stats {
    gap: 0.3rem;
  }
  
  .location-stat {
    padding: 0.3rem 0.6rem;
    min-width: 50px;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  .location-marker {
    width: 15px;
    height: 15px;
  }
  
  .marker-label {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
} 