:root {
  --bg-black: #060606;
  --bg-black-2: #0d0d0d;
  --yellow: #f5c518;
  --yellow-glow: #ffdd55;
  --gray-dark: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: radial-gradient(ellipse at center, var(--bg-black-2) 0%, var(--bg-black) 70%);
  color: var(--yellow);
  font-family: 'Cinzel', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow-x: hidden;
  position: relative;
  padding: 24px 16px;
}

/* Imagen de fondo desenfocada, detrás de todo el contenido */
.bg-image {
  position: fixed;
  inset: 0;
  background-image: url('img/background.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.5);
  transform: scale(1.1);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

/* Bat-signal glow sweeping across the background */
.bat-signal {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 50% 20%, rgba(245, 197, 24, 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
  animation: sweep 12s ease-in-out infinite;
}

@keyframes sweep {
  0%, 100% { background-position: 20% 10%; }
  50% { background-position: 80% 30%; }
}

/* Dark vignette to sell the gothic feel */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 200px 60px rgba(0, 0, 0, 0.9);
}

/* Vapor/niebla que sube desde el borde inferior hasta la mitad de la pantalla */
.fog {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60vh;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.fog-layer {
  position: absolute;
  left: -15%;
  width: 130%;
  height: 100%;
  bottom: -30%;
  filter: blur(18px);
  opacity: 0;
  mix-blend-mode: screen;
  animation: fog-rise 9s ease-in infinite;
}

.fog-layer.layer-1 {
  background:
    radial-gradient(ellipse 55% 40% at 25% 100%, rgba(225, 220, 205, 0.65), transparent 70%),
    radial-gradient(ellipse 45% 35% at 75% 100%, rgba(225, 220, 205, 0.6), transparent 70%);
  animation-duration: 8s;
}

.fog-layer.layer-2 {
  background: radial-gradient(ellipse 60% 45% at 50% 100%, rgba(205, 205, 195, 0.6), transparent 70%);
  animation-duration: 11s;
  animation-delay: -3.5s;
}

.fog-layer.layer-3 {
  background: radial-gradient(ellipse 70% 35% at 40% 100%, rgba(235, 230, 215, 0.55), transparent 70%);
  animation-duration: 13s;
  animation-delay: -7s;
}

@keyframes fog-rise {
  0% {
    transform: translateY(15%) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  55% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-70%) scale(1.2);
    opacity: 0;
  }
}

.store-header {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.bat-icon svg {
  width: 90px;
  height: auto;
  fill: var(--gray-dark);
  filter: drop-shadow(0 0 12px rgba(245, 197, 24, 0.25));
}

.store-name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  letter-spacing: 6px;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
}

.main-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.under-construction {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  letter-spacing: 3px;
  color: var(--yellow);
  text-shadow:
    0 0 10px var(--yellow-glow),
    0 0 20px rgba(245, 197, 24, 0.6),
    0 0 40px rgba(245, 197, 24, 0.4),
    3px 3px 0 #000;
  transform: rotate(-3deg);
  transition: opacity 0.08s ease, text-shadow 0.08s ease;
}

.subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: #c9a227;
  letter-spacing: 2px;
  max-width: 32ch;
}

.store-footer {
  position: relative;
  z-index: 3;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: #6b5a12;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.catalog-link {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #000;
  background: var(--yellow);
  padding: 8px 22px;
  text-decoration: none;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-2deg);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.catalog-link:hover {
  transform: rotate(-2deg) translate(-1px, -1px);
  box-shadow: 6px 6px 0 #000;
}
