/* Plugin Navideño Carsturismo - Estilos CSS */
.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, 
        #ff0000, #ffff00, #00ff00, #00ffff, 
        #0000ff, #ff00ff, #ff0000);
    background-size: 200% 100%;
    animation: christmasLightsMove 3s linear infinite;
    z-index: 9998;
    pointer-events: none;
}

@keyframes christmasLightsMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.christmas-message {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #e74c3c, #e67e22);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.5);
    animation: christmasPulse 2s infinite;
    text-align: center;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes christmasPulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Contenedores de efectos */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9990;
}

#decoration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9991;
}

/* Elementos navideños */
.snowflake {
    position: absolute;
    color: white;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
    animation: snowFall linear forwards;
    user-select: none;
    opacity: 0.8;
}

.christmas-element {
    position: absolute;
    user-select: none;
    animation: christmasFloat 6s ease-in-out infinite;
    z-index: 9991;
}

@keyframes snowFall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

@keyframes christmasFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

/* Panel de control */
.christmas-control-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
}

.christmas-control-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.christmas-control-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.christmas-control-btn.active {
    background: #27ae60;
}

/* Shortcode styles */
.christmas-shortcode-message {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    border-left: 4px solid #e74c3c;
}

.christmas-type-info {
    background: linear-gradient(45deg, #3498db, #9b59b6);
    color: white;
}

.christmas-type-warning {
    background: linear-gradient(45deg, #e67e22, #e74c3c);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .christmas-message {
        font-size: 12px;
        padding: 8px 16px;
        top: 10px;
    }
    
    .christmas-control-panel {
        bottom: 10px;
        right: 10px;
    }
    
    .christmas-control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .christmas-lights {
        height: 6px;
    }
}

/* Evitar conflicto con admin bar */
.admin-bar .christmas-message {
    top: 45px;
}

@media (max-width: 782px) {
    .admin-bar .christmas-message {
        top: 65px;
    }
}