/* Additional Modern Effects for Banner */

/* Light Rays Effect */
.banner-enhanced__light-rays {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 4;
  will-change: transform;
}

.banner-enhanced__ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(24, 172, 227, 0.4) 50%,
    transparent 100%
  );
  transform-origin: top center;
  opacity: 0;
  animation: rayPulse 4s ease-in-out infinite;
  will-change: opacity, height;
}

.banner-enhanced__ray:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg);
  animation-delay: 0s;
}

.banner-enhanced__ray:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
  animation-delay: 0.5s;
}

.banner-enhanced__ray:nth-child(3) {
  transform: translate(-50%, -50%) rotate(90deg);
  animation-delay: 1s;
}

.banner-enhanced__ray:nth-child(4) {
  transform: translate(-50%, -50%) rotate(135deg);
  animation-delay: 1.5s;
}

.banner-enhanced__ray:nth-child(5) {
  transform: translate(-50%, -50%) rotate(180deg);
  animation-delay: 2s;
}

.banner-enhanced__ray:nth-child(6) {
  transform: translate(-50%, -50%) rotate(225deg);
  animation-delay: 2.5s;
}

.banner-enhanced__ray:nth-child(7) {
  transform: translate(-50%, -50%) rotate(270deg);
  animation-delay: 3s;
}

.banner-enhanced__ray:nth-child(8) {
  transform: translate(-50%, -50%) rotate(315deg);
  animation-delay: 3.5s;
}

@keyframes rayPulse {
  0%, 100% {
    opacity: 0;
    height: 150px;
  }
  50% {
    opacity: 0.6;
    height: 250px;
  }
}

/* Hexagon Pattern Background */
.banner-enhanced__hexagon-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(24, 172, 227, 0.1) 50px, rgba(24, 172, 227, 0.1) 51px),
    repeating-linear-gradient(60deg, transparent, transparent 50px, rgba(24, 172, 227, 0.1) 50px, rgba(24, 172, 227, 0.1) 51px),
    repeating-linear-gradient(120deg, transparent, transparent 50px, rgba(24, 172, 227, 0.1) 50px, rgba(24, 172, 227, 0.1) 51px);
  z-index: 1;
  animation: hexagonMove 20s linear infinite;
  will-change: transform;
}

@keyframes hexagonMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* Digital Scan Line Effect */
.banner-enhanced__scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(24, 172, 227, 0.8) 50%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(24, 172, 227, 0.8);
  animation: scanLine 8s linear infinite;
  z-index: 8;
  pointer-events: none;
  will-change: top, opacity;
}

@keyframes scanLine {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Glowing Orbs around Shield */
.banner-enhanced__orb {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #18ace3;
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(24, 172, 227, 1),
    0 0 40px rgba(24, 172, 227, 0.6);
  z-index: 6;
  will-change: transform, opacity;
}

.banner-enhanced__orb:nth-child(1) {
  top: 20%;
  right: 15%;
  animation: orbFloat1 6s ease-in-out infinite;
}

.banner-enhanced__orb:nth-child(2) {
  top: 40%;
  right: 5%;
  animation: orbFloat2 7s ease-in-out infinite;
}

.banner-enhanced__orb:nth-child(3) {
  top: 60%;
  right: 18%;
  animation: orbFloat3 8s ease-in-out infinite;
}

.banner-enhanced__orb:nth-child(4) {
  top: 80%;
  right: 10%;
  animation: orbFloat4 6.5s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-20px, -30px);
    opacity: 1;
  }
}

@keyframes orbFloat2 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate(15px, -25px);
    opacity: 1;
  }
}

@keyframes orbFloat3 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-25px, 20px);
    opacity: 1;
  }
}

@keyframes orbFloat4 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(20px, 15px);
    opacity: 1;
  }
}

/* Data Stream Effect */
.banner-enhanced__data-stream {
  position: absolute;
  top: 0;
  right: 20%;
  width: 1px;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.banner-enhanced__data-bit {
  position: absolute;
  left: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(24, 172, 227, 0.8),
    transparent
  );
  animation: dataBitFlow 3s linear infinite;
}

.banner-enhanced__data-stream:nth-of-type(2) {
  right: 25%;
}

.banner-enhanced__data-stream:nth-of-type(2) .banner-enhanced__data-bit {
  animation-delay: 1s;
}

.banner-enhanced__data-stream:nth-of-type(3) {
  right: 30%;
}

.banner-enhanced__data-stream:nth-of-type(3) .banner-enhanced__data-bit {
  animation-delay: 2s;
}

@keyframes dataBitFlow {
  0% {
    top: -40px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Responsive adjustments for additional effects */
@media screen and (max-width: 992px) {
  .banner-enhanced__light-rays {
    width: 400px;
    height: 400px;
  }

  .banner-enhanced__ray {
    height: 150px;
  }

  .banner-enhanced__hexagon-pattern {
    opacity: 0.02;
  }
}

@media screen and (max-width: 768px) {
  .banner-enhanced__light-rays,
  .banner-enhanced__hexagon-pattern,
  .banner-enhanced__orb,
  .banner-enhanced__data-stream {
    display: none;
  }

  .banner-enhanced__scan-line {
    opacity: 0.5;
  }
}
