#main-page{
  margin: 0;
  font-size: 5em;
  background-image: url(img/bg.jpg);
}
.banner {
  height: 100vh;
  
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/valentin-petrov-m-mal-01.jpg');
  background-size: cover;
  background-position: center;
  animation: bgZoomIn 4s ease-in-out 1 forwards;
  z-index: -1;
  pointer-events: none;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/after.png');
  background-size: cover;
  background-position: top;
  transform: scale(2);
  animation: bgZoomOut 4s ease-in-out 1 forwards;
  z-index: -1;
  pointer-events: none;
}
@keyframes bgZoomIn {
  from {
    transform: scale(1.2);
  } to {
    transform: scale(1);
  }
}
@keyframes bgZoomOut {
  from {
    transform: scale(1);
  } to {
    transform: scale(2);
  }
}

svg path {
  fill: transparent;
  stroke: #fff;
  stroke-width: 0.1;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: textAnimation 4s ease-in-out 1 forwards;
}
@keyframes textAnimation {
  0% {
    stroke-dashoffset: 50;
  }
  80% {
    fill: transparent;
  }
  100% {
    fill: #fff;
    stroke-dashoffset: 0;
  }
}

.main-ccg-grad{
background: #045867;
background: linear-gradient(160deg,rgba(4, 88, 103, 1) 0%, rgba(6, 127, 148, 1) 50%, rgba(123, 177, 186, 1) 100%);border-radius: 16px;box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  background-repeat:no-repeat;
  background-position: bottom;
  animation:animateccg 0.5s;
}

@keyframes animateccg{from{background-size: 100% 0%;} to{background-size: 100% 100%;}}

.main-ccg-img{
background: rgba(255, 255, 255, 0.2);border-radius: 16px;box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);backdrop-filter: blur(5px);-webkit-backdrop-filter: blur(5px);border: 1px solid rgba(255, 255, 255, 0.3);	
}

.main-ccg-img-click1{
background-image:url('/images/ccg1-large.jpg');	
background-size:cover;
}

.main-ccg-img-click2{
background-image:url('/images/ccg2-large.jpg');	
background-size:cover;
}

.main-ccg-img-click3{
background-image:url('/images/ccg3-large.jpg');	
background-size:cover;
}

.main-ccg-img-click4{
background-image:url('/images/ccg4-large.jpg');	
background-size:cover;
}

.main-ccg-img-click5{
background-image:url('/images/ccg5-large.jpg');	
background-size:cover;
}

.main-ccg-img-click6{
background-image:url('/images/ccg6-large.jpg');	
background-size:cover;
}

.main-ccg-img-click7{
background-image:url('/images/ccg7-large.jpg');	
background-size:cover;
}

.main-ccg-img-click8{
background-image:url('/images/ccg8-large.jpg');	
background-size:cover;
}

/* From Uiverse.io by reglobby */ 
.stars-container {
  position: absolute;
  width: 100%;
  height: 100%;
  perspective: 500px;
  transform-style: preserve-3d;
}

.star-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.star-layer:nth-child(1) {
  transform: translateZ(-50px);
  animation: star-drift 150s linear infinite;
}

.star-layer:nth-child(2) {
  transform: translateZ(-100px);
  animation: star-drift 200s linear infinite reverse;
  opacity: 0.6;
}

.star-layer:nth-child(3) {
  transform: translateZ(-200px);
  animation: star-drift 250s linear infinite;
  opacity: 0.4;
}

@keyframes star-drift {
  0% {
    transform: translateZ(-50px) translateY(0);
  }
  100% {
    transform: translateZ(-50px) translateY(100%);
  }
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
}

.star-layer::before,
.star-layer::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

.star-layer:nth-child(1)::before {
  background-image: radial-gradient(1px 1px at 10% 10%, white 100%, transparent),
    radial-gradient(1px 1px at 20% 20%, white 100%, transparent),
    radial-gradient(2px 2px at 30% 30%, white 100%, transparent),
    radial-gradient(1px 1px at 40% 40%, white 100%, transparent),
    radial-gradient(2px 2px at 50% 50%, white 100%, transparent),
    radial-gradient(1px 1px at 60% 60%, white 100%, transparent),
    radial-gradient(2px 2px at 70% 70%, white 100%, transparent),
    radial-gradient(1px 1px at 80% 80%, white 100%, transparent),
    radial-gradient(2px 2px at 90% 90%, white 100%, transparent),
    radial-gradient(1px 1px at 15% 85%, white 100%, transparent);
}

.nebula {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(
      ellipse at 30% 30%,
      rgba(63, 0, 113, 0.3) 0%,
      rgba(63, 0, 113, 0) 70%
    ),
    radial-gradient(
      ellipse at 70% 60%,
      rgba(0, 113, 167, 0.3) 0%,
      rgba(0, 113, 167, 0) 70%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(167, 0, 157, 0.2) 0%,
      rgba(167, 0, 157, 0) 70%
    );
  filter: blur(30px);
  opacity: 0.5;
  animation: nebula-shift 30s infinite alternate ease-in-out;
}

@keyframes nebula-shift {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2) rotate(5deg);
    opacity: 0.4;
  }
}

.grid-plane {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: linear-gradient(
      rgba(0, 162, 255, 0.15) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 162, 255, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center;
  animation: grid-move 20s linear infinite;
  opacity: 0.3;
}

@keyframes grid-move {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) translateY(40px);
  }
}

.button-container {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  z-index: 10;
}

.holo-button {
  position: relative;
  width: 100%;
  height: 80px;
  background: rgba(4, 88, 103, 1);
  border: none;
  color: rgba(0, 221, 255, 0.8);
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 221, 255, 0.5);
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  z-index: 5;
  border-radius: 2px;
}

.holo-btn-dark {
  background: rgba(0, 12, 36, 0.7);
  background: linear-gradient(160deg,rgba(0, 12, 36, 0.4) 0%, rgba(0, 12, 36, 0.7) 50%, rgba(0, 150, 255, 0.3) 100%);
box-shadow:
    0 0 15px rgba(0, 140, 255, 0.3),
    inset 0 0 10px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
}

.holo-btn-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding:4px 0px 2px 0px;
  z-index: 2;
  overflow: hidden;
}

.holo-button::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  z-index: -1;
  border-radius: 1px;
}

.button-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.button-border::before,
.button-border::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  box-shadow: 0 0 10px rgba(0, 221, 255, 0.7);
  animation: border-flow 3s infinite;
}

.button-border::before {
  border-top-color: rgba(0, 221, 255, 0.8);
  border-left-color: rgba(0, 221, 255, 0.8);
  filter: drop-shadow(0 0 5px rgba(0, 221, 255, 0.7));
}

.button-border::after {
  border-bottom-color: rgba(255, 0, 222, 0.8);
  border-right-color: rgba(255, 0, 222, 0.8);
  filter: drop-shadow(0 0 5px rgba(255, 0, 222, 0.7));
}

@keyframes border-flow {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.8;
  }
}

.holo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 221, 255, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
  filter: blur(10px);
  animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
  0% {
    opacity: 0.4;
    filter: blur(10px) brightness(0.8);
  }
  100% {
    opacity: 0.7;
    filter: blur(15px) brightness(1.2);
  }
}

.holo-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.holo-line2 {
  position: absolute;
  background: rgba(255, 255, 255, 1);
  filter: blur(1px);
}

.holo-line2:nth-child(1) {
  top: 0;
  left: 30px;
  width: 1.5px;
  height: 100%;
  animation: line-pulse 3s infinite alternate;
  animation-delay: -1s;
}

.holo-line2:nth-child(2) {
  top: 0;
  right: 30px;
  width: 1.5px;
  height: 100%;
  animation: line-pulse 3s infinite alternate;
  animation-delay: -1.5s;
}

.holo-line2:nth-child(3) {
  top: 15px;
  left: 0;
  width: 100%;
  height: 1.5px;
  animation: line-pulse 3s infinite alternate;
  animation-delay: -2s;
}

.holo-line2:nth-child(4) {
  bottom: 15px;
  left: 0;
  width: 100%;
  height: 1.5px;
  animation: line-pulse 3s infinite alternate;
  animation-delay: -2.5s;
}

.holo-line {
  position: absolute;
  background: rgba(255, 255, 255, 1);
  filter: blur(1px);
}

.holo-line:nth-child(1) {
  top: 0;
  left: 30px;
  width: 1.5px;
  height: 100%;
  animation: line-pulse 2s infinite alternate;
  animation-delay: -0.5s;
}

.holo-line:nth-child(2) {
  top: 0;
  right: 30px;
  width: 1.5px;
  height: 100%;
  animation: line-pulse 2s infinite alternate;
  animation-delay: -1s;
}

.holo-line:nth-child(3) {
  top: 15px;
  left: 0;
  width: 100%;
  height: 1.5px;
  animation: line-pulse 2s infinite alternate;
  animation-delay: -1.5s;
}

.holo-line:nth-child(4) {
  bottom: 15px;
  left: 0;
  width: 100%;
  height: 1.5px;
  animation: line-pulse 2s infinite alternate;
  animation-delay: -2s;
}

@keyframes line-pulse {
  0% {
    opacity: 0.3;
    background: rgba(240, 240, 240, 1);
  }
  100% {
    opacity: 0.7;
    background: rgba(255, 240, 240, 1);
  }
}

.scan-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 221, 255, 0.5) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 0, 222, 0.5) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  top: 0;
  left: 0;
  filter: blur(1px);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: scan 2s infinite;
}

@keyframes scan {
  0% {
    top: -5px;
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    top: 85px;
    opacity: 0;
  }
}

.holo-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.holo-particle {
  position: absolute;
  background: white;
  box-shadow: 0 0 10px rgba(0, 221, 255, 0.7);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  animation: particle-float 3s infinite ease-out;
}

.holo-particle:nth-child(1) {
  width: 3px;
  height: 3px;
  top: 70%;
  left: 30%;
  animation-delay: 0.2s;
}

.holo-particle:nth-child(2) {
  width: 2px;
  height: 2px;
  top: 60%;
  left: 40%;
  animation-delay: 0.5s;
}

.holo-particle:nth-child(3) {
  width: 4px;
  height: 4px;
  top: 80%;
  left: 60%;
  animation-delay: 0.8s;
}

.holo-particle:nth-child(4) {
  width: 2px;
  height: 2px;
  top: 70%;
  left: 70%;
  animation-delay: 1.1s;
}

.holo-particle:nth-child(5) {
  width: 3px;
  height: 3px;
  top: 75%;
  left: 50%;
  animation-delay: 1.4s;
}

.holo-particle:nth-child(6) {
  width: 2px;
  height: 2px;
  top: 65%;
  left: 65%;
  animation-delay: 1.7s;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-40px) rotate(360deg);
    opacity: 0;
  }
}

.button-hexagons {
  position: absolute;
  width: 380px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hexagon {
  position: absolute;
  width: 30px;
  height: 17.32px;
  background: transparent;
  border: 1.5px solid rgba(0, 221, 255, 0.3);
  transform: rotate(30deg);
  opacity: 0;
  animation: hexagon-pulse 3s infinite;
}

.hexagon::before,
.hexagon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: transparent;
  border: 1.5px solid rgba(0, 221, 255, 0.3);
}

.hexagon::before {
  transform: rotate(60deg);
}

.hexagon::after {
  transform: rotate(-60deg);
}

.hexagon:nth-child(1) {
  top: 20px;
  left: 20px;
  animation-delay: 0.1s;
}

.hexagon:nth-child(2) {
  top: 20px;
  right: 20px;
  animation-delay: 0.3s;
}

.hexagon:nth-child(3) {
  bottom: 20px;
  left: 20px;
  animation-delay: 0.5s;
}

.hexagon:nth-child(4) {
  bottom: 20px;
  right: 20px;
  animation-delay: 0.7s;
}

.hexagon:nth-child(5) {
  top: 50%;
  left: 0;
  transform: translate(0, -50%) rotate(30deg);
  animation-delay: 0.9s;
}

.hexagon:nth-child(6) {
  top: 50%;
  right: 0;
  transform: translate(0, -50%) rotate(30deg);
  animation-delay: 1.1s;
}

@keyframes hexagon-pulse {
  0% {
    opacity: 0;
    transform: rotate(30deg) scale(0.8);
  }
  20% {
    opacity: 0.5;
    transform: rotate(30deg) scale(1);
  }
  80% {
    opacity: 0.5;
    transform: rotate(30deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(30deg) scale(1.2);
  }
}

.digital-glyphs {
  position: absolute;
  width: 400px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.digital-glyph {
  position: absolute;
  color: rgba(0, 221, 255, 0.5);
  font-size: 10px;
  font-family: "Orbitron", monospace;
  white-space: nowrap;
  opacity: 0;
  animation: glyph-fade 4s infinite;
}

.digital-glyph:nth-child(1) {
  top: -30px;
  left: 60px;
  animation-delay: 0.2s;
}

.digital-glyph:nth-child(2) {
  top: -20px;
  right: 40px;
  animation-delay: 0.6s;
}

.digital-glyph:nth-child(3) {
  bottom: -30px;
  left: 80px;
  animation-delay: 1s;
}

.digital-glyph:nth-child(4) {
  bottom: -20px;
  right: 60px;
  animation-delay: 1.4s;
}

@keyframes glyph-fade {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

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

.corner-accent {
  position: absolute;
  width: 15px;
  height: 15px;
  border-style: solid;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.7);
}

.corner-accent:nth-child(1) {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.corner-accent:nth-child(2) {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.corner-accent:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.corner-accent:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.button-glitch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  animation: button-glitch 8s infinite;
}

@keyframes button-glitch {
  0%,
  100% {
    opacity: 0;
  }
  94%,
  96% {
    opacity: 0;
  }
  94.5% {
    opacity: 0.8;
    transform: translate(5px, -2px) skew(-5deg, 2deg);
    background: rgba(255, 0, 222, 0.2);
  }
  95% {
    opacity: 0.8;
    transform: translate(-5px, 2px) skew(5deg, -2deg);
    background: rgba(0, 221, 255, 0.2);
  }
  95.5% {
    opacity: 0.8;
    transform: translate(2px, 0) skew(-2deg, 0);
    background: rgba(255, 255, 255, 0.2);
  }
}

.sound-wave {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.wave-bar {
  width: 2px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 2px;
  border-radius: 1px;
  animation: wave-animation 1.5s infinite;
}

@keyframes wave-animation {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 15px;
  }
}

.wave-bar:nth-child(1) {
  animation-delay: 0.1s;
}
.wave-bar:nth-child(2) {
  animation-delay: 0.2s;
}
.wave-bar:nth-child(3) {
  animation-delay: 0.3s;
}
.wave-bar:nth-child(4) {
  animation-delay: 0.4s;
}
.wave-bar:nth-child(5) {
  animation-delay: 0.5s;
}
.wave-bar:nth-child(6) {
  animation-delay: 0.6s;
}
.wave-bar:nth-child(7) {
  animation-delay: 0.7s;
}
.wave-bar:nth-child(8) {
  animation-delay: 0.8s;
}
.wave-bar:nth-child(9) {
  animation-delay: 0.9s;
}
.wave-bar:nth-child(10) {
  animation-delay: 1s;
}
.wave-bar:nth-child(11) {
  animation-delay: 0.9s;
}
.wave-bar:nth-child(12) {
  animation-delay: 0.8s;
}
.wave-bar:nth-child(13) {
  animation-delay: 0.7s;
}
.wave-bar:nth-child(14) {
  animation-delay: 0.6s;
}
.wave-bar:nth-child(15) {
  animation-delay: 0.5s;
}

.holo-button:hover {
  color: rgb(255, 255, 255);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
  transition: all 0.2s ease;
}

.holo-button:hover .holo-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(0, 221, 255, 0.2) 40%,
    rgba(0, 0, 0, 0) 70%
  );
  animation: glow-pulse-hover 1.5s infinite alternate;
}

@keyframes glow-pulse-hover {
  0% {
    opacity: 0.6;
    filter: blur(10px) brightness(1);
  }
  100% {
    opacity: 0.9;
    filter: blur(15px) brightness(1.5);
  }
}

.holo-button:active {
  transform: scale(0.98);
  transition: all 0.1s ease;
}

.holo-button:active .holo-glow {
  opacity: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 0, 222, 0.3) 40%,
    rgba(0, 0, 0, 0) 70%
  );
}

.button-text {
  position: relative;
  z-index: 5;
  transform-style: preserve-3d;
  text-transform: uppercase;
}

//-------blockname input------------------//
.input-container {
  position: relative;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.input-field-container {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.holo-input {
  width: 100%;
  height: 60px;
  background: rgba(0, 12, 36, 0.7);
  border: none;
  outline: none;
  padding: 0 60px 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  box-shadow:
    0 0 15px rgba(0, 140, 255, 0.3),
    inset 0 0 10px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(0, 160, 255, 0.7);
  z-index: 1;
}

.holo-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.input-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: 1px solid rgba(0, 150, 255, 0.4);
  border-radius: 30px;
  z-index: 2;
}

.input-border::before,
.input-border::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 150, 255, 0.7);
  z-index: 2;
  transition: all 0.3s ease;
}

.input-border::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.input-border::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.holo-scan-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 150, 255, 0.5) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(0, 150, 255, 0.5) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  top: 0;
  left: 0;
  opacity: 0;
  filter: blur(1px);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.input-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 150, 255, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0;
  border-radius: 4px;
  z-index: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.input-active-indicator {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(0, 150, 255, 0.7);
  border-radius: 50%;
  right: 20px;
  top: 25px;
  opacity: 0.3;
  box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
  transition: all 0.3s ease;
  z-index: 2;
}

.input-label {
  position: absolute;
  top: -30px;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  pointer-events: none;
  text-shadow: 0 0 5px rgba(0, 150, 255, 0.5);
}

.input-data-visualization {
  position: absolute;
  width: calc(100% - 40px);
  height: 3px;
  bottom: 12px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.data-segment {
  width: 4%;
  height: 100%;
  background: rgba(0, 150, 255, 0.3);
  transition: all 0.5s ease;
}

.data-segment:nth-child(even) {
  height: 5px;
  transform: translateY(-1px);
}

.input-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  border-radius: 4px;
}

.input-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 150, 255, 0.7);
  border-radius: 50%;
  opacity: 0;
  filter: blur(1px);
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 150, 255, 0.7);
}

.input-holo-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    90deg,
    rgba(0, 150, 255, 0.05) 25%,
    rgba(0, 150, 255, 0.02) 50%,
    rgba(0, 150, 255, 0.05) 75%
  );
  background-size: 8px 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: overlay;
}

.interface-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.interface-line {
  position: absolute;
  background: rgba(0, 150, 255, 0.3);
  transition: all 0.3s ease;
}

.interface-line:nth-child(1) {
  width: 20px;
  height: 1px;
  top: 15px;
  right: 15px;
}

.interface-line:nth-child(2) {
  width: 1px;
  height: 20px;
  top: 15px;
  right: 15px;
}

.interface-line:nth-child(3) {
  width: 1px;
  height: 20px;
  bottom: 15px;
  left: 15px;
}

.interface-line:nth-child(4) {
  width: 20px;
  height: 1px;
  bottom: 15px;
  left: 15px;
}

.hex-decoration {
  position: absolute;
  width: 30px;
  height: 34px;
  background: transparent;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(0, 150, 255, 0.3);
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
  z-index: 2;
}

.input-status {
  position: absolute;
  bottom: -40px;
  right: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  text-transform: uppercase;
}

@keyframes scan-animation {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes data-pulse {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.8);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.holo-input:focus {
  background: rgba(0, 22, 46, 0.8);
  box-shadow:
    0 0 20px rgba(0, 150, 255, 0.4),
    inset 0 0 15px rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 1);
}

.holo-input:focus::placeholder {
  color: rgba(255, 255, 255, 0.3);
  transform: translateX(10px);
}

.holo-input:focus ~ .input-border {
  border-color: rgba(0, 180, 255, 0.7);
}

.holo-input:focus ~ .input-border::before,
.holo-input:focus ~ .input-border::after {
  border-color: rgba(0, 180, 255, 1);
  width: 30px;
  height: 30px;
}

.holo-input:focus ~ .holo-scan-line {
  opacity: 1;
  animation: scan-animation 2s infinite ease-in-out;
}

.holo-input:focus ~ .input-glow {
  opacity: 1;
}

.holo-input:focus ~ .input-active-indicator {
  opacity: 1;
  background: rgba(0, 200, 255, 1);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.7);
  transform: scale(1.2);
}

.holo-input:focus ~ .input-label {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
  transform: translateY(-5px);
}

.holo-input:focus ~ .input-data-visualization {
  opacity: 1;
}

.holo-input:focus ~ .input-data-visualization .data-segment {
  animation: data-pulse 2s infinite;
  animation-delay: calc(var(--index) * 0.1s);
}

.holo-input:focus ~ .input-status {
  opacity: 1;
}

.holo-input:focus ~ .interface-lines .interface-line {
  background: rgba(0, 200, 255, 0.6);
}

.holo-input:focus ~ .hex-decoration {
  border-color: rgba(0, 200, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
  transform: translateY(-50%) rotate(30deg);
}

.holo-input:focus ~ .input-particles .input-particle {
  opacity: 1;
  animation: particle-float 3s infinite ease-in-out;
  animation-delay: calc(var(--index) * 0.2s);
}

.holo-input:hover {
  background: rgba(0, 15, 40, 0.75);
}

.holo-input:hover ~ .input-active-indicator {
  opacity: 0.6;
}

.holo-input:hover ~ .hex-decoration {
  border-color: rgba(0, 180, 255, 0.5);
}

.power-indicator {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 180, 255, 0.7) 0%,
    rgba(0, 180, 255, 0.3) 100%
  );
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 3;
}

.holo-input:focus ~ .power-indicator {
  transform: scaleX(1);
}

.input-decoration {
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.decoration-dot {
  width: 4px;
  height: 4px;
  background: rgba(0, 150, 255, 0.7);
  border-radius: 50%;
  margin: 3px 0;
}

.decoration-line {
  width: 15px;
  height: 1px;
  background: rgba(0, 150, 255, 0.5);
  margin: 3px 0;
}

.holo-input:focus ~ .input-decoration {
  opacity: 1;
  transform: translateY(-50%) translateX(-5px);
}

.holo-input:focus ~ .input-decoration .decoration-dot {
  background: rgba(0, 200, 255, 1);
  box-shadow: 0 0 5px rgba(0, 200, 255, 0.7);
}

.holo-input:focus ~ .input-decoration .decoration-line {
  background: rgba(0, 200, 255, 0.7);
  box-shadow: 0 0 3px rgba(0, 200, 255, 0.5);
}

@keyframes shake {
  0% {
    margin-left: 0rem;
  }
  25% {
    margin-left: 0.5rem;
  }
  75% {
    margin-left: -0.5rem;
  }
  100% {
    margin-left: 0rem;
  }
}

.shake{
  animation: shake 0.2s ease-in-out 0s 2;
}

input:invalid {
  animation: shake 0.2s ease-in-out 0s 2;
  box-shadow: 0 0 0.9rem #ff0000;
}