
body {
    background-color: #021e0e;
    color: #e5e7eb;
}

#bg-scroll-away {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -50;
    background: url('../image/fondo.webp') no-repeat center top;
    background-size: cover;
    pointer-events: none;
}

@keyframes runeFloat {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-15px) scale(1.1); opacity: 0.7; }
    100% { transform: translateY(0) scale(1); opacity: 0.4; }
}

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

@keyframes sparklePulse {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
}

.rune-animate {
    animation: runeFloat 8s ease-in-out infinite;
}

.rune-spin {
    animation: runeSpin 60s linear infinite;
}

.rune-sparkle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(192,0,0,0.4) 0%, rgba(255,215,0,0.1) 40%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: sparklePulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* --- New Premium Components --- */

/* Parchment Box (News) */
.parchment-box {
    background: #e3dac9;
    background-image: url('https://www.transparenttextures.com/patterns/aged-paper.webp'); /* Fallback or local texture */
    color: #3e2723;
    border: 1px solid #d7ccc8;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    border-radius: 2px;
}
.parchment-box::before, .parchment-box::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 20px;
    background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}
.parchment-box::before { left: 0; }
.parchment-box::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.1), transparent); }

.parchment-title {
    font-family: 'Philosopher', serif;
    color: #8d6e63;
    border-bottom: 2px solid #8d6e63;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}
.luces-navidad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none; /* Permite hacer clic en la web sin que las luces estorben */
  z-index: 9999;
  display: flex;
  justify-content: space-around;
}

.luz {
  width: 15px;
  height: 15px;
  background-color: #ff0000; /* Color inicial de la luz */
  border-radius: 50%;
  box-shadow: 0px 5px 15px 5px #ff0000;
  animation: parpadeo 1.5s infinite alternate;
}

/* Colores variados para las luces */
.luz:nth-child(1) { background-color: #ff0000; box-shadow: 0px 5px 15px 5px #ff0000; animation-delay: 0s; }
.luz:nth-child(2) { background-color: #00ff00; box-shadow: 0px 5px 15px 5px #00ff00; animation-delay: 0.3s; }
.luz:nth-child(3) { background-color: #0088ff; box-shadow: 0px 5px 15px 5px #0088ff; animation-delay: 0.7s; }
.luz:nth-child(4) { background-color: #ffff00; box-shadow: 0px 5px 15px 5px #ffff00; animation-delay: 1.2s; }
.luz:nth-child(5) { background-color: #ff00ff; box-shadow: 0px 5px 15px 5px #ff00ff; animation-delay: 0.5s; }

/* Efecto de encendido y apagado */
@keyframes parpadeo {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

