/* MAXIMUMER [千][卂][几][匚][ㄚ] Shrine Styles */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Unica+One&display=swap');

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
}

.cosmic-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #0a001f 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  z-index: 0;
}

.deep-space {
  position: absolute;
  width: 500%;
  height: 500%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 30px 30px;
  animation: driftStars 160s linear infinite;
  opacity: 0.1;
  z-index: 0;
}

@keyframes driftStars {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

.fractal-rings {
  position: absolute;
  width: 700px;
  height: 700px;
  border: 4px double #0ff;
  border-radius: 50%;
  animation: spinFractals 20s linear infinite;
  filter: drop-shadow(0 0 15px #ff00ff);
  opacity: 0.2;
  z-index: 1;
}

@keyframes spinFractals {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.glitch-veil {
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, #00000011, #00000011 2px, transparent 2px, transparent 4px);
  animation: glitchScroll 0.5s steps(1, end) infinite;
  z-index: 2;
  opacity: 0.05;
}

@keyframes glitchScroll {
  from { background-position: 0 0; }
  to { background-position: 0 4px; }
}

.main-shrine {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aura-pulse {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: auraPulse 3s ease-out infinite;
  z-index: -1;
}

@keyframes auraPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.hyperglyph {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 3px dashed #f0f;
  border-radius: 50%;
  animation: hyperRotate 15s linear infinite reverse;
  opacity: 0.3;
  z-index: 1;
}

@keyframes hyperRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sigil-chamber {
  position: relative;
  padding: 60px;
  border: 3px solid #ffffff22;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 18px;
  box-shadow:
    0 0 30px #fff,
    0 0 60px #0ff,
    0 0 80px #f0f,
    inset 0 0 20px #000;
  backdrop-filter: blur(14px);
  z-index: 3;
}

.sigil-chamber img {
  display: block;
  margin: 0 auto;
  max-width: 100px;
  max-height: 100px;
  image-rendering: pixelated;
}

.caption {
  margin-top: 20px;
  font-family: 'Unica One', cursive;
  font-size: 1.5rem;
  text-align: center;
  color: #ffccff;
  text-shadow: 0 0 10px #ff00cc, 0 0 20px #00ffff, 0 0 40px #ffffff;
  animation: captionGlow 3s ease-in-out infinite;
}

@keyframes captionGlow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}
