/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Roboto Mono", monospace;
  cursor: crosshair;
  /* Custom Cursor */
}

body {
  overflow: hidden;
  background: #000;
}

/* --- Sci-Fi Background --- */
.scifi-background {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background:
    -o-linear-gradient(rgba(0, 188, 212, 0.1) 1px, transparent 1px),
    -o-linear-gradient(left, rgba(0, 188, 212, 0.1) 1px, transparent 1px);
  background:
    linear-gradient(rgba(0, 188, 212, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 188, 212, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: 0;
  -webkit-perspective: 500px;
          perspective: 500px;
  -webkit-box-shadow: inset 0 0 150px #000;
          box-shadow: inset 0 0 150px #000;
  -webkit-animation: moveGrid 20s linear infinite;
          animation: moveGrid 20s linear infinite;
}

@-webkit-keyframes moveGrid {
  0% {
    -webkit-transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(0);
            transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(0);
  }

  100% {
    -webkit-transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(50px);
            transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(50px);
  }
}

@keyframes moveGrid {
  0% {
    -webkit-transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(0);
            transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(0);
  }

  100% {
    -webkit-transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(50px);
            transform: scale(1.5) perspective(500px) rotateX(10deg) translateY(50px);
  }
}

/* --- Particles Overlay --- */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image:
    -o-radial-gradient(#00bcd4 1px, transparent 1px),
    -o-radial-gradient(#00bcd4 1px, transparent 1px);
  background-image:
    radial-gradient(#00bcd4 1px, transparent 1px),
    radial-gradient(#00bcd4 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  opacity: 0.1;
  -webkit-animation: particleMove 20s linear infinite;
          animation: particleMove 20s linear infinite;
  pointer-events: none;
}

@-webkit-keyframes particleMove {
  0% {
    background-position: 0 0, 25px 25px;
  }

  100% {
    background-position: 50px 50px, 75px 75px;
  }
}

@keyframes particleMove {
  0% {
    background-position: 0 0, 25px 25px;
  }

  100% {
    background-position: 50px 50px, 75px 75px;
  }
}

/* --- Scan Line --- */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(0, 188, 212, 0.5);
  -webkit-box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
          box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
  z-index: 20;
  opacity: 0.3;
  -webkit-animation: scan 5s linear infinite;
          animation: scan 5s linear infinite;
  pointer-events: none;
}

@-webkit-keyframes scan {
  0% {
    top: -10%;
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    top: 110%;
    opacity: 0;
  }
}

@keyframes scan {
  0% {
    top: -10%;
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    top: 110%;
    opacity: 0;
  }
}

/* Main Container - Centered Single Screen */
.main {
  height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 10;
  padding: 0;
  /* Removed padding-bottom to rely on flex center */
}

.image-container {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  margin-top: -60px;
  /* Shift up to balance with footer */
}

/* --- HUD Styles --- */
.hud-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 20px 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.hud-item {
  color: #aed0d0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #00ff00;
  border-radius: 50%;
  margin-right: 10px;
  -webkit-box-shadow: 0 0 10px #00ff00;
          box-shadow: 0 0 10px #00ff00;
  -webkit-animation: blink 2s infinite;
          animation: blink 2s infinite;
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

/* Corners */
.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: #00bcd4;
  border-style: solid;
  border-width: 0;
  opacity: 0.7;
}

.top-left {
  top: 20px;
  left: 20px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.top-right {
  top: 20px;
  right: 20px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

/* --- Left Panel (System Metrics) --- */
.system-panel-left {
  position: absolute;
  top: 120px;
  left: 20px;
  width: 200px;
  padding: 15px;
  background: rgba(0, 20, 0, 0.5);
  border-left: 2px solid #00bcd4;
  font-size: 12px;
  color: #00bcd4;
  z-index: 5;
  pointer-events: none;
}

.panel-header {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #00bcd4;
  font-weight: bold;
  letter-spacing: 1px;
}

.metric-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 8px;
}

.bar-bg {
  width: 120px;
  height: 8px;
  background: rgba(0, 188, 212, 0.2);
  border: 1px solid rgba(0, 188, 212, 0.3);
}

.bar-fill {
  height: 100%;
  background: #00bcd4;
  -webkit-box-shadow: 0 0 5px #00bcd4;
          box-shadow: 0 0 5px #00bcd4;
}

.animate-cpu {
  -webkit-animation: fluctuate 3s infinite ease-in-out;
          animation: fluctuate 3s infinite ease-in-out;
}

.animate-mem {
  -webkit-animation: fluctuate 5s infinite ease-in-out;
          animation: fluctuate 5s infinite ease-in-out;
}

.animate-net {
  -webkit-animation: fluctuate 2s infinite ease-in-out;
          animation: fluctuate 2s infinite ease-in-out;
}

@-webkit-keyframes fluctuate {
  0% {
    width: 30%;
  }

  50% {
    width: 85%;
  }

  100% {
    width: 40%;
  }
}

@keyframes fluctuate {
  0% {
    width: 30%;
  }

  50% {
    width: 85%;
  }

  100% {
    width: 40%;
  }
}

/* --- Right Data Column --- */
.data-column-right {
  position: absolute;
  top: 300px;
  right: 20px;
  bottom: auto;
  width: 200px;
  font-size: 10px;
  color: rgba(0, 188, 212, 0.6);
  text-align: right;
  pointer-events: none;
  z-index: 4;
  line-height: 1.5;
  -webkit-animation: pulseText 2s infinite;
          animation: pulseText 2s infinite;
}

@-webkit-keyframes pulseText {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes pulseText {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.3;
  }
}

/* --- Target Reticle (Top Center) --- */
.target-reticle {
  position: absolute;
  top: 80px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 188, 212, 0.4);
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
}

.target-reticle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: #00bcd4;
  border-radius: 50%;
}

/* --- Terminal Log (Right) --- */
.terminal-container {
  position: absolute;
  top: 120px;
  right: 20px;
  width: 300px;
  height: 150px;
  background: rgba(0, 20, 0, 0.7);
  border: 1px solid #00bcd4;
  -webkit-box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
          box-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
  font-size: 12px;
  color: #00bcd4;
  padding: 10px;
  overflow-y: auto;
  z-index: 5;
  font-family: 'Courier New', monospace;
  pointer-events: none;
}

.terminal-header {
  border-bottom: 1px dashed #00bcd4;
  margin-bottom: 5px;
  padding-bottom: 2px;
  font-weight: bold;
  text-align: right;
}

/* --- Radar Scope (Bottom Left) --- */
/* Radar Scope styles removed */

.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 188, 212, 0.8) 30deg, transparent 30deg);
  -webkit-animation: radarSpin 4s linear infinite;
          animation: radarSpin 4s linear infinite;
  opacity: 0.5;
}

@-webkit-keyframes radarSpin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes radarSpin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

/* --- Mega HUD Styles --- */
.mega-hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.hud-box {
  position: absolute;
  padding: 5px 10px;
  border: 1px solid rgba(0, 188, 212, 0.3);
  background: rgba(0, 20, 0, 0.3);
  font-size: 10px;
  color: #00bcd4;
}

.hud-box span:first-child {
  font-weight: bold;
}

.top-left-2 {
  top: 60px;
  left: 30px;
}

.top-right-2 {
  top: 60px;
  right: 340px;
}

.bottom-left-2 {
  bottom: 180px;
  left: 30px;
}

.bottom-right-2 {
  bottom: 120px;
  right: 240px;
}

.side-ruler {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.left-ruler {
  left: 10px;
}

.right-ruler {
  right: 10px;
}

.tick {
  width: 10px;
  height: 1px;
  background: #00bcd4;
  opacity: 0.5;
}

.binary-cluster {
  position: absolute;
  font-size: 12px;
  color: rgba(0, 188, 212, 0.2);
  font-family: monospace;
}

.c1 {
  top: 20%;
  left: 15%;
  -webkit-animation: float 5s infinite alternate;
          animation: float 5s infinite alternate;
}

.c2 {
  top: 70%;
  right: 20%;
  animation: float 6s infinite alternate-reverse;
}

.c3 {
  top: 40%;
  left: 5%;
  -webkit-animation: float 4s infinite alternate;
          animation: float 4s infinite alternate;
}

.c4 {
  bottom: 10%;
  left: 40%;
  animation: float 7s infinite alternate-reverse;
}

/* Circle Orbit styles removed */

.hex-grid-decor {
  position: absolute;
  top: 20px;
  right: 400px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 20px 5px 20px 5px 20px;
  grid-template-columns: repeat(3, 20px);
  gap: 5px;
  opacity: 0.3;
}

/* Main Container - Centered Single Screen */
.main {
  height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 10;
  padding: 0;
  padding-bottom: 150px;
  /* Space for fixed footer on desktop */
}

.image-container {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  margin-top: 0;
}

/* --- Avatar & Rings (Containerized Fix) --- */
.ring-container {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: -60px auto 0 auto;
  /* Lift up significantly */
  z-index: 10;
}

.main .image-container .image video {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 50px rgba(0, 188, 212, 0.6);
          box-shadow: 0 0 50px rgba(0, 188, 212, 0.6);
  -o-object-fit: cover;
     object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Rings layered ON TOP of video */
.ring-1,
.ring-2,
.ring-ticks {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  /* Above video */
}

/* Rings removed to fix ghosting */
/* --- New Sci-Fi Elements --- */
.tech-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 370px;
  /* Just slightly larger than 350px video */
  height: 370px;
  border: 1px dashed #00bcd4;
  border-radius: 50%;
  -webkit-animation: spin 20s infinite linear;
          animation: spin 20s infinite linear;
  z-index: 5;
  -webkit-box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
          box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
  pointer-events: none;
}

.glow-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 60px rgba(0, 188, 212, 0.0);
          box-shadow: 0 0 60px rgba(0, 188, 212, 0.0);
  -webkit-animation: pulseGlow 3s infinite;
          animation: pulseGlow 3s infinite;
  z-index: 2;
  pointer-events: none;
}

.live-marker {
  position: absolute;
  bottom: 0px;
  /* Sit at bottom edge of container */
  width: 100%;
  text-align: center;
  color: #ff3333;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 3px;
  z-index: 6;
  text-shadow: 0 0 5px #ff3333;
  -webkit-animation: blinkLive 2s infinite;
          animation: blinkLive 2s infinite;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 0;
  border-radius: 0 0 175px 175px;
  /* Matches circle curve roughly at bottom */
}

@-webkit-keyframes pulseGlow {
  0% {
    -webkit-box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
            box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
  }

  50% {
    -webkit-box-shadow: 0 0 80px rgba(0, 188, 212, 0.4);
            box-shadow: 0 0 80px rgba(0, 188, 212, 0.4);
  }

  100% {
    -webkit-box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
            box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
  }
}

@keyframes pulseGlow {
  0% {
    -webkit-box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
            box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
  }

  50% {
    -webkit-box-shadow: 0 0 80px rgba(0, 188, 212, 0.4);
            box-shadow: 0 0 80px rgba(0, 188, 212, 0.4);
  }

  100% {
    -webkit-box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
            box-shadow: 0 0 30px rgba(0, 188, 212, 0.1);
  }
}

@-webkit-keyframes blinkLive {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes blinkLive {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* --- Angular Video Elements -- */
.vid-bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid #00bcd4;
  z-index: 6;
  pointer-events: none;
  -webkit-box-shadow: 0 0 10px #00bcd4;
          box-shadow: 0 0 10px #00bcd4;
  opacity: 0.8;
}

.vid-bracket.top-left {
  top: -20px;
  left: -20px;
  border-right: none;
  border-bottom: none;
  border-radius: 15px 0 0 0;
}

.vid-bracket.top-right {
  top: -20px;
  right: -20px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 15px 0 0;
}

.vid-bracket.bottom-left {
  bottom: -20px;
  left: -20px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 15px;
}

.vid-bracket.bottom-right {
  bottom: -20px;
  right: -20px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 15px 0;
}

.vid-scan-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: rgba(0, 255, 255, 0.5);
  -webkit-box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
          box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
  top: 0;
  left: 0;
  z-index: 4;
  -webkit-animation: scanVertical 4s infinite linear;
          animation: scanVertical 4s infinite linear;
  pointer-events: none;
}

.vid-badge {
  position: absolute;
  top: -30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  color: #00bcd4;
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 10px;
  border: 1px solid #00bcd4;
  -webkit-box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
          box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
  z-index: 6;
  pointer-events: none;
}

@-webkit-keyframes scanVertical {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes scanVertical {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* ring-ticks removed */
.main .image-container h1 {
  color: #00bcd4;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 60px;
  /* Spacious */
  font-size: 40px;
  text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4, 0 0 40px #00bcd4;
  position: relative;
  letter-spacing: 5px;
  -webkit-animation: textGlow 2s infinite alternate;
          animation: textGlow 2s infinite alternate;
}

.main .image-container p {
  color: #aed0d0;
  text-align: center;
  margin-bottom: 40px;
  /* Spacious */
}

/* Modern Input Bar */
.main .input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50vw;
  height: 60px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 188, 212, 0.5);
  -webkit-box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
          box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
  padding: 0 20px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  margin-bottom: 0;
}

.hex {
  width: 20px;
  height: 20px;
  border: 1px solid #00bcd4;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
          clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(0, 188, 212, 0.1);
}

.led-array {
  position: absolute;
  bottom: 20px;
  right: 350px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}

.led {
  width: 8px;
  height: 8px;
  background: #005555;
  border-radius: 50%;
  -webkit-animation: ledBlink 1s infinite alternate;
          animation: ledBlink 1s infinite alternate;
}

.led:nth-child(even) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@-webkit-keyframes ledBlink {
  from {
    background: #005555;
  }

  to {
    background: #00bcd4;
    -webkit-box-shadow: 0 0 5px #00bcd4;
            box-shadow: 0 0 5px #00bcd4;
  }
}

@keyframes ledBlink {
  from {
    background: #005555;
  }

  to {
    background: #00bcd4;
    -webkit-box-shadow: 0 0 5px #00bcd4;
            box-shadow: 0 0 5px #00bcd4;
  }
}

@-webkit-keyframes float {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }

  to {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
}

@keyframes float {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }

  to {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
}

/* --- Hyper HUD Styles --- */
.hyper-hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  /* Top most */
}

/* Micro Dots - Random Positioning via simple classes */
.micro-dot {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00bcd4;
  -webkit-box-shadow: 0 0 3px #00bcd4;
          box-shadow: 0 0 3px #00bcd4;
  -webkit-animation: flash 1s infinite alternate;
          animation: flash 1s infinite alternate;
}

/* A mix of random positions around the screen */
.d1 {
  top: 10%;
  left: 10%;
}

.d2 {
  top: 15%;
  left: 80%;
}

.d3 {
  top: 80%;
  left: 20%;
}

.d4 {
  top: 40%;
  left: 90%;
}

.d5 {
  top: 5%;
  left: 50%;
}

.d6 {
  top: 90%;
  left: 10%;
}

.d7 {
  top: 30%;
  left: 30%;
}

.d8 {
  top: 60%;
  left: 70%;
}

.d9 {
  top: 20%;
  left: 50%;
}

.d10 {
  top: 75%;
  left: 85%;
}

.d11 {
  top: 12%;
  left: 60%;
}

.d12 {
  top: 88%;
  left: 40%;
}

.d13 {
  top: 45%;
  left: 15%;
}

.d14 {
  top: 55%;
  left: 95%;
}

.d15 {
  top: 25%;
  left: 5%;
}

.d16 {
  top: 5%;
  left: 90%;
}

.d17 {
  top: 95%;
  left: 15%;
}

.d18 {
  top: 35%;
  left: 85%;
}

.d19 {
  top: 65%;
  left: 5%;
}

.d20 {
  top: 50%;
  left: 25%;
}

.d21 {
  top: 18%;
  left: 22%;
}

.d22 {
  top: 82%;
  left: 88%;
}

.d23 {
  top: 48%;
  left: 42%;
}

.d24 {
  top: 52%;
  left: 58%;
}

.d25 {
  top: 92%;
  left: 12%;
}

.d26 {
  top: 8%;
  left: 75%;
}

.d27 {
  top: 32%;
  left: 8%;
}

.d28 {
  top: 68%;
  left: 92%;
}

.d29 {
  top: 42%;
  left: 28%;
}

.d30 {
  top: 58%;
  left: 72%;
}

@-webkit-keyframes flash {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes flash {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

/* Tech Lines */
.tech-line {
  position: absolute;
  background: rgba(0, 188, 212, 0.4);
}

.t1 {
  top: 18%;
  left: 0;
  width: 100px;
  height: 1px;
}

.t2 {
  top: 22%;
  right: 0;
  width: 150px;
  height: 1px;
}

.t3 {
  bottom: 15%;
  left: 100px;
  width: 1px;
  height: 50px;
}

.t4 {
  top: 5%;
  right: 20%;
  width: 50px;
  height: 1px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.t5 {
  bottom: 5%;
  left: 20%;
  width: 50px;
  height: 1px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/* Crosses */
.cross {
  position: absolute;
  color: rgba(0, 188, 212, 0.5);
  font-size: 10px;
}

.c-1 {
  top: 30%;
  left: 12%;
}

.c-2 {
  top: 35%;
  right: 12%;
}

.c-3 {
  bottom: 30%;
  left: 12%;
}

.c-4 {
  bottom: 35%;
  right: 12%;
}

.c-5 {
  top: 10%;
  left: 45%;
}

.c-6 {
  bottom: 10%;
  right: 45%;
}

.c-7 {
  top: 50%;
  left: 5%;
}

.c-8 {
  top: 50%;
  right: 5%;
}

.c-9 {
  top: 80%;
  left: 50%;
}

.c-10 {
  top: 20%;
  left: 50%;
}

/* --- End Hyper HUD Styles --- */


/* --- Rings --- */
.ring-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.ring {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 50%;
  -webkit-animation: spin 10s linear infinite;
          animation: spin 10s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.ring-1 {
  width: 400px;
  height: 400px;
  border-top: 2px solid #00bcd4;
  border-bottom: 2px solid #00bcd4;
  opacity: 0.5;
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
}

.ring-2 {
  width: 370px;
  height: 370px;
  border-left: 2px solid #00bcd4;
  border-right: 2px solid #00bcd4;
  opacity: 0.3;
  animation-direction: reverse;
  -webkit-animation-duration: 12s;
          animation-duration: 12s;
}

/* Ring Ticks - Dashed Circle */
.ring-ticks {
  width: 420px;
  height: 420px;
  border: 2px dashed rgba(0, 188, 212, 0.3);
  border-radius: 50%;
  -webkit-animation: spin 30s linear infinite;
          animation: spin 30s linear infinite;
  opacity: 0.4;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

/* --- Sound Wave --- */
.sound-wave-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 30px;
  gap: 5px;
  margin-bottom: 20px;
}

.sound-wave-container .bar {
  width: 6px;
  height: 10px;
  background: #00bcd4;
  border-radius: 3px;
  -webkit-animation: wave 1s ease-in-out infinite;
          animation: wave 1s ease-in-out infinite;
  -webkit-box-shadow: 0 0 10px #00bcd4;
          box-shadow: 0 0 10px #00bcd4;
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

.sound-wave-container.speaking .bar {
  -webkit-animation-play-state: running;
          animation-play-state: running;
}

.sound-wave-container .bar:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}

.sound-wave-container .bar:nth-child(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

.sound-wave-container .bar:nth-child(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.sound-wave-container .bar:nth-child(4) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

.sound-wave-container .bar:nth-child(5) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}

@-webkit-keyframes wave {
  0% {
    height: 10px;
  }

  50% {
    height: 30px;
  }

  100% {
    height: 10px;
  }
}

@keyframes wave {
  0% {
    height: 10px;
  }

  50% {
    height: 30px;
  }

  100% {
    height: 10px;
  }
}

.main .image-container {
  padding: 10px;
}

.main .image-container .image {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.main .image-container .image img,
.main .image-container .image video {
  width: 350px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 30px rgba(0, 188, 212, 0.4);
          box-shadow: 0 0 30px rgba(0, 188, 212, 0.4);
}

.main .image-container h1 {
  color: #00bcd4;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 60px;
  font-size: 40px;
  text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4, 0 0 40px #00bcd4;
  position: relative;
  letter-spacing: 5px;
  -webkit-animation: textGlow 2s infinite alternate;
          animation: textGlow 2s infinite alternate;
}

@-webkit-keyframes textGlow {
  from {
    text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4;
  }

  to {
    text-shadow: 0 0 20px #00bcd4, 0 0 40px #00bcd4, 0 0 60px #00bcd4;
  }
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4;
  }

  to {
    text-shadow: 0 0 20px #00bcd4, 0 0 40px #00bcd4, 0 0 60px #00bcd4;
  }
}


.main .image-container p {
  color: #aed0d0;
  text-align: center;
  margin-bottom: 15px;
}

/* Modern Input Bar */
.main .input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50vw;
  height: 60px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 188, 212, 0.5);
  -webkit-box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
          box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
  padding: 0 20px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.main .input:hover {
  -webkit-box-shadow: 0 0 25px rgba(0, 188, 212, 0.5);
          box-shadow: 0 0 25px rgba(0, 188, 212, 0.5);
  border-color: #00bcd4;
}

.main .input .talk {
  background: #00bcd4;
  outline: none;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  margin-right: 15px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 0 10px #00bcd4;
          box-shadow: 0 0 10px #00bcd4;
}

.main .input .talk:hover {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 0 20px #00bcd4, 0 0 40px #00bcd4;
          box-shadow: 0 0 20px #00bcd4, 0 0 40px #00bcd4;
}

.main .input .talk:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}

.main .input .talk i {
  font-size: 20px;
  color: #000;
}

.main .input .content {
  color: #aed0d0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Timer */
.timer-overlay {
  position: absolute;
  top: 15%;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 40px;
  font-weight: bold;
  color: #ff3333;
  background: rgba(0, 0, 0, 0.9);
  padding: 10px 40px;
  border: 2px solid #ff3333;
  -webkit-box-shadow: 0 0 20px #ff3333;
          box-shadow: 0 0 20px #ff3333;
  z-index: 20;
  display: none;
  letter-spacing: 5px;
}

.timer-overlay:not(.hidden) {
  display: block;
}


/* Footer Styles - Fixed for Desktop */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 100;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.8);
  padding-bottom: 5px;
  margin-top: 0;
}

.footer p {
  color: #aed0d0;
  margin-bottom: 2px;
  font-size: 14px;
}

/* --- Mobile Responsive Styles --- */
@media screen and (max-width: 768px) {

  html,
  body {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
  }

  .main {
    padding-bottom: 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .main .image-container {
    padding-top: 50px;
    margin-top: 0;
  }

  /* Scale the entire container down for mobile */
  .ring-container {
    -webkit-transform: scale(0.65);
        -ms-transform: scale(0.65);
            transform: scale(0.65);
    margin-top: -30px;
    margin-bottom: -30px;
  }

  /* Reset video to fill container */
  .main .image-container .image video,
  .main .image-container .image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
  }

  /* Rings maintain PX size but get scaled down by parent transform */
  .ring-1 {
    width: 450px;
    height: 450px;
  }

  .ring-2 {
    width: 550px;
    height: 550px;
  }

  .ring-ticks {
    width: 600px;
    height: 600px;
  }

  .main .image-container h1 {
    font-size: 26px;
    margin-top: 10px;
  }

  .main .image-container p {
    font-size: 12px;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .main .input {
    width: 85vw;
    height: 45px;
    margin-bottom: 5px;
  }

  /* Fixed Footer on Mobile too, but compact */
  .footer {
    position: fixed;
    bottom: 0;
    margin-top: 0;
    padding-bottom: 2px;
  }

  .footer p {
    font-size: 10px;
  }

  .footer .social-links a {
    font-size: 16px;
    margin: 0 8px;
  }

  /* Hide complex desktop-only HUD elements on mobile */
  .system-panel-left,
  .terminal-container,
  .radar-scope,
  .data-column-right,
  .mega-hud,
  .hyper-hud,
  .side-ruler,
  .corner,
  .target-reticle,
  .hud-box {
    display: none;
  }
}

.footer p a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: bold;
}

.footer .social-links a {
  color: #aed0d0;
  margin: 0 10px;
  font-size: 20px;
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

.footer .social-links a:hover {
  color: #00bcd4;
}