/* ===== DECORACIÓN HALLOWEEN ELEGANTE - PRACTICATUPRUEBA.CL ===== */

/* Banner Halloween Elegante */
.halloween-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #D81324 30%, #2c1810 70%, #1a1a1a 100%);
    color: #f5f5f5;
    text-align: center;
    padding: 14px 0;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(216, 19, 36, 0.3);
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

.halloween-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
    animation: elegantShine 6s infinite;
}

@keyframes subtleGlow {
    0% { box-shadow: inset 0 0 20px rgba(216, 19, 36, 0.2); }
    100% { box-shadow: inset 0 0 30px rgba(255, 140, 0, 0.15), 0 2px 10px rgba(0,0,0,0.1); }
}

@keyframes elegantShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Elementos flotantes elegantes */
.halloween-floating {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    font-size: 18px;
    opacity: 0.4;
    filter: drop-shadow(0 0 3px rgba(255, 140, 0, 0.3));
}

.halloween-pumpkin {
    color: #ff8c00;
    animation: elegantFloat 12s ease-in-out infinite;
}

.halloween-bat {
    color: #4a4a4a;
    animation: subtleFly 10s ease-in-out infinite;
}

.halloween-web {
    color: #666;
    animation: webSway 8s ease-in-out infinite;
}

@keyframes elegantFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-15px) rotate(2deg); opacity: 0.5; }
}

@keyframes subtleFly {
    0%, 100% { transform: translateX(0px) translateY(0px); opacity: 0.2; }
    50% { transform: translateX(10px) translateY(-10px); opacity: 0.4; }
}

@keyframes webSway {
    0%, 100% { transform: rotate(0deg); opacity: 0.3; }
    50% { transform: rotate(3deg); opacity: 0.5; }
}

/* Efectos hover elegantes */
.halloween-hover:hover {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2) !important;
    border-color: rgba(255, 140, 0, 0.3) !important;
}

.btn.halloween-hover:hover {
    background: linear-gradient(135deg, #D81324 0%, #ff8c00 100%) !important;
    transform: translateY(-1px);
}

/* Bruma elegante */
.halloween-mist {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(216, 19, 36, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: elegantMist 25s ease-in-out infinite;
}

@keyframes elegantMist {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* Sombras elegantes para cards */
.halloween-card-shadow {
    transition: all 0.4s ease;
}

.halloween-card-shadow:hover {
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.1),
        0 0 15px rgba(255, 140, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Luces naranjas sutiles */
.halloween-glow {
    animation: subtleOrangeGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleOrangeGlow {
    0% { 
        text-shadow: 0 0 5px rgba(255, 140, 0, 0.3);
        color: inherit;
    }
    100% { 
        text-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
        color: #ff8c00;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .halloween-banner {
        font-size: 14px;
        padding: 10px 5px;
    }
    
    .halloween-floating {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .halloween-banner {
        font-size: 12px;
        padding: 8px 5px;
    }
    
    .halloween-floating {
        font-size: 18px;
    }
}

/* Overlays de Halloween */
.halloween-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.3;
}

.halloween-fog-overlay {
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(139, 69, 19, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 60%);
    animation: fogDrift 30s ease-in-out infinite;
}

.halloween-particles {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 140, 0, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(216, 19, 36, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 140, 0, 0.5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(139, 69, 19, 0.4), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: particleFloat 20s linear infinite;
}

@keyframes fogDrift {
    0%, 100% { transform: translateX(0px) scale(1); opacity: 0.2; }
    50% { transform: translateX(20px) scale(1.1); opacity: 0.4; }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(-100px) translateX(50px); }
}

/* Efectos de luz parpadeante */
.halloween-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    background: 
        radial-gradient(circle at 15% 15%, rgba(255, 140, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 85% 25%, rgba(216, 19, 36, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 25% 85%, rgba(255, 140, 0, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(139, 69, 19, 0.1) 0%, transparent 20%);
    animation: lightsPulse 4s ease-in-out infinite alternate;
}

@keyframes lightsPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Telarañas en esquinas */
.halloween-web-corner {
    position: fixed;
    pointer-events: none;
    z-index: 15;
    opacity: 0.4;
    font-size: 48px;
    color: #666;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

.web-top-left {
    top: 10px;
    left: 10px;
    animation: webSway 6s ease-in-out infinite;
}

.web-top-right {
    top: 10px;
    right: 10px;
    animation: webSway 8s ease-in-out infinite reverse;
}

/* Asegurar que no afecte la funcionalidad */
.halloween-floating,
.halloween-mist,
.halloween-overlay,
.halloween-lights,
.halloween-web-corner {
    pointer-events: none !important;
}