.quantum-lock-container {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  position: relative;
  perspective: 1200px;
}

.quantum-lock {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: quantumFloat 8s ease-in-out infinite;
}

.quantum-lock-body {
  width: 100px;
  height: 100px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 0 20px rgba(102, 126, 234, 0.3);
  backdrop-filter: blur(10px);
  animation: glassShimmer 6s ease-in-out infinite;
}

.quantum-combination-dial {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.quantum-dial-1 {
  width: 35px;
  height: 35px;
  top: 15px;
  left: 50%;
  transform-origin: center center;
  animation: dialRotate1 3s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.quantum-dial-2 {
  width: 35px;
  height: 35px;
  top: 50%;
  left: 15px;
  transform-origin: center center;
  animation: dialRotate2 4s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(78, 205, 196, 0.2) 0%, rgba(78, 205, 196, 0.1) 100%);
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.quantum-dial-3 {
  width: 35px;
  height: 35px;
  top: 50%;
  right: 15px;
  transform-origin: center center;
  animation: dialRotate3 3.5s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(69, 183, 209, 0.2) 0%, rgba(69, 183, 209, 0.1) 100%);
  box-shadow: 0 4px 16px rgba(69, 183, 209, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.quantum-dial-4 {
  width: 35px;
  height: 35px;
  bottom: 15px;
  left: 50%;
  transform-origin: center center;
  animation: dialRotate4 5s ease-in-out infinite;
  background: linear-gradient(145deg, rgba(253, 121, 168, 0.2) 0%, rgba(253, 121, 168, 0.1) 100%);
  box-shadow: 0 4px 16px rgba(253, 121, 168, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.quantum-center-dial {
  width: 45px;
  height: 45px;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  animation: centerRotate 6s linear infinite;
  background: linear-gradient(145deg, rgba(162, 155, 254, 0.3) 0%, rgba(108, 92, 231, 0.2) 100%);
  box-shadow: 0 6px 24px rgba(162, 155, 254, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  font-size: 14px;
  z-index: 5;
}

.quantum-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}

.quantum-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.ring-1 {
  width: 120px;
  height: 120px;
  border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4) 1;
  animation: ringRotate1 12s linear infinite;
}

.ring-2 {
  width: 140px;
  height: 140px;
  border-image: linear-gradient(45deg, #a29bfe, #fd79a8, #fdcb6e, #e17055) 1;
  animation: ringRotate2 15s linear infinite reverse;
}

.ring-3 {
  width: 160px;
  height: 160px;
  border-image: linear-gradient(45deg, #ffeaa7, #fab1a0, #6c5ce7, #00b894) 1;
  animation: ringRotate3 18s linear infinite;
}

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

.quantum-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  animation: particleOrbit 8s linear infinite;
}

.quantum-particle:nth-child(1) {
  background: #ff6b6b;
  animation-delay: 0s;
  animation-duration: 6s;
}

.quantum-particle:nth-child(2) {
  background: #4ecdc4;
  animation-delay: 1s;
  animation-duration: 7s;
}

.quantum-particle:nth-child(3) {
  background: #45b7d1;
  animation-delay: 2s;
  animation-duration: 8s;
}

.quantum-particle:nth-child(4) {
  background: #fd79a8;
  animation-delay: 3s;
  animation-duration: 9s;
}

.quantum-particle:nth-child(5) {
  background: #a29bfe;
  animation-delay: 4s;
  animation-duration: 10s;
}

.quantum-particle:nth-child(6) {
  background: #ffeaa7;
  animation-delay: 5s;
  animation-duration: 11s;
}

.quantum-glass-reflection {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 60px;
  height: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  border-radius: 15px;
  animation: reflectionShimmer 4s ease-in-out infinite;
}

.header-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(162, 155, 254, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 5s ease-in-out infinite;
}

header h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  position: relative;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4ecdc4 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: quantumTextFlow 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 60px rgba(118, 75, 162, 0.6), 0 0 90px rgba(240, 147, 251, 0.4);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-pulse {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #4ecdc4, #45b7d1);
  border-radius: 50%;
  margin-left: 10px;
  animation: quantumDot 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.8), 0 0 40px rgba(69, 183, 209, 0.6);
}

header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  position: relative;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(78, 205, 196, 0.9) 50%, rgba(255, 255, 255, 0.9) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: subtitleShimmer 3s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(78, 205, 196, 0.3);
}

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

.text-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #4ecdc4;
  border-radius: 50%;
  animation: textParticleFloat 6s linear infinite;
  opacity: 0.7;
}

.text-particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  background: #ff6b6b;
}

.text-particle:nth-child(2) {
  left: 30%;
  animation-delay: 1s;
  background: #4ecdc4;
}

.text-particle:nth-child(3) {
  left: 50%;
  animation-delay: 2s;
  background: #45b7d1;
}

.text-particle:nth-child(4) {
  left: 70%;
  animation-delay: 3s;
  background: #fd79a8;
}

.text-particle:nth-child(5) {
  left: 90%;
  animation-delay: 4s;
  background: #a29bfe;
}

.header-underline {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #667eea 25%, #764ba2 50%, #f093fb 75%, transparent 100%);
  position: relative;
  animation: underlineQuantum 4s ease-in-out infinite;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.6), 0 2px 8px rgba(118, 75, 162, 0.4);
  margin-top: 20px;
  margin-bottom: 20px;
}

.header-underline::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 147, 251, 0.5) 25%, rgba(245, 87, 108, 0.5) 50%, rgba(78, 205, 196, 0.5) 75%, transparent 100%);
  border-radius: 3px;
  animation: underlineGlow2 3s ease-in-out infinite;
}

.header-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
  animation: underlineSweep 2s ease-in-out infinite;
}
#three-d-header {
    position: relative;
    width: 100%;
    height: 150px;
    z-index: 1;
    pointer-events: none;
    margin: 20px 0;
}


.three-d-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    width: 400px;
    height: 80px;
}

.glass-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(0, 255, 255, 0.1) 50%,
        rgba(255, 0, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: glassFloat 6s ease-in-out infinite;
}

@keyframes glassFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) rotateX(2deg);
        opacity: 1;
    }
}

@keyframes quantumFloat {

  0%,
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }

  25% {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
  }

  50% {
    transform: translateY(-12px) rotateX(0deg) rotateY(10deg);
  }

  75% {
    transform: translateY(-8px) rotateX(-5deg) rotateY(5deg);
  }
}

@keyframes glassShimmer {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 0 20px rgba(102, 126, 234, 0.3);
  }

  50% {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), inset 0 4px 8px rgba(255, 255, 255, 0.2), 0 0 30px rgba(162, 155, 254, 0.5);
  }
}

@keyframes dialRotate1 {
  0% {
    transform: translateX(-50%) rotate(0deg) scale(1);
  }

  25% {
    transform: translateX(-50%) rotate(90deg) scale(1.1);
  }

  50% {
    transform: translateX(-50%) rotate(180deg) scale(1);
  }

  75% {
    transform: translateX(-50%) rotate(270deg) scale(1.1);
  }

  100% {
    transform: translateX(-50%) rotate(360deg) scale(1);
  }
}

@keyframes dialRotate2 {
  0% {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }

  33% {
    transform: translateY(-50%) rotate(120deg) scale(1.1);
  }

  66% {
    transform: translateY(-50%) rotate(240deg) scale(1.1);
  }

  100% {
    transform: translateY(-50%) rotate(360deg) scale(1);
  }
}

@keyframes dialRotate3 {
  0% {
    transform: translateY(-50%) rotate(360deg) scale(1);
  }

  25% {
    transform: translateY(-50%) rotate(270deg) scale(1.1);
  }

  50% {
    transform: translateY(-50%) rotate(180deg) scale(1);
  }

  75% {
    transform: translateY(-50%) rotate(90deg) scale(1.1);
  }

  100% {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
}

@keyframes dialRotate4 {
  0% {
    transform: translateX(-50%) rotate(0deg) scale(1);
  }

  20% {
    transform: translateX(-50%) rotate(72deg) scale(1.1);
  }

  40% {
    transform: translateX(-50%) rotate(144deg) scale(1);
  }

  60% {
    transform: translateX(-50%) rotate(216deg) scale(1.1);
  }

  80% {
    transform: translateX(-50%) rotate(288deg) scale(1);
  }

  100% {
    transform: translateX(-50%) rotate(360deg) scale(1);
  }
}

@keyframes centerRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  25% {
    transform: translate(-50%, -50%) rotate(90deg) scale(1.1);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1);
  }

  75% {
    transform: translate(-50%, -50%) rotate(270deg) scale(1.1);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes ringRotate1 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ringRotate2 {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes ringRotate3 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes particleOrbit {
  0% {
    transform: rotate(0deg) translateX(80px) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: rotate(360deg) translateX(80px) rotate(-360deg);
    opacity: 0.3;
  }
}

@keyframes reflectionShimmer {

  0%,
  100% {
    opacity: 0.3;
    transform: translateX(0px);
  }

  50% {
    opacity: 0.6;
    transform: translateX(5px);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translateX(-50%) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes quantumTextFlow {
  0% {
    background-position: 0% 50%;
    transform: translateY(0px);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) hue-rotate(0deg);
  }

  25% {
    background-position: 50% 50%;
    transform: translateY(-2px);
    filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.5)) hue-rotate(90deg);
  }

  50% {
    background-position: 100% 50%;
    transform: translateY(0px);
    filter: drop-shadow(0 0 30px rgba(240, 147, 251, 0.6)) hue-rotate(180deg);
  }

  75% {
    background-position: 50% 50%;
    transform: translateY(-2px);
    filter: drop-shadow(0 0 25px rgba(78, 205, 196, 0.5)) hue-rotate(270deg);
  }

  100% {
    background-position: 0% 50%;
    transform: translateY(0px);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) hue-rotate(360deg);
  }
}

@keyframes quantumDot {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.8), 0 0 40px rgba(69, 183, 209, 0.6);
  }

  50% {
    transform: scale(1.3) rotate(180deg);
    box-shadow: 0 0 30px rgba(240, 147, 251, 0.9), 0 0 60px rgba(245, 87, 108, 0.7);
  }
}

@keyframes subtitleShimmer {
  0% {
    background-position: -200% 0;
    transform: translateY(0px);
  }

  50% {
    background-position: 200% 0;
    transform: translateY(-1px);
  }

  100% {
    background-position: -200% 0;
    transform: translateY(0px);
  }
}

@keyframes textParticleFloat {
  0% {
    transform: translateY(100px) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.7;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }

  90% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes underlineQuantum {

  0%,
  100% {
    transform: scaleX(1);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6), 0 2px 8px rgba(118, 75, 162, 0.4);
  }

  50% {
    transform: scaleX(1.05);
    box-shadow: 0 0 25px rgba(240, 147, 251, 0.8), 0 3px 12px rgba(245, 87, 108, 0.6);
  }
}

@keyframes underlineGlow2 {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 0.8;
    transform: scaleY(1.2);
  }
}

@keyframes underlineSweep {
  0% {
    left: -20px;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

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

.quantum-dial-number {
  font-size: 10px;
  animation: numberChange 2s ease-in-out infinite;
}

@keyframes numberChange {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.brand-text {
  text-align: left;
}

.quantum-lock-container {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .brand-text {
    text-align: center;
  }
}