/* ==========================================================================
   INNOVERSE OFFICIAL WEBSITE - INTERACTIVE BAB-E-SYED GATE WEB STYLESHEET
   Controls: Canvas wrapping, positioning, HUD scientific labels, and pulsing hints
   ========================================================================== */

#gate-canvas-wrap {
  width: 100%;
  max-width: 500px;
  height: 500px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0 auto;
}

#gate-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

#gate-label {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #ff9933; /* Orange color matching Bab-e-Syed sandstone theme */
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.9;
  user-select: none;
  pointer-events: none;
  font-family: 'Courier New', monospace;
  z-index: 5;
  text-align: left;
}

#gate-label span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: #44ff66; /* Green color matching Bab-e-Syed accent theme */
  margin-top: 5px;
}

#gate-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 150, 50, 0.45);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  animation: gateHintPulse 3s ease-in-out infinite;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  z-index: 5;
}

.gate-motto {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ff9933; /* Matching the orange sandstone accent color */
  text-shadow: 0 0 10px rgba(255, 153, 51, 0.6);
  margin-top: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

@keyframes gateHintPulse {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.75;
  }
}

/* Premium Floating Gate Container */
.about-right-side .hero-art-container {
  animation: floatUpDown 4s ease-in-out infinite;
}

/* Pulsing orange shadow under the gate */
.gate-shadow {
  width: 280px;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(255, 150, 50, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 10px;
  filter: blur(12px);
  z-index: 1;
  animation: gateShadowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* Shadow scale and opacity changes mapped to floating cycle */
@keyframes gateShadowPulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.3;
    filter: blur(14px);
  }
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
}
