* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  background-color: #050505;
  color: #ffffff;
  font-family: "Courier New", Courier, monospace;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 10;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
  z-index: 11;
}

.scanner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.hero-title {
  text-align: center;
  margin-top: 20px;
}

.main-glow {
  font-size: 110px;
  font-weight: 900;
  letter-spacing: 15px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 50px rgba(255, 255, 255, 0.4),
    0 0 100px rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.sub-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 8px;
  margin-top: 10px;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.rec-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  font-size: 12px;
  letter-spacing: 3px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  background-color: #ff3333;
  border-radius: 50%;
  margin-right: 8px;
  animation: blink 1.5s infinite ease-in-out;
}

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

.viewfinder-zone {
  position: relative;
  width: 100%;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bracket {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  pointer-events: none;
  z-index: 6;
}

.top-left {
  top: 0;
  left: 5%;
  border-right: none;
  border-bottom: none;
}
.top-left::after {
  content: "● \A ●";
  white-space: pre;
  position: absolute;
  top: 40px;
  left: 0;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.top-right {
  top: 0;
  right: 5%;
  border-left: none;
  border-bottom: none;
}
.top-right::after {
  content: "● \A ●";
  white-space: pre;
  position: absolute;
  top: 40px;
  right: 0;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.crosshair {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  text-align: center;
  z-index: 6;
}
.left-cross {
  left: 8%;
}
.right-cross {
  right: 8%;
}

#canvas-container {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

#canvas-container canvas {
  display: block;
  max-width: 100%;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
}

.bottom-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}

.era-title {
  text-align: center;
  font-size: 18px;
  letter-spacing: 6px;
  margin-bottom: 20px;
  font-weight: 700;
}

.moon-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.02);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-item {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.data-item strong {
  color: #ffffff;
}

.description-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.prolog-tag {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  padding-top: 2px;
}

.desc-text {
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  text-align: justify;
  max-width: 85%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .scanner-container {
    padding: 20px 15px;
  }

  .top-bar {
    font-size: 9px;
    letter-spacing: 1px;
    padding-bottom: 10px;
  }
  .designer-credit {
    display: none;
  }

  .main-glow {
    font-size: 55px;
    letter-spacing: 6px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }

  .sub-title {
    font-size: 14px;
    letter-spacing: 4px;
    margin-top: 5px;
  }

  #canvas-container {
    height: 280px;
  }

  .top-left {
    left: 2%;
    width: 20px;
    height: 20px;
  }
  .top-right {
    right: 2%;
    width: 20px;
    height: 20px;
  }
  .top-left::after,
  .top-right::after {
    display: none;
  }

  .crosshair {
    font-size: 11px;
  }
  .left-cross {
    left: 4%;
  }
  .right-cross {
    right: 4%;
  }

  .moon-data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .data-item {
    font-size: 11px;
  }

  .description-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .left-tag,
  .right-tag {
    align-self: center;
  }

  .desc-text {
    max-width: 100%;
    text-align: left;
    font-size: 10px;
    line-height: 1.6;
  }
}

@media (max-width: 380px) {
  .main-glow {
    font-size: 45px;
    letter-spacing: 4px;
  }
  #canvas-container {
    height: 240px;
  }
  .moon-data-grid {
    grid-template-columns: 1fr;
  }
  .crosshair,
  .bracket {
    display: none;
  }
}
a{
  text-decoration: none;
  color: #ffffff;
}